Compress PDF is a REST API tool that maximally reduces file size while preserving the integrity of document content using industry-leading optimization technology.
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.
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.
Api-Keyfield with your unique API Key
filewith the local path to your input
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"
file parameter allows you to select a local file to be uploaded to pdfRest’s processing server.