Lossless PDFCompression API

One API call shrinks your PDFs — every document preserved exactly, no quality loss. Integrate in minutes.

Try it now

Drop a PDF here, or click to choose

No signup · Lossless — your file is preserved exactly

Files are processed in memory and never stored. Get an API key →

It's just one API call

Send a PDF, get a smaller one back. Works with any language — no SDK required. Pass mode=aggressive when you want maximum savings on scans and photos.

# Compress a PDF with cURL
$ curl -X POST https://whipdoc.com/api/v1/pdf/compress \
-H "X-API-Key: your_api_key" \
-F "file=@document.pdf" \
-o compressed.pdf
# Response: 2.4MB → 1.8MB (lossless)

Truly lossless

We never touch a pixel. Unlike tools that quietly downsample your images to fake big numbers, every byte of your document is preserved exactly. Need more? Opt into aggressive mode.

Simple REST API

Clean, well-documented endpoints with sub-second response times. Upload a file or pass a URL, get binary or JSON back. Integrate in minutes.

Private by design

Your PDFs are processed entirely in memory and never written to disk or stored. Nothing to leak, nothing to subpoena — ideal for legal, health, and financial documents.

Ready to optimize your PDFs?

Start with 50 free compressions per month. No credit card required. Upgrade anytime as your needs grow.