Skip to content
Tools War

Your files are processed temporarily and deleted automatically: a result as soon as its download completes, and anything not downloaded shortly afterwards. Download your results to your device.

Back to PDF & documents

PDF to JSON

Get the document's structure as JSON: details, fonts and the text of each page with its position.

About PDF to JSON

This tool describes a PDF as JSON data, so a program can read its text and where each line and word sits on the page.

What you add
One PDF file.
What you get
One JSON file.

How to use it

  1. Add your PDF.
  2. Choose the pages and what to include.
  3. Start.
  4. Download the JSON file.

Settings

  • Pages: all, or a list such as 1-3,5.
  • Include each word with its position; lines are always included.
  • List the fonts used in the file.
  • Decimal places for positions, in points: 0, 1 or 2.

Good to know

  • Scanned pages have no text layer; run Make PDF searchable (OCR) first.

Your files are processed only for this operation and deleted when it finishes. No one at Tools War can view what you upload.