Compress PDF API for Developers
Use the sandbox below to test compression quickly. Detailed notes are at the bottom of this page.
Use cases
When to compress
- Meet portal upload limits
- Speed up document review
- Lower storage and bandwidth
- Optimize email attachments
Parameters
What you send
The PDF URL to compress.
low / medium / high / max
url or file
Filename used when downloading.
Description
Implementation notes and workflow guidance
Reduce PDF size for faster uploads, email delivery, and storage.
Tune compression level to balance readability and file size, then run the same request payload from your backend, queue worker, or no-code automation platform to keep document delivery fast and predictable.
For high-volume pipelines, compare original vs compressed size in logs and set routing rules for files that do not meet your target ratio. This helps prevent unnecessary quality loss while still improving transfer speed for web portals, email delivery, and downstream archival systems.
You can also standardize compression presets per document type, then track outcome quality using sample review checkpoints. This gives teams a repeatable way to reduce storage cost without degrading the readability users expect in contracts, invoices, and operational reports.