PDF Tools
PDF to JSON
Convert PDF text and layout into structured JSON with pages, lines, cells and coordinates.
Free foreverRuns in your browserNo sign-up
Drop a PDF here, or click to choose
Text and layout coordinates stay in your browser.
About the PDF to JSON
PDF to JSON reconstructs selectable PDF content into a documented hierarchy of pages, lines and coordinate-aware cells. It is designed for invoices, statements, reports and other files where plain text loses important column relationships.
Document-type detection is a convenience hint rather than an AI accounting decision. The output preserves raw text and coordinates so integrations can validate totals, map vendor-specific fields or build their own table rules without losing source evidence.
Key features
- Page, line and cell hierarchy
- Coordinates for layout reconstruction
- Invoice-type detection
- Preview, copy and JSON download
How to use
- 1Upload a PDF containing selectable text.
- 2Convert it and review the detected type and JSON preview.
- 3Copy the JSON or download it for an app, database or automation workflow.
Examples
Structure a purchase invoice
Input:
Invoice PDF with vendor, item and VAT tablesOutput:
JSON pages containing reconstructed lines and coordinate-aware cellsUse cell coordinates to map repeated line items and tax columns for a specific invoice template.
Frequently asked questions
- Does it extract invoice fields automatically?
- It detects invoice-like documents and preserves their text, rows, cells and coordinates. Because invoice formats vary widely, values are not silently guessed into accounting fields.
- Why are coordinates included?
- PDFs store positioned text rather than semantic tables. Coordinates preserve column and row relationships that plain text extraction discards.
- Does it work with scanned invoices?
- Run OCR Searchable PDF first when the source contains only page images, then convert the searchable result to JSON.
- Is my financial document uploaded?
- No. Extraction and JSON generation run locally in your browser.
