JSON to PDF Report Generator

Convert JSON arrays and objects into downloadable PDF reports with formatted tables. Perfect for sharing data with non-technical stakeholders.

Input JSON
PDF Preview

JSON to PDF Guide

How to Generate a PDF from JSON

The JSON to PDF converter uses jsPDF and the jsPDF-AutoTable plugin to turn your JSON data into a fully formatted, downloadable PDF report — entirely in your browser. No data is uploaded to a server.

  1. Paste your JSON — an array of objects produces a multi-column table; a single object produces a two-column key/value table.
  2. Set a report title — the title appears at the top of the first page of the PDF.
  3. Choose orientation — portrait works for narrow datasets; landscape suits wide tables with many columns.
  4. Optionally enable row numbers — adds a "#" column on the left for easy reference.
  5. Click "Generate PDF" — the file downloads immediately as report.pdf.

Input Formats Supported

// Array of objects → table with headers from keys
[{"name": "Alice", "role": "Engineer", "salary": 85000},
 {"name": "Bob",   "role": "Designer", "salary": 72000}]

// Single object → key/value table
{"company": "Acme Corp", "founded": 1952, "employees": 340}

// Array of primitives → single-column table
["apple", "banana", "cherry"]

Features

📄 Auto-formatted Tables

  • Array of objects → table
  • Single object → key-value table
  • Custom report title
  • Portrait / landscape orientation

Instant Download

  • Powered by jsPDF + AutoTable
  • All processing in browser
  • No server upload required
  • Optional row numbers