PDF to JSON
A real two-page example
Page 1 says “Hello from page one.” Page 2 says “Hello from page two.” The PDF title is “Two-page example” and its author is “noll”. This is the full exported JSON.
Download sample PDFDownload actual JSON
{
"metadata": {
"title": "Two-page example",
"author": "noll",
"subject": "",
"keywords": "",
"creator": "",
"producer": "",
"creationDate": ""
},
"pageCount": 2,
"pages": [
{
"pageNumber": 1,
"text": "Hello from page one."
},
{
"pageNumber": 2,
"text": "Hello from page two."
}
]
}Powerful PDF to JSON Features
Page text and metadata
Each page has a number and a single text string.
Two-space formatted JSON
Readable JSON uses a fixed two-space indent.
No extraction settings
Text and metadata are included automatically.
How To PDF to JSON Online for Free
Upload your PDF
Drop a PDF into the tool to open it in the editor. Processing stays in your browser.

Export / Convert
Select JSON in the conversion format menu. Text and metadata are always included; there are no optional extraction fields.
Download JSON
Export the .json file. Any required checkout is shown before download.

Extract page text and document metadata as JSON in your browser. The fixed output contains metadata, pageCount and pages with pageNumber and text. Text items are joined with spaces; layout and reading order may differ from the page. Scanned pages without a text layer can return empty text.
Everything You Need in a PDF to JSON
Page text
Each page has a number and a single text string.
Document metadata
metadata contains title, author, subject, keywords, creator, producer and creationDate. Missing metadata values become empty strings. pageCount is the number of pages; pages contains pageNumber (starting at 1) and text.
Fixed formatting
JSON uses two-space indentation. There is no minification or field-selection control.
Text-layer limits
It reads the existing PDF text layer. Check the exported text: reading order and spacing can differ from the visual page.
Frequently Asked Questions
Document Work Made Easy
Process your PDFs with our collection of free, privacy-first tools. No uploads to servers, no registration required. Everything runs directly in your browser.