PDF Compressor

Shrink PDF file size in your browser. Keep text selectable, or go aggressive for 50–90% smaller files.

Runs entirely in your browser — nothing is uploaded

Balanced mode re-encodes embedded images — JPEG and the FlateDecode bitmaps that screenshots and office exports produce — and leaves the text layer untouched. Savings depend entirely on how image-heavy the PDF is. Images it cannot re-encode safely (transparency masks, JPEG 2000, CMYK) are left alone, and it tells you exactly how many and why rather than pretending.

Drop files or click to browse

PDF files · processed entirely on your device

About the PDF Compressor

Most online PDF compressors upload your file to a server you know nothing about — which is a genuine problem when the PDF is a contract, a payslip, a passport scan or anything covered by your employer's data policy. This one does the work locally.

Two engines are available. Balanced walks the PDF's embedded image streams, re-encodes each one at your chosen quality, strips metadata, and rewrites the file — your text stays fully selectable and searchable, and typical savings land between 20% and 60% depending on how image-heavy the document is. Aggressive instead renders every page to a canvas at a DPI you choose and rebuilds the document from those images: savings of 50–90% are normal, but the output is a picture of your document, so text can no longer be selected or searched.

Use Balanced for anything you still need to copy text out of, or that has to stay accessible to screen readers. Use Aggressive for scans, for email attachment limits, and for documents that were photographs to begin with.

Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.

Frequently asked questions

Is my PDF uploaded anywhere?

No. The file is read locally and processed on your own machine. There is no server to upload to — this site is static hosting. You can verify it by disconnecting from the internet after the page loads; the tool still works.

Why did my PDF barely get smaller?

Balanced mode compresses embedded images. A PDF that is mostly vector text and line art has very little to squeeze, so gains are small — which is the honest outcome, not a failure. Try Aggressive mode if you need the size down regardless, and accept that text becomes non-selectable.

Will the text still be selectable?

In Balanced mode, yes — the text layer is preserved untouched. In Aggressive mode, no: pages are rasterised into images, so text becomes pixels.

Is there a file size limit?

Only your device's memory. Because processing is local, there is no upload cap. Very large or image-heavy files can take a while and will make the tab unresponsive while they process, because canvas work has to happen on the main thread.

Does it work offline?

Yes. Once the page has loaded, the tool runs entirely offline.