Compress PDF

Reduce PDF file size in your browser with qpdf WASM, without sending the file to a server.

qpdf can compress streams, generate object streams, and optionally linearize the output for web delivery.

Upload a PDF to compress

Choose a PDF file or drag it here. The file is compressed locally in your browser.

Pages0 pages
Input size0 B
Output size
0%
Waiting for a file

Standard compression

Compress PDFs locally

PDF compression works best when the file has large uncompressed streams, duplicate resources, or room to rebuild the internal object structure.

qpdf can compress streams, generate object streams, and optionally linearize the output to make it smaller and friendlier for web delivery.

Browser-only

Your PDF stays on your device while qpdf WASM rewrites it locally.

Real qpdf optimization

This uses qpdf's real structural compression flags, not a fake metadata-only rewrite.

Download a smaller file

The output is a new PDF with size reduction tracked in the UI after the job completes.

Frequently Asked Questions

Does this upload my PDF?

No. The PDF is processed locally in your browser.

Will every PDF get much smaller?

No. Files that are already optimized may only shrink a little, or not at all.

Is the output a real PDF?

Yes. qpdf writes a fresh PDF file that you can open normally after download.

Can I use this for web delivery?

Yes. The aggressive mode linearizes the output for faster first-page viewing in browsers.

Related Tools