---
title: "Convert Markdown (headings, tables, lists, code) to a print-ready PDF with Korean font support. Returns file_base64"
method: POST
path: "/api/markdown-to-pdf"
tags: ["PDF"]
---

# Convert Markdown (headings, tables, lists, code) to a print-ready PDF with Korean font support. Returns file_base64

`POST /api/markdown-to-pdf`

## Request

- Base URL: `https://toolsthatdontupload.com`
- URL: `https://toolsthatdontupload.com/api/markdown-to-pdf`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Request body

- object
  - `markdown` string, required
  - `title` string
  - `format` 'A4' | 'A3' | 'A5' | 'Letter' | 'Legal'
  - `landscape` boolean
  - `filename` string

## Response `200`

PDF file (application/pdf)

## Other responses

- `400`: Invalid input (problem+json)
- `429`: Anonymous daily limit reached (file tier: 20/day per IP)

---

[API](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api.md) · [All operations](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/revisions/fc4cea318919?raw)
