PDF to JSON

Extract a PDF's text, headings, lists, tables, form fields and metadata as structured JSON.

Convert a PDF to structured JSON: text, tables, form fields and metadata

A PDF is made for reading, not for programs. PDF to JSON turns a PDF into one JSON file that code can work with: metadata, the text of every page, the headings, paragraphs, lists and tables found in the layout, and the values of any form fields. It is the step before loading a document into a database, a search index or an AI prompt.

Upload the PDF and pick what you need. Structure gives you everything: a source block with title, author, page count and dates; a pages array with the text and size of each page; a blocks array in reading order of headings, paragraphs, lists and tables; and a tables array with every table as typed rows, tagged with its page. Tables only returns just the tables, the fast route for invoices and statements. Page text only returns the raw text per page. Numbers inside tables come back as numbers, so a total is a value rather than a string.

The output follows one documented shape, described in the JSON guide, so a script written today keeps working. In Structure mode a scanned PDF is recognised first and the extraction block says so; a password-protected file has to be unlocked first. For the reverse direction use JSON to PDF, for a spreadsheet use PDF to Excel, and for prose use PDF to Markdown.

How to use the PDF to JSON tool

  1. Add your PDF file: drag & drop or click to browse.
  2. Set your options: What to extract.
  3. Click “Process PDF to JSON” and download your result.

Common questions

Is PDF to JSON free?

Yes. PDF to JSON is free for light use with no signup needed. Anonymous visitors get 10 free tasks per day, and creating a free account makes daily use unlimited. A paid Pro plan removes ads and raises file-size limits for heavier work.

Is my file safe?

Yes. Your file is sent over HTTPS, processed by self-hosted open-source software on our servers (no third-party AI or cloud APIs), and deleted within 60 minutes at the latest, usually right after your result is ready.

What file formats does PDF to JSON accept?

PDF to JSON accepts PDF files. Convert other formats to a supported one first; the related tools below can usually do it.

Related tools

Browse all 110+ free PDF, image, Markdown and JSON tools →