PDF linearization API

Integrate our PDF linearization API for faster web viewing and streaming. PDF documents are automatically restructured so your application can stream and load them faster.

Built for API integration

Enable Fast Web View and progressive loading by restructuring PDFs through a REST API.

Try it instantly on Zapier

No code? No problem. Connect Nutrient DWS Processor API to your favorite apps with Zapier to automate document workflows and save time on repetitive tasks.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.

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

Try it out

This example will linearize your document. A linearized PDF file is organized in a special way to enable efficient incremental access in a network environment. Enhanced viewer applications can recognize that a PDF file has been linearized and take advantage of that organization.


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.pdf to see the output.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F document=@document.pdf \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"output": {
"type": "pdf",
"optimize": {
"linearize": 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 does the PDF linearization API do?

It restructures a PDF for Fast Web View (linearization) so the first page can render while the rest of the file is still downloading. It’s one action in the Nutrient DWS Processor API.

When should I linearize a PDF?

Linearize PDFs you serve over the web so large documents start displaying before the full file arrives. If you also need smaller files, pair it with the document optimization API.

Is there a free trial for the PDF linearization API?

Yes. You can start free with Nutrient DWS credits and run linearization without a credit card. Then move to Processor API pricing as your volume grows.

Which languages and tools can I use to call it?

It’s a REST API you can call from any language, with examples in JavaScript, Python, Java, and PHP. The fastest way to send a first request is the Postman collection.

How do I get started with PDF linearization?

Create an account, generate an API key, and follow the Processor API getting started guide to send your first linearization request.

Is the PDF linearization API secure?

Documents are processed over encrypted connections on SOC 2 Type 2 audited, GDPR-compliant infrastructure. See the security documentation for data handling and compliance details.

Ready to try it?

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