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.


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 instructions='{
"parts": [
{
"file": "document"
}
],
"output": {
"type": "json-content",
"plainText": true,
"structuredText": 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

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

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.