Skip to content
100% local · 0 KB uploadedCompress PDF

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.

Private by design
Your files never leave your device. All processing happens locally in your browser — no uploads, no servers.

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

  1. 1
    Drop your PDF. Drag and drop a PDF file onto the drop zone, or click to choose a file from your device.
  2. 2
    Click 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.
  3. 3
    Download 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.