Compress PDF
Reduce the size of a PDF file by re-saving with object streams. Your files never leave your device — all processing happens locally in your browser.
Drop your PDF here
or click to choose a file
Your files never leave your device.
Re-saves the PDF with object streams to shrink file size. Already-compressed PDFs may not shrink further.
Compress PDF reduces the file size of your PDF by re-saving it with object streams and optimized internal structures. The process runs entirely in your browser — your file is never uploaded. Compression is lossless for text and vector content; image-heavy PDFs may see modest reduction since images are not re-sampled.
How it works
How to use Compress PDF
- 1Drop your PDF. Drag and drop a PDF file onto the drop zone, or click to choose a file from your device.
- 2Click Run Compress PDF. The tool re-saves your PDF using pdf-lib with object stream compression. This happens in a Web Worker on your device.
- 3Download the result. The compressed PDF is offered as a download. You can compare the original and compressed sizes before saving.
Features
What this tool does
- Lossless text and vector compression via object streams
- Shows original size, compressed size, and percentage reduction
- No upload — runs entirely in your browser
- Works offline once the page is loaded
Limitations
Things to know
- Image-heavy PDFs see modest reduction (images are not re-sampled or re-encoded)
- Already-optimized PDFs may not shrink further
- Encryption and form fields are preserved but not recompressed
FAQ
Frequently asked questions
Is the compression lossless?
Text and vector content is compressed losslessly. Images are preserved as-is — we do not re-encode or downsample them, which could degrade quality.
How much can I expect my PDF to shrink?
It depends on the PDF. Text-heavy documents often shrink 20–60%. Image-heavy or already-optimized PDFs may see little to no reduction.
Are images, fonts, and links preserved?
Yes. All pages, images, fonts, annotations, and links are preserved. The output is a valid PDF with the same content, just a smaller file.
Is my file uploaded anywhere?
No. Compression happens entirely in your browser using a Web Worker. Your file never leaves your device.