Compress PDF

Reduce the size of a PDF with safe, structure-based optimisation — entirely in your browser. Your file never leaves your device.

Stays on your device. Nothing gets uploaded.

Drag & drop your PDF here

or browse your device — one PDF at a time

Everything is processed locally — nothing is uploaded.

Frequently Asked Questions

How does this PDF compressor work?
It optimises the internal structure of the file with the pdf-lib library: objects and the cross-reference table are packed into compressed object streams, unreferenced leftovers are dropped when you choose the maximum mode, and the hidden document metadata (title, author, creator, producer and dates) is removed. Your pages are never rewritten.
Will compressing reduce the quality of my text and images?
No. The compressor never re-encodes your content: text stays selectable and searchable, fonts stay embedded, and every image stream is copied byte-for-byte, so quality is preserved perfectly. The saving comes from the file structure, not from degrading what is inside it.
Is my PDF uploaded to a server?
No. Compression runs entirely inside your browser with the pdf-lib library, so your document is read locally and never uploaded, stored or shared. There is no sign-up, no watermark and nothing to install.
How much smaller will my PDF get?
It depends on the file. PDFs whose structure was never optimised, or that carry unused objects and attachments, often shrink by 10 to 60 percent, while files that are already optimised may barely change. The tool always shows the before and after size and tells you honestly if the rebuilt file is not smaller.
Does it work on password-protected PDFs?
No. Encrypted PDFs cannot be read without their password, so the tool asks you to remove the password first and then compress the unlocked file.

Made by the DesyBox team. Last touched: October 2026.