Extract PDF tables as JSON

Get table rows out of a PDF as structured data an AI or a script can use.

Processed on your device

or drop a PDF anywhere on this page. Files stay on this device.

How to extract PDF tables as JSON

To extract tables from a PDF as JSON, open it here and press Convert to JSON. Puffin PDF reads the text in your browser and splits it into columns wherever there is a wide gap, which matches most printed tables. Each page becomes a table, and with "Use the first row as column names" on, each row becomes an object keyed by the header.

  1. Select a PDF, or drop it on this page.
  2. Choose whether the first row holds column names.
  3. Press Convert to JSON.
  4. Download the .json file.

Questions and answers

Does it work on scanned tables?

Run OCR PDF first so the page has text. Tables in photos of paper often need tidying afterwards.

Can I get a spreadsheet instead?

Yes, PDF to CSV gives the same columns as a file Excel and Google Sheets open.

Are my files uploaded?

No. The work is done by code running in your browser, so your file never leaves your device. You can check this yourself: open your browser's developer tools, switch to the Network tab and run the tool. No request carries your file.

Is it free? Are there limits?

Yes, it is free with no sign-up, no watermark and no daily limit. Because your own device does the work, it costs us almost nothing to run, so there is nothing to meter.

Other tools