Skip to content
PDFCraft.in logoPDFCraft.in
Cookie & Advertising NoticePDFCraft and our partners (including Google AdSense) use cookies to analyze traffic, personalize content, and display relevant ads. Standard PDF processing remains 100% in-browser. Learn more in our Privacy Policy and Terms of Service.
All 86 Tools
Official PDFCraft Engine · Verified lossless vector rendering & client-side privacy. Always check you are on https://www.pdfcraft.in.
Verify results before use
Document Conversion & EditingBrowser-Local Execution

Switch tools or open your active PDF in the visual editor.

Select or drop a file below · Zero disk retention (cleared on page close or refresh)
Open in PDF Studio

PDF to JSON

Export page size, metadata, and extractable text as JSON. Not a full PDF dump. Runs in your browser.

Most tools run in your browser; optional OCR/AI features send the file to a server only after you consent.
Consent required for OCR/AI
Tool Guide & Specifications

PDF to JSON

PDF to JSON writes a structured file that contains the document’s file name, page count, title, author, and, for each page, its size plus one string of extractable text. The conversion runs in your browser. It is not a complete dump of PDF objects, fonts, or content streams. Pages without a text layer appear with empty text fields.

The fields that appear in the JSON

The root object lists the original file name, total page count, and any document-level metadata that can be read (commonly title and author). Each page is an object that records its width and height in points together with a single text property.

The text property holds every extractable character from that page concatenated in roughly reading order. No separate arrays for words, lines, or bounding boxes are produced.

The JSON is pretty-printed and UTF-8 encoded so it can be opened in any text editor or parsed by a local script.

How the extraction works

The tool uses the browser’s PDF reading libraries to walk the page content streams and collect text-showing operators. Absolute coordinates and font information are used only to decide reading order; they are not written into the output.

Image-only pages, pure vector drawings, or pages whose text is rendered as paths contribute an empty string. Metadata fields that the PDF does not contain are simply omitted or set to null.

Because the entire parse happens locally, you can safely convert documents that contain personal or confidential information.

What this JSON is not

It is not a low-level PDF object dump, nor does it include embedded images, form fields, annotations, or outline entries as structured data. For those purposes use the dedicated extract tools.

Soft free-tier page or size limits may be shown on the tool page; stay inside them to avoid memory pressure in the browser. Encrypted PDFs must be unlocked first.

After download, validate a sample of pages against the source. If text is missing or jumbled, the PDF may use non-standard encodings or overlapping text that a simple extractor cannot fully resolve.

How to use this tool

  1. 1Open the PDF to JSON tool and check the URL.
  2. 2Select a PDF that contains a text layer.
  3. 3Start the export; processing stays in the browser.
  4. 4Download the .json file.
  5. 5Open it and inspect the document-level fields and the first few page objects.
  6. 6Confirm that image-only pages show empty text strings.
  7. 7Use the JSON in any local script or archive it alongside the original PDF.

Tips and limitations

  • Exports file name, page count, title, author, page size, and one text string per page.
  • Not a full PDF object dump.
  • Image-only pages produce empty text fields.
  • The PDF never leaves the browser.
  • Unlock encrypted files before converting.

Frequently asked questions

Is any part of the PDF sent to a server?

No. Parsing and JSON creation occur entirely in the browser.

Does the JSON include images or fonts?

No. Only metadata, page dimensions, and extractable text are written.

Why are some page text fields empty?

Those pages have no text layer; they are image-only or vector-only.

Can I recover exact word positions?

No. Only a single concatenated text string is stored per page.

What limits apply?

Check the tool page for any current free-tier soft limits on pages or file size.

Private by default

Most tools process in your browser. Optional OCR and AI features send data only after you consent.

Instant in-browser speed

Zero upload waiting or server queues. Tasks execute directly on your CPU.

No account or credit card

Standard tools are free with soft limits (~120 MB / 150 pages). No account required.

Universal compatibility

Works seamlessly on Windows, macOS, Linux, iOS, and Android web browsers.