comparison

Best PDF Compression Tools That Don't Upload Your File (2026)

Last updated: 11 June 2026

How to verify a PDF compressor isn't uploading your file

Open DevTools (F12 or ⌘⌥I) → Network tab → check Disable cache. Drop your PDF into the tool and trigger compression. If you see a POST request carrying your file data, the tool uploads. A genuinely client-side compressor like brevio shows only static asset requests (JS, CSS) — no outbound file data. This test takes 30 seconds and works on any browser-based PDF tool.

Most online PDF compressors — Smallpdf, iLovePDF, PDF2Go — upload your file to their servers, run compression server-side, and return the result. For confidential documents (contracts, financial records, medical files) this is a privacy trade-off. Client-side PDF compressors eliminate the upload by running the compression algorithm in your browser.

How Does In-Browser PDF Compression Work?

brevio's PDF compressor uses pdf-lib compiled to WebAssembly. The library reads the PDF structure, removes redundant objects, and re-serializes the document with lower-overhead metadata. This works best on PDFs with uncompressed metadata, redundant cross-reference tables, or embedded thumbnails. For PDFs already compressed at the source (images already at max JPEG compression), gains are modest.

PDF Compressor Comparison

ToolUpload?Free?Best ForWorks Offline?
brevio PDF CompressNo — in-browserYesMetadata-heavy PDFs, privacyYes (once loaded)
Smallpdf CompressYes — server uploadFreemium (2/day)Image-heavy PDFs, large reductionsNo
iLovePDF CompressYes — server uploadFreemiumImage-heavy PDFsNo
Ghostscript (CLI)No — local appFree (open source)Maximum compression, batch processingYes
Adobe Acrobat ProNo (desktop) / Yes (online)PaidFine-grained control, image downsamplingYes (desktop)

How Much Can a PDF Be Compressed?

Compression results depend on what's inside the PDF:

  • PDFs with uncompressed text and vector graphics: 20–60% reduction is typical. These files have the most overhead to remove.
  • PDFs with embedded JPEG images: 5–15% reduction. JPEG is already compressed; you can squeeze more by re-encoding images at lower quality, but that requires server-side processing with direct JPEG re-compression.
  • Scanned document PDFs (images of pages): 10–30% reduction with metadata removal; much larger reductions (50–80%) if you re-sample the page images, which requires a more capable tool.
  • Already-compressed PDFs: Near zero gain. If a PDF was exported from Word or macOS Preview, it's already well-compressed. Don't expect more than 2–5%.

Which brevio PDF tools help reduce file size?

All five tools run entirely in your browser using pdf-lib and WebAssembly. No server upload, no file size limits, no watermarks, no account required.

Ghostscript: Maximum Compression (Command Line)

If you need maximum compression and are comfortable with a terminal, Ghostscript is the most powerful free option. It re-encodes embedded images, downsamples high-resolution images, and removes all unnecessary PDF features:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \ -dNOPAUSE -dQUIET -dBATCH \ -sOutputFile=output.pdf input.pdf

Settings: /screen (lowest quality), /ebook (150dpi, good balance), /printer (300dpi, high quality), /prepress (maximum quality, minimal compression). This runs locally on your machine — nothing is uploaded.

Frequently Asked Questions

Which PDF compressors are genuinely client-side (no upload)?
brevio PDF Compress, Ghostscript (command-line), and Adobe Acrobat desktop app process PDFs locally. Most online tools (Smallpdf, iLovePDF, PDF2Go) upload to their servers. Verify with the DevTools Network tab: no outbound POST requests with file data means the tool is local.
How much can a PDF be compressed?
It depends on the content. PDFs with uncompressed text and vector graphics: 20–60% reduction. PDFs with image-heavy content: 5–15% from metadata removal alone; up to 80% with image downsampling. Already-compressed PDFs: near-zero gain (2–5%). Ghostscript produces the best results for image-heavy PDFs.
What does PDF compression actually do?
PDF compression removes redundant objects, trims metadata overhead, and (for some tools) re-encodes embedded images at lower quality. brevio uses pdf-lib for structural compression — removing redundant cross-references and metadata. Server-side tools additionally re-compress embedded images, which is why they achieve larger reductions.
Why do server-based PDF compressors achieve better results?
Server-based tools (Smallpdf, iLovePDF) can re-encode embedded JPEG images at lower quality, downsample high-resolution images, and apply multiple compression passes. These operations are compute-intensive and technically possible in the browser but slower and less optimised. For maximum compression with privacy, use Ghostscript locally.
More free toolsSee all 109
Merge PDFsCompress ImageJSON FormatterPassword GeneratorVAT CalculatorQR Code Generator