PDF to JSON
Read a PDF locally and export its text items, grouped lines, page labels and document metadata. Choose pages and inspect text origins.
Inspect PDF Page Labels and Coordinates
PDF to JSON: how to use it
- Open a PDF and enter physical page numbers or ranges. Enter its password if needed.
- Read PDF text and inspect the source label, dimensions and positions on a selected page.
- Choose text items, grouped lines or both, then copy or download JSON.
Limits and notes
Accepts a PDF up to 50 MB with at most 300 source pages and 50 selected pages. The export holds up to 100,000 selectable text items and 1,000,000 text code units. Scanned pages without a text layer retain geometry and produce no text items.
How your privacy works →PDF to JSON: common questions
Where is the coordinate origin?
The exported origin is the start of the text baseline in a scale-one viewport. X increases to the right and Y increases downward from the rotated page’s top-left corner.
Does text item order match top-to-bottom reading order?
Items stay in the sequence returned by PDF.js. Grouped lines join nearby adjacent items while retaining that sequence.
Do page ranges accept printed labels?
Use the physical page numbers in the Pages field. The export records both the physical number and the source label.