PDF Guides

How to Turn JSON Data into a Printable PDF Report

Make JSON readable for people: tables from arrays of records, nested fields as dotted columns, choosing, sorting and filtering columns, and tree views.

Saizul Amin
Saizul Amin28 Oct 2026 · 3 min read
How to Turn JSON Data into a Printable PDF Report

How to Turn JSON Data into a Printable PDF Report

JSON is how modern software exchanges data. Online shops export orders as JSON, apps return API responses in JSON, and many tools save settings in it. For a program it is perfect; for a manager, an auditor or a customer it is unreadable. A PDF report bridges the gap. This guide explains how JSON maps to a table and how to build a clean report with JSON to PDF Report.

From records to rows

Most useful JSON is a list of records, each with the same kind of fields:

[{"id": 101, "customer": {"name": "Aisha Khan", "city": "Leeds"}, "total": 89.5, "status": "paid"}, ...]

Each record becomes a row and each field a column. Nested objects are flattened into dotted column names, such as customer.name and customer.city, so nothing is lost. Lists of simple values are joined with commas.

Often the list sits inside an object, such as {"data": [...]} or {"orders": [...]}. The tool looks inside and finds the first list of records automatically.

Choosing columns

The report lists every column it found. Type the ones you want, in the order you want, separated by commas. Leaving out internal IDs and technical fields makes the report far easier to read.

Sorting and filtering

  • Sort by any column; numbers sort as numbers, so order 9 comes before order 10.
  • Filter to rows containing a word, such as "paid" or a customer's name.

Together they turn a raw export into a focused report, such as all paid orders sorted by date.

When the JSON is not a table

Configuration files and complex API responses are not lists of similar records. The tree layout prints them as indented key and value lines, with arrays marked by their length. It is a readable record of exactly what the file contained.

Page layout

Tables with many columns switch to landscape automatically. Add a title, and a short line printed at the top of every page, such as "Confidential" or a project name. Page numbers are added.

Example

An online shop exports 186 orders as JSON. With the columns id, date, customer.name, total and status, sorted by date and filtered to "paid", the report is six landscape pages with "Confidential" at the top of each page. The finance team files it with the month's accounts.

Tips

  • Six to eight columns fit comfortably on landscape A4.
  • Dates in ISO format (2026-03-12) sort correctly as text.
  • For analysis rather than reading, convert JSON to CSV and open it in a spreadsheet.

Getting JSON out of common tools

  • Online shops: many platforms export orders and products as JSON from their admin area or API.
  • Browser developer tools: the Network tab can save an API response as a .json file.
  • Apps and services: data download features under privacy settings often provide JSON archives.

Checking the data first

Before building a report for others, read the list of columns and a few rows in the preview. Fields with confusing names can be left out or explained in the title. If values look wrong, such as prices in cents rather than pounds, say so in the header line so readers are not misled.

Repeating the report

Save your column choice, sort and filter as a preset. Next month, load the new export and the report comes out in the same shape, which makes comparisons easy.

Limits

Very large exports produce long PDFs; filter first. Values are printed as they are stored, without number formatting.

Privacy

Exports often contain customer data. The file is processed in your browser and not uploaded.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages