Extract text from PDF API

Build workflows to automatically extract text from PDF documents with a text extraction API built for document processing systems. Use Nutrient DWS when you need PDF text output for indexing, search, compliance review, downstream AI pipelines, or structured data workflows.

PDF text extraction built for document workflows

Extract text from PDF files when the next step is search, indexing, review, compliance, analytics, or feeding document text into another processing system.

Use REST, Postman, or your preferred language

Use REST, Postman, JavaScript, Python, Java, C#, PHP, or HTTP to automate text extraction from PDFs inside backend workflows and document processing pipelines.

Ideal for downstream text workflows

Use extracted PDF text for knowledge retrieval, search indexes, document QA, AI pipelines, or other systems that need clean text output instead of rendered pages.

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

Try it out

This example will extract text from an image and return it 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": true,
"structuredText": true
}
}'

Data Extraction API

Extract specific fields from any document

Define a schema, and get back typed JSON with confidence scores and source context for every value.

Start free:

    • 5,000 credits per month
    • No credit card required
    • Schema generator in Studio

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.


Ready to try it?

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