PDF to JSON
Extract text content and layout as structured JSON.
About PDF to JSON
pdf-workshop converts a PDF into a JSON file in your browser. For every page you get its size, the full text, and a list of text pieces, each with its x and y position, width and height if you leave that option on. It suits developers and data work. Scans need OCR PDF first. Nothing is uploaded.
How to use PDF to JSON
- 1Choose or drop the PDF.
- 2Leave Include per-item positions ticked, or untick it for text only.
- 3Click Convert to JSON and download the .json file.
Why it runs in your browser
pdf-workshop has no server that receives files. The page loads the code it needs and the work — reading, changing and writing the PDF — happens on your device. Contracts, medical records and ID scans never leave it, there is nothing to sign up for, and it works on networks that block uploads. Large files are limited only by your device's memory.
Questions about PDF to JSON
- Are my files uploaded anywhere?
- No. The work happens in your browser on your own device. pdf-workshop has no server to send files to, so nothing leaves your computer.
- What does the JSON look like?
- It holds the file name, the page count, and a list of pages. Each page has its number, width, height, its text pieces and the page text joined together.
- Are positions in pixels?
- They are in PDF points, where 72 points is one inch, measured from the bottom-left corner of the page.
- Is it free? Do I need an account?
- It is free, with no account, no email address and no trial period. Open the page and use it.
Related tools
Updated September 2026 · How pdf-workshop works · All tools