JSON to PDF Converter

JSON Input

1

PDF Output

Settings

Output mode

Page

Style

JSON formatting

Privacy

All processing runs locally in your browser. Nothing is uploaded.

Live
JSON Swiss · Export1 / 3

Waiting for JSON Data

Paste or import JSON in the left editor to see a live PDF preview here.

Generated locally · No uploads

All processing runs locally in your browser. Nothing is uploaded.

User Guide

  1. Add your JSON

    • Paste JSON from any source into the editor.
    • Or use Import to load JSON from a file.
    • Use Sort keys and indentation to make it easier to read.
  2. Choose a layout

    • Pretty print is ideal for sharing raw JSON.
    • Report mode turns arrays of objects into a table.
    • If the table isn't detected, select the correct Table source.
  3. Configure settings

    • Adjust page size, orientation, and margins.
    • Pick light/dark theme and font size.
    • Select columns, report layout (table / records), and a flatten strategy for nested fields.
  4. Export to PDF

    • Click Export PDF to download the PDF file instantly.
    • Need advanced options? Use Print dialog export (Save as PDF).
    • If the print tab doesn't open, allow pop-ups. For dark theme, enable Background graphics for best results.

Tips

  • Report mode works best with an array of objects.
  • Select only the columns you need; for many fields, switch to Records layout.
  • For nested values, choose a flattening strategy (dot or brackets).

Related JSON tools

  • Validate JSON before or after formatting to catch syntax errors early.
  • Repair broken JSON that cannot be parsed, then run it through the formatter.
  • Generate schemas and types from clean JSON for validation and typed code.

Frequently Asked Questions

Is my data safe?

Absolutely. All conversions are performed locally in your browser. Your JSON data is never uploaded to our servers.

How do I save as a PDF file?

Click 'Export PDF' to download a PDF file directly. If you need print options, use 'Print dialog' and choose 'Save as PDF' in the system print dialog (allow pop-ups if needed).

What is the maximum JSON file size supported?

Since processing is local, it depends on your browser and available memory. Multi-MB JSON usually works; for huge/wide tables, export fewer columns or switch to Records layout for better readability.

Why can't I see the table in report mode?

Report mode requires the JSON to contain an array of objects (e.g., `[{}, {}]`). If your JSON structure is deep, select the correct path in 'Table Source'.

Does it work offline?

Yes. After the page loads, formatting and export run locally in your browser. You can download PDFs directly, or use the built-in print dialog export.

Can I export nested JSON to a table?

Yes. In report mode, enable flattening and choose dot or bracket notation to turn nested fields into columns.