PDF-to-JSON API

Extract tables from PDF to JSON using our data extraction API.

Extract structured tables automatically

Convert tables from PDFs into clean, machine-readable JSON. Ideal for invoices, forms, reports, and more.

Automate with Zapier

Automatically extract tables from PDFs in Google Drive and save as JSON files using our Zapier integration. A no-code workflow for document-to-data processing.

No manual data entry

Save time and eliminate human error by automating table extraction from PDFs with high accuracy.

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

Try it out

This example will extract tables from a PDF and return them as a JSON file.


Try it out in three steps

  1. Add a PDF named document.pdf to your project folder.
  2. Run the code from the same folder.
  3. Open result.json to see the output.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.json \
--fail \
-F document=@document.pdf \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"output": {
"type": "json-content",
"plainText": false,
"structuredText": false,
"keyValuePairs": false,
"tables": true
}
}'

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →


Security is our top priority

SOC 2 Type 2 audited

Nutrient’s infrastructure is SOC 2 Type 2 audited and GDPR-compliant. See our privacy policy and security documentation for details on data handling.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.


Frequently asked questions

What is a PDF-to-JSON API?

A PDF-to-JSON API extracts structured data — including tables, text, and document structure — from PDF files and returns it as JSON with a single API call. Nutrient’s DWS Processor API does this without you building your own extraction pipeline.

How do I extract tables from a PDF programmatically?

Send your PDF to the Nutrient DWS Processor API, and it returns the extracted tables and content as JSON. You can call it via REST, Postman, curl, JavaScript, Python, Java, C#, or PHP.

What data can I extract from a PDF to JSON?

You can extract tabular data, text content, and document structure into machine-readable JSON — useful for feeding PDFs into databases, analytics, or downstream automation.

Which programming languages does the API support?

You can call the API from any language that can make HTTP requests. We provide quick start examples for JavaScript, Python, Java, C# (.NET), and PHP, plus REST and a Postman collection.

Is there a free PDF-to-JSON API?

Yes. You can start for free — sign up to receive processing credits and try the PDF-to-JSON API before choosing a Processor API plan.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.