UtilForge
No upload Runs in this tab Nothing stored

Compress PDF

Shrink a PDF without uploading it anywhere.

Presets or a target size in KB. Processing is local — WASM-class privacy: your file never leaves this browser. Raster modes can lose selectable text; very large files may hit tab memory.

Privacy first — files stay on this device

Drop a PDF and it is read into memory only. We do not upload, email, or keep a server copy. Libraries load in this browser tab; your files never leave your device.

Drop a PDF here

or choose a file — application/pdf. Multiple select is accepted; this tool compresses the first file.

Mode
Quality preset

Strong shrinks most (more JPEG). Light keeps more detail. All three rasterize pages in this tool.

Starting…

Original
Compressed
Saved
Path used

How compression works in your browser

Nothing is posted to UtilForge. The file is an ArrayBuffer in this tab. Two engines run entirely on-device:

1. Lossless rewrite (always available)

pdf-lib reloads the document, clears title/author/producer metadata, and writes a fresh file with object streams. Text, vectors, and existing images stay as-is. Typical win: leftover metadata and a slightly tighter structure — often only a few percent.

2. Image downsample path (presets + target size)

pdf.js paints each page to a canvas. We JPEG-encode that bitmap and assemble a new PDF. Strong / Balanced / Light change render scale and JPEG quality. Target-size mode loops quality until the blob is near your KB goal. This is lossy: pages become pictures.

What this tool can't do

This tool does not ship qpdf/pdfium WASM, so it cannot recompress embedded image XObjects or keep a live text layer on the lossy path. Bytes never leave the machine.

Questions people ask

Does this PDF compressor upload my file?

No. Processing stays in the browser tab with local libraries. Community threads about “private PDF compress” usually mean exactly this: turn off Wi‑Fi and confirm it still works.

Why did my compressed PDF lose selectable text?

Raster-style compression redraws pages as images, which can drop text selection and search. Prefer rewrite/lossless-leaning modes when you need selectable text.

Can it open password-protected PDFs?

Password PDFs are rejected by design in this tool. Unlock elsewhere only if you have the right to do so, then compress the unlocked copy locally.

How large a PDF can the browser handle?

Tab memory is the limit. Very large or image-heavy PDFs can freeze or fail in-browser — that is a known limitation, not a server quota.

FAQ

Does this compress PDF tool upload my file?

No. Your PDF is read into memory in this browser tab and never sent to a server. Library scripts load from this browser.

Is Compress PDF free?

Compression runs locally in your browser. You do not upload the file and you do not need an account to compress.

How does in-browser PDF compression work?

pdf-lib rewrite strips metadata. The downsample path renders pages with pdf.js, JPEG-encodes them, and builds a new PDF. This pack uses pdf-lib rewrite plus an optional pdf.js raster path.

Will I lose selectable text after compressing?

Lossless rewrite keeps text. Strong / Balanced / Light and target-size rasterize pages, so the download is image-only unless you tick “Lossless rewrite only.”

Can I hit an exact file size like 500 KB?

We iterate quality and show achieved vs target. JPEG steps mean an exact byte count is not guaranteed. If the rewrite already fits, we keep live text.

Is my PDF stored, logged, or used for training?

No. Closing the tab or hitting Reset drops the in-memory copy. This tool does not POST the file or write it to IndexedDB.

What if my PDF is password-protected or very large?

Encrypted files error out (this tool does not prompt for a password). Files over 25 MB get a memory warning. Very large files may hit browser memory limits.

When should I use Adobe Acrobat, Nitro, Foxit, or Smallpdf Pro?

When you need OCR, forms, redaction, or compression that keeps live text. This page is the no-upload shrinker.

Need to remove sensitive text from a PDF (not just shrink it)? Rebuild the pages so blacked-out words are actually gone — free in the browser, $29 to own.