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.
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.
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.
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.
A long export runs to several pages. The header row repeats on each one, and rows are never sliced in half at the boundary.
The JSON is turned into a document in your browser and rendered once. The file is deleted an hour later.
JSON is written for programs and PDFs are written for people, so the conversion usually happens at the moment those two audiences meet.
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.