PDF Compress
Losslessly optimise a PDF: object streams are rebuilt and producer metadata stripped, then the honest before/after size is shown before you download.
How to use
- Choose the PDF you want to shrink.
- Press Optimise — the document is rebuilt with object streams locally.
- Compare the before/after sizes shown, then the optimised file downloads.
Example
Input: scanned-memo.pdf — 4.20 MB
Output: scanned-memo-optimized.pdf — 3.85 MB (−8%)
How it works
The PDF is re-saved with object streams and producer/creator metadata stripped. Image data is not recompressed, so the size saving is shown honestly — if the file barely shrinks, the result says so.
The PDF is re-saved with object streams and producer/creator metadata stripped. Image data is not recompressed.
A 4.20 MB scanned memo compresses to about 3.85 MB (−8%) and downloads as scanned-memo-optimized.pdf.
Edge cases to know
- This is lossless clean-up: photos inside the PDF are not recompressed, so image-heavy files may barely shrink.
- Already-optimised PDFs can end up marginally larger — the result is shown before download either way.
- Encrypted (password-protected) PDFs are not accepted.
Limits & compatibility
- This is lossless clean-up: photos inside the PDF are NOT recompressed, so image-heavy files may barely shrink.
- Already-optimised PDFs can end up marginally larger — the result is shown before download either way.
- Encrypted PDFs are not accepted.
Privacy
The optimisation runs with pdf-lib in your browser. The file never leaves your device.
Related tools
Questions about PDF Compress
How does PDF compression work here?
The PDF is re-saved with object streams and producer/creator metadata stripped. It is lossless clean-up: photos inside the PDF are not recompressed.
Why did my file barely shrink?
Because image-heavy files barely shrink — the photos inside are not recompressed, so the saving comes only from the file structure and metadata. The result is shown honestly before you download.
Can the compressed file end up larger than the original?
Yes — already-optimised PDFs can end up marginally larger. The result is shown before download either way, so you can keep the original if compression does not help.
Can I compress a password-protected PDF?
No — encrypted PDFs are not accepted. The file is processed in your browser and never uploaded.