Linearize PDF

Linearize PDF

Linearize PDF is a REST API tool that optimizes a PDF file for quick online viewing known as ‘Fast Web View', improving user experience when streamed over a network connection.

A bubbling flask with code brackets inside
Try Now with API Lab

Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!  

to receive your free API Key.
Parameters
Required Parameters
POST
/linearized-pdf
curl -X POST "https://api.pdfrest.com/linearized-pdf" \ 
  -H "Accept: application/json" \ 
  -H "Content-Type: multipart/form-data" \
  -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  
Response
The response for your API Call will display here.
Once you've sent your POST request and received a valid response, you can download your output file using the output URL.
Build your solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all Solutions

Why is pdfRest the best API to linearize PDF?

pdfRest offers the best solution for linearizing PDF documents, because it supports Fast Web View, simple application, and easy integration.

Linearize with Confidence

Unlike other APIs that offer PDF linearization solutions, pdfRest uses the same underlying technology that powers Adobe® Acrobat™ to optimize files for Fast Web View.

What can go wrong when you restructure all of the content in a PDF document with substandard technology? Do you really want to find out? Trust the original inventor of the PDF format to apply linearization the right way from the start.

Simple to Apply

Linearization is a complex operation, but optimizing your documents for online viewing shouldn’t require you to earn a degree in PDF technology. We’ve got you covered with the most streamlined process to apply linearization.

Select a file, give the output a name, and those are the only decisions you’ll need to make to prepare for the best PDF online viewing experience.

Easy Web App Integration

Linearization is most important when PDFs are intended to be served over a network connection for a web viewing user experience.

pdfRest’s Linearize PDF tool is ideally suited for this purpose, as the REST API design supports easy integration with any web application, no matter what languages or tech stacks are used under the hood.
Start from Code Examples
  1. First, you'll need an API Key - to:
    • Stay anonymous with a Guest API Key for 10 free API Calls
    • Sign up for an upgraded API Key with unlimited, continuous service
  2. Choose your programming language
  3. Copy and paste the code to your project
  4. Update Api-Key field with your unique API Key
  5. Update file with the local path to your input
  6. Run this code to send an API Call
See more code examples in our
GitHub repository
Try pdfRest with just a few clicks
Download our Postman Postman Collection
curl -X POST "https://api.pdfrest.com/linearized-pdf" \
  -H "Accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  -F "file=@../Sample_Input/toLinearize.pdf" \
  -F "output=example_out"
Customize Your Solution
File

The file parameter allows you to select a local file to be uploaded to pdfRest’s processing server.

Generate a self-service API Key now!

Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.

Compare Plans
Contact Us