Free Offline PDF Compressor & Size Reducer

Shrink oversized PDFs without uploading a single byte to any cloud server. Re-encode heavy scans and image-rich PDFs at custom DPI and JPEG quality with optional grayscale, or run Lossless Structure Cleanup to strip metadata and compact object streams while keeping text selectable.

Zero Server Uploads Re-encode & Lossless Modes Optional Grayscale Shrink Live Before/After Savings

Compress PDF Locally in Browser Memory

Drop any PDF below or click Load Sample PDF to test instant client-side compression and see live byte savings.

Drop a PDF file here or click to browse
Powered by client-side PDF.js + pdf-lib — your documents never leave your device
Compressing page 0 of 0... 0%

Why Compress Sensitive PDFs Offline Instead of Uploading to Cloud Tools?

Almost everyone hits a strict file-size cap at the worst possible time: a visa or passport renewal portal that rejects files over 2 MB, a job application system that limits resumes and portfolios to 5 MB, an accounting platform that blocks scanned tax returns, or an email server that bounces a 28 MB signed lease agreement. The fastest reflex is searching for an online PDF compressor—yet almost every mainstream web tool uploads your entire file to a remote cloud server before returning a smaller download link.

When your PDF contains passport scans, Social Security or national ID numbers, W-2 and 1099 tax filings, bank statements, medical records, NDAs, or unannounced client contracts, uploading it to an unfamiliar third-party server creates an unnecessary privacy exposure. Even services promising automatic deletion still transmit and temporarily store sensitive records on external infrastructure outside your control. LocalVault's offline PDF compressor eliminates that risk completely: both page rasterization (via Mozilla's PDF.js) and PDF reconstruction (via pdf-lib) execute strictly inside your browser's local RAM. Zero bytes are uploaded, no account is required, and no watermarks are ever added.

Choosing Between Page Re-Encoding and Lossless Structure Cleanup

Not all oversized PDFs are bloated for the same reason. Scanned documents, phone photos converted to PDF, and slide decks with uncompressed PNG graphics are huge because of raw image pixel data, whereas digital invoices, resumes, and exported reports often carry redundant metadata and uncompressed internal object tables. LocalVault gives you two dedicated local engines so you can match the method to your file:

Compression Mode / Preset How It Works Best For Selectable Text
Light — 150 DPI / 85% Re-encodes pages as high-clarity JPEG and packs with object streams Portfolios, color brochures, detailed tables, and high-legibility scans Rasterized
Balanced — 120 DPI / 72% Re-encodes pages at crisp web/email resolution with compact JPEG Scanned contracts, receipts, tax packets, and 2–5 MB upload portals Rasterized
Maximum — 96 DPI / 55% Aggressive pixel downsampling + strong JPEG compression Long multi-page scans, archiving, and strict attachment limits Rasterized
Lossless Structure Cleanup Strips Title/Author/Creator/Producer/Keywords & enables PDF object streams Text resumes, digital invoices, legal drafts, and ATS-friendly PDFs 100% Preserved

Practical Tips for Maximum PDF Size Reduction

Frequently Asked Questions

How can I compress a PDF offline without uploading it to a server?

Drop your PDF into the workspace above. All page rendering, optional grayscale conversion, metadata stripping, and PDF re-assembly run inside your browser tab's local memory using client-side PDF.js and pdf-lib, so zero bytes ever leave your computer.

What is the difference between Re-encode Pages mode and Lossless Structure Cleanup mode?

Re-encode Pages renders each page at your chosen DPI (150, 120, or 96 DPI) and JPEG quality, delivering the largest size reduction (often 50%–85%) on scanned PDFs and image-heavy files. Lossless Structure Cleanup removes metadata and compacts PDF object streams without rasterizing pages, preserving vector fonts and selectable text.

Which compression preset should I choose for email attachments or upload portals?

Start with Balanced (120 DPI / 72%) for contracts, forms, and portals with 2 MB or 5 MB limits. Choose Light (150 DPI / 85%) for color charts or fine print, or Maximum (96 DPI / 55%) with Grayscale checked for long black-and-white scans.

Is it safe to compress passports, tax returns, or signed contracts here?

Yes. Every step runs in client-side JavaScript memory with zero network uploads. You can verify this anytime in your browser's DevTools Network tab or by turning off Wi-Fi after loading the page.

Why did a tiny text-only PDF stay almost the same size or grow in Re-encode mode?

Pure vector text PDFs without embedded photos are already compact, so turning vector glyphs into JPEG bitmaps can increase byte size. For text-only PDFs, switch to Lossless Structure Cleanup mode to strip metadata and compact object streams cleanly.

More Private Browser-Local PDF & Image Tools

Merge PDFs Offline

Combine multiple confidential contracts, receipts, or tax forms in custom order directly inside browser RAM.

Open PDF Merger →

Offline PDF Splitter

Extract specific page ranges (1-3, 5), remove sensitive pages, or burst every page into a ZIP.

Open PDF Splitter →

Offline PDF to JPG Converter

Render PDF pages locally to crisp JPG, PNG, or WebP images at up to 216 DPI with 1-click ZIP download.

Open PDF to JPG Converter →