JSON to PDF
Paste your JSON, see a syntax-highlighted preview, then click Open Print View and choose Save as PDF in the print dialog.
How to save JSON as a PDF
- Paste your JSON into the input area. The preview updates automatically.
- Click "Open Print View" — a new tab opens with a clean, printer-friendly render.
- In the print dialog, set the destination to Save as PDF (Chrome/Edge) or Print to PDF (Firefox), choose your paper size, and click Save.
The print view uses a monospace font with syntax colouring for keys, strings, numbers, and booleans — the same colouring conventions most JSON editors use — so the result is readable at a glance, not just a wall of text.
Why browser Print to PDF?
Every modern browser ships a high-quality PDF renderer. Using it means this tool has zero dependencies, loads instantly, and produces a PDF that matches your OS paper size and margin preferences. There's no library to bundle and nothing to download.
FAQ
How do I save the result as a PDF file?
Click "Open Print View", then in the browser's print dialog choose "Save as PDF" (or "Microsoft Print to PDF" on Windows) as the destination instead of a printer.
Does this upload my JSON anywhere?
No. All processing — parsing, rendering, and printing — happens entirely in your browser. Nothing is sent to any server.
Why use Print to PDF instead of a PDF library?
Every modern browser includes a high-quality PDF renderer built in. Using it avoids bundling a large PDF library, keeps the page fast, and produces a result that honours your OS paper size and margin settings.