MintPDF HTML & Markdown → PDF API · MCP native APIFree converterGuides GET A FREE KEY

JSON to PDF

Paste JSON and get a PDF you can actually hand to somebody. An array of flat objects is turned into a real table with a header row. Anything else is kept as formatted, indented JSON rather than being mangled into a shape it does not fit.

Your JSON

Free, no account. A few conversions a day per visitor.

Your PDF

The rendered document appears here.

Arrays become tables

An array of objects is the usual shape of an export, and a table is far easier to read than nested braces. Keys become columns, in the order they first appear.

Everything else stays JSON

Nested or irregular data is printed as indented JSON in a monospaced block. Forcing it into a table would lose information, so we do not pretend.

Tables that survive page breaks

A long export runs to several pages. The header row repeats on each one, and rows are never sliced in half at the boundary.

Nothing is uploaded twice

The JSON is turned into a document in your browser and rendered once. The file is deleted an hour later.

Why convert JSON to PDF?

JSON is written for programs and PDFs are written for people, so the conversion usually happens at the moment those two audiences meet.

The same conversion from your code

This page turns your input into Markdown in the browser and posts it to a public API. From a script it is one request:

curl -X POST https://mintpdf.dev/v1/pdf \
  -H "Content-Type: application/json" \
  -d '{"markdown":"| Item | Price |\n|---|---|\n| Widget | $9.00 |","pageNumbers":true}' \
  --output table.pdf

See the API reference, or add it to an AI agent with npx -y mintpdf-mcp.

Other free converters

Frequently asked questions

Does it handle nested JSON?
Yes, but not as a table. Nested or irregular data is rendered as indented, readable JSON, because flattening it into columns would quietly lose information.
Is there a size limit?
The document sent for rendering is limited to 5MB, which is a very large amount of tabular JSON.
Do you store my data?
The PDF is kept for one hour so you can download it, then deleted. The JSON itself is turned into a document in your browser. If the data is confidential, use a local tool instead.
Is it free?
Yes. A few conversions a day need no account, and a free key raises that to 100 a month with nothing but an email address.
Can I do this from code?
Yes. Convert your JSON to Markdown or HTML and POST it to the API, which is exactly what this page does.