Skip to content
POST /api/v1/markdown-to-pdf

Markdown to PDF Converter

Paste Markdown content to generate a downloadable PDF. Supports GitHub Flavored Markdown including tables, strikethrough, task lists, and fenced code blocks. Customize page size, orientation, and margins.

string required
advanced options
string
string
string

e.g. 10mm, 1in, 2cm

string

Shown in PDF metadata and as heading

X-Sandbox-Remaining: - get an api key

returns

body
The rendered PDF, served as application/pdf.
response awaiting request sending
Fill in the fields and send a request. The response lands here.

Run it from your code

A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.

$ curl -sX POST "https://apixies.io/api/v1/markdown-to-pdf" \
    -H "X-API-Key: $APIXIES_KEY" \
    -H "Content-Type: application/json" \
    -d '{"markdown":"..."}'

questions

What Markdown features are supported?

Standard Markdown plus GitHub Flavored Markdown extensions: tables, strikethrough (~~text~~), task lists (- [x] done), fenced code blocks, and more.

Can I set a custom title?

Yes. The title parameter adds a centered heading at the top of the first page and sets the PDF metadata title.

What margin formats work?

You can use millimeters (20mm), centimeters (2cm), inches (1in), or pixels (50px). The margin applies to all four sides equally.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy