Convert PDF to JSON
Turn PDF documents into JSON. The form fields and annotations as one JSON object: a list of units, each with its value or text as the refs view shows it, and the page text that belongs to no unit.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PDF files on the dialor turn it to pick what to do
PDF text as a JSON file.One JSON file from your PDF, built from the text in its pages.
What you get
One JSON file, the data format of every API. It is made from the PDF, a format of fixed-layout pages that look the same everywhere.
The conversion produces a single file for each PDF you convert.
Locked and scanned PDFs
A PDF that asks for a password stops the conversion with
input_encrypted. Enter the password in the Password option and the file opens. The password is used for this one job and deleted when it ends.A scanned PDF holds pictures of pages, not text, so there is nothing to read and the conversion stops with
ocr_required. Run OCR on the PDF first, then convert the result.Damaged files
If the file cannot be parsed, the conversion stops with
input_corrupted. This means the PDF itself could not be read.
PDF and JSON.What each format is, and the options this conversion takes.
- 01 · password
Password
Opens a file that asks for a password. The password is used for this one job and deleted when it ends. Without it, a locked file fails with input_encrypted.
The formats
Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.
- Extensions
- MIME type
- application
/pdf - Kind
- Documents
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same PDF to JSON conversion through the API, for your app or your agent.
$ cv convert report.pdf report.json$ cv convert report.pdf report.jsonQuestions.What people ask about PDF to JSON.
Enter the password in the Password option. Without it, the conversion stops with input_encrypted.
The pages are pictures with no text to read. Run OCR to add text, then convert the file again.
The file could not be parsed. The conversion cannot go on with it.
No. The password is used for this one job and deleted when it ends.