No upload, 100% local, no account

Compress PDF

Shrink your PDF by losslessly optimizing its internal structure, no image quality loss. The result is local; nothing is sent to a server.

How Compress PDF works

Reduce the size of a PDF with pdf-lib. Pick your file and download a leaner version.

pdf-lib rebuilds the document with object streams and Flate (zlib) compression applied to every content stream, which trims PDFs that were saved with uncompressed or inefficiently packed data. It is lossless structural compression, no page is rasterised, so the text layer stays selectable and searchable; files that are already optimally compressed will shrink little.

Frequently asked questions

Are my files uploaded to a server?

No. The PDF is loaded and rebuilt by pdf-lib running inside this browser tab, your document is read into memory on your own device, recompressed there, and the leaner file is offered as a local download. Nothing is sent to Sunasty or any third party. Confirm it yourself: open DevTools, go to the Network tab and watch, no request carries your document.

How does the compression work?

pdf-lib re-saves the document with object streams enabled and applies Flate (zlib) compression to every content stream. The biggest savings come from PDFs exported with uncompressed or redundant data; a file that is already tightly packed may barely change in size. It is lossless structural compression, no page is rasterised or downgraded.

Will the text stay selectable and searchable?

Yes. The compression only re-packs the existing streams; the text layer, fonts and document structure are preserved, so selecting and searching keep working exactly as before.

Does it work offline?

Yes, once the page has loaded. Because the processing happens on your device, you can disconnect from the network and the tool keeps working. This is the clearest proof that your data never leaves your machine.

Is it free? Do I need an account?

It is completely free and requires no sign-up. There are no watermarks, no daily limits and no tracking cookies needed to use the tool.