PDF to JSON Converter

Everything inside a PDF as structured JSON: pages, text blocks, tables, form fields and bookmarks.

Reverse: JSON to PDF

Files never leave your device — everything runs in your browser

A PDF is easy to read and hard to process in code: text, tables and fields are mixed together in drawing instructions. This converter lays the document out as clean JSON. meta holds the title, author, dates and page count. pages lists every page with its size, its full text and its blocks, each with x, y, width and height in points from the top-left corner — enough to find where a total or a signature sits on the page.

Ruled tables are extracted separately with the same engine as our PDF to Excel converter: each entry in tables keeps its page number and the rows of cells. Fillable form fields — name, type and value — go to forms, and the document outline goes to outline with its level and page.

If the PDF is a scan without a text layer, switch on Recognise text on scans. Tesseract reads the pages and the blocks become words with coordinates and a confidence score. English, German, French, Spanish and Russian are recognised in one pass.

This tool runs on our server, because a browser cannot take a PDF apart or read text from pixels. The file travels over HTTPS, is processed and deleted after one hour; we never keep or look at documents.

What ends up in the JSON

How to convert PDF to JSON in 3 steps

  1. 1

    Upload the PDF

    Drop a file up to 20 MB. Scans are recognised up to 30 pages at a time.

  2. 2

    Check the result

    The JSON opens as a tree: pages, tables, forms and outline. For a scan, switch on text recognition.

  3. 3

    Download the JSON

    Or send the data straight to Excel, CSV, Word or TXT with the buttons below.

Frequently asked questions

Upload the file on this page. A few seconds later the JSON opens for review and is ready to download.
Switch on Recognise text on scans: OCR reads the pages and the JSON gets words with coordinates. Without it a scan has no text to extract.
They are in the tables section. If you need a spreadsheet straight away, PDF to Excel is quicker.
Typographic points (1/72 inch) from the top-left corner of the page — the same way PDF libraries measure them.
The file travels over HTTPS and is removed from the server after one hour. It is used for nothing except the conversion.

Related tools