JSON to PDF
Convert JSON files to a readable PDF with proper indentation and syntax colouring. Turn API responses and config dumps into shareable documents.
Upload JSON File
About This Tool
JSON arrives as one enormous line. Minified API responses and config dumps are technically readable and practically not, especially when you need to show them to someone who is not going to paste them into a formatter first.
This pretty-prints the structure with consistent indentation and nesting, applies syntax colouring so keys, strings, numbers and booleans are visually distinct, and paginates the result. What was an unreadable wall becomes something you can hand to a colleague or attach to a ticket.
Malformed JSON is reported with the position of the problem rather than silently producing a broken document, which makes the tool useful as a quick validity check too.
How to Use
Add your JSON files
Drop in up to 10 files. Each is parsed and validated first.
Set formatting options
Choose the indent width and whether syntax colouring is applied.
Choose the page setup
A4 or Letter. Landscape helps for deeply nested structures with long lines.
Convert and download
Save the formatted PDF.
Use Cases
Attaching evidence to a bug report
The API response that caused the failure, readable, in a document anyone on the ticket can open.
Documenting configuration
A config file captured as a dated PDF for a change record.
Data hand-off to non-developers
A JSON export made legible for someone who will not be opening a code editor.
Frequently Asked Questions
What happens if my JSON is invalid?
The tool reports the parse error and its position instead of writing a broken PDF, so it doubles as a validity check.
Are long strings wrapped?
Yes, at the page margin, with the indentation of the enclosing level maintained so the structure stays readable.
How large a file can it handle?
Multi-megabyte files convert, though very large ones produce very long PDFs. Consider extracting the relevant section first.
Is the colouring preserved when printing?
On a colour printer, yes. In greyscale the tokens still differ in weight, but the distinction is weaker.