Compress PDF

Compress PDF

Compress PDF is a REST API tool that maximally reduces file size while preserving the integrity of document content using industry-leading optimization technology.

Get the best with pdfRest

Unmatched File Size Reduction

pdfRest’s compression technology results in PDF documents with the smallest file sizes and highest fidelity of preserved content compared to other leading PDF technology offerings.

pdfRest reduces file size by an average of 53% with the low compression setting through 68% with high compression and can reach up to 98% file size reduction for image-heavy PDFs.

Simple Interface, Complex Algorithm

Your choice is simple - select from high, medium, or low compression for a tradeoff between more size reduction or higher fidelity of preserved content. A quick comparison of results will help you determine just the right fit for your application.

Under the hood, pdfRest applies a complex series of operations to remove all unused, unneeded, and redundant information from the file. No need to dive into these weeds -put our PDF exports to work, so you can fast-track results.

Proprietary Technology from PDF Experts
pdfRest builds upon gold-standard Adobe® optimization technology to achieve industry-leading results. Our team of PDF experts has spent over a decade improving compression technology to handle just about every edge case and combination of PDF conditions out there.

If you have specific requirements, Compress PDF offers a customized option for adjusting all of the granular settings to meet your needs, and our PDF experts are happy to help!

Start from Code Examples

  1. First, you'll need an API Key - visit Get Started to:
    • Stay anonymous with a Guest API Key for 50 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/compressed-pdf" 
  -H "accept: application/json" 
  -H "Content-Type: multipart/form-data" 
  -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" 
  -F "file=@PATH_TO_FILE/example_file.pdf" 
  -F "output=example_output" 
  -F "compression_level=high"

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 Guest API Key to start processing PDFs in seconds, only possible with pdfRest.