Convert JSON to PDF
Styled table, portrait
or landscape, instant.
Free JSON to PDF converter. Styled header row, auto column widths, portrait or landscape A4. Live preview before download. Powered by jsPDF — runs entirely in your browser.
Three steps — paste your JSON and get a print-ready PDF table.
Paste a JSON array of objects or upload a .json file. A live preview table shows your data immediately with styled headers — nested objects are flattened with dot-notation so every value has its own column.
Select portrait or landscape A4. Choose font size (9–14pt), header colour (navy, teal or plain) and optionally add a document title that appears above the table. Column widths are calculated automatically to fit the page.
Click Generate PDF and download the file. It opens directly in any PDF viewer — Adobe Acrobat, Chrome, Safari, Preview — and prints correctly on A4 paper. No watermarks, no registration required.
Common workflows where a PDF table is more useful than raw JSON.
API responses and database query results arrive as JSON. Converting to a styled PDF produces a report you can email, attach to a ticket or print — without opening Excel, building a template or writing a reporting script.
JSON is unreadable for managers and clients. A PDF table with bold headers and clean formatting can be sent directly via email or Slack — the recipient can open it without any software installation.
Inventory lists, transaction logs, user directories and audit trails stored as JSON can be exported to a printable PDF in one step — formatted for A4, with correct page margins and font size for physical printing.
Technical proposals and API documentation often include data tables. Generating a PDF from a JSON dataset embeds the table in a format that can be included in a Word document, attached to a PDF contract or inserted into a presentation.
What each setting controls in the PDF output.
| Option | Values | What it does |
|---|---|---|
| Orientation | Portrait · Landscape | Portrait A4 (210×297 mm) is best for tables with up to 5–6 columns. Landscape A4 (297×210 mm) gives more horizontal space for wide tables with 7+ columns. Column widths are recalculated automatically for the chosen orientation. |
| Font size | 9 · 10 · 12 · 14 pt | 9–10 pt fits more rows per page — best for dense data exports. 12 pt is comfortable for most readers. 14 pt is large and accessible — suitable for presentations or when the PDF will be viewed on screen rather than printed. |
| Header style | Navy · Teal · Plain | Navy uses a dark background with white text — high contrast, professional. Teal uses the JSONshift brand teal — lighter, modern. Plain uses bold text with no background colour — suitable for black-and-white printing or minimal style. |
| Document title | Any text | Adds a title line above the table in the PDF. Useful when the PDF will be attached to an email or printed — the title appears at the top of the page so recipients know what the table contains without reading the data. |
| Nested objects | Flatten · Keep as string | Flatten expands nested objects into additional columns using dot-notation — address.city. Keep as string serialises nested objects to a JSON string in a single cell — useful when the nesting is too deep to expand meaningfully. |
Other export formats you might need alongside PDF.
PDF generated in
your browser. No upload.
JSONshift uses jsPDF — the most widely used client-side JavaScript PDF library — to generate PDF files directly in your browser. Your JSON data is parsed locally and never transmitted to any server. Close the tab and it's gone.
The output is a genuine PDF — not a screenshot or an image. It contains selectable text, correct page dimensions and proper print margins. Open it in any PDF viewer and use it directly without any post-processing.
