Compress PDF
Want to go further? These step by step guides cover it in detail.
Drop your PDF here
or click to browse
How to Compress a PDF
Drop your PDF
Drag your PDF onto the box or click to select it from your device.
Compress
Click Compress PDF. The file is rewritten in your browser, with no settings to pick.
Download result
See the size reduction and download your smaller PDF.
Best for: Trimming PDFs that were exported or edited inefficiently, without any risk to quality, and checking the exact size before you send
Limitations: A lossless structural rewrite only. It never recompresses or downsamples images, so scans and photo-heavy PDFs usually shrink very little, and an already optimized file may not shrink at all
Best suited for: Office staff whose attachment keeps bouncing back for exceeding a mailbox size limit
Frequently Asked Questions
Understanding PDF Compression
PDFs get large mainly because of embedded images and fonts. There are two broad ways to make one smaller. Lossy compression downsamples or re-encodes images, which can shrink scans a lot but throws away detail you can't get back. Lossless compression keeps every pixel and every character, and only changes how the file is packed. This tool does the lossless kind, entirely in your browser, so it's safe for any document, but it can't do much for a file whose weight is mostly image data. For scans, rescanning at a lower resolution or in greyscale usually saves far more. Our PDF compression guide explains both approaches.
How Does PDF Compression Work?
This tool does a structural, lossless rewrite. It loads the PDF in your browser with the open-source pdf-lib library and saves it again. It packs the file's internal objects into compressed object streams and rebuilds the cross-reference data, which can trim files that were saved inefficiently. It doesn't touch the images, so it won't lower their resolution or quality. That's why photo-heavy and scanned PDFs, where most of the weight is image data, usually shrink only a little.
This is why results vary so widely. Two PDFs with the same number of pages can behave completely differently, depending on the software that saved them. The object streams and cross-reference streams used in the rewrite are part of the PDF standard, ISO 32000-1.
When Should You Use PDF Compression?
The usual trigger is an email or upload limit. Most mail providers cap attachments at around 20 to 25 MB, and many government or bank portals set far lower limits. Compression is also worth running before publishing a PDF on a website, since a large file is slow to open on mobile connections.
Because the rewrite is lossless, it won't harm a print-ready file. But it does create a new file, so it removes any existing digital signature. Compress before signing, and keep your original either way.