Skip to main content

Compress PDF

Compress PDFs online free: re-encoding embedded images shrinks the file, text and vectors stay intact. Batches tell you honestly why a PDF won't shrink. 150MB each, no upload.

Runs on your device — nothing is uploaded

The upload portal's 5MB limit, the mailbox's 10MB attachment cap, the bidding platform's size requirement for electronic submissions — oversized PDFs almost all share one cause: they are stuffed with photos and scanned pages. Text, links and vector graphics occupy only a few KB inside a PDF, while a single 300dpi color scan can run to hundreds of KB.

This tool shrinks files by re-encoding embedded images: decode, scale the resolution down where needed, write back at lower quality — while text, vectors, links and form fields are left exactly as they are, so the text stays selectable and searchable and the page dimensions don't change. The batch queue handles many files at once, and a file that won't shrink gets the honest reason why, not a forced "success". Everything runs inside the browser — files never leave your device.

How to Compress a PDF

Add PDFs (batch supported)

Drag one or more PDFs into the workspace. The per-file ceiling is 150MB — an honest boundary set by browser memory, not a commercial limit. Every file gets a double check: beyond the extension, the file's magic-number header is read, and a different file renamed to .pdf is stopped before anything starts.

Pick a compression level

Three levels to choose from, applying to the whole batch; switching levels clears existing results, so you can't mistake an old result for the new level.

Compress

Files are processed serially, each with its own progress plus an overall batch progress — serial on purpose: concurrency would blow browser memory on large PDFs. As each finishes you see the original size, the result size, the percent saved, how many images were re-encoded, and the page count.

Download the results

Download one by one, or take the whole batch as a ZIP with one click. Total batch savings are summed up on the spot.

The Real Numbers Behind the Three Levels

The levels aren't three adjectives — low, medium, high — but two sets of concrete numbers: the quality parameter and the resolution cap together decide what each image is re-encoded into:

Level JPEG quality Long-edge cap Positioning
Smallest file 55% 1200 px Email attachments, hard platform ceilings — passing the gate beats looks
Balanced (default) 72% 1600 px Most documents show no visible difference at normal reading size
Best quality 85% 2200 px Drawings and small-print documents; images already below the cap are not scaled further

Two fixed rules run through all three levels: scale down only, never up (images smaller than the cap keep their original resolution — no blowing them up just to compress them back), and replace only when smaller (whenever a re-encode comes out bigger than the original, the original is kept and that is recorded honestly in the results).

The Four Encoding Routes of Embedded Images

Images inside one PDF can be stored in completely different ways, and only one of them suits re-encoding. The tool classifies each image by the filter (/Filter) it inspects individually:

Encoding Typical content What this tool does
DCTDecode (JPEG) Photos, color scans Re-encodes — the main source of savings, about nine-tenths of image bytes in measured samples
FlateDecode Icons, small graphics Skipped — mostly small images, where a JPEG re-encode often comes out bigger and jagged
CCITT / JBIG2 Black-and-white fax scans Skipped — no matching encoder in the browser
JPXDecode (JPEG 2000) A few professional documents Skipped — same as above

Beyond the filter there are four safety checks; failing any one skips that image: images with a transparency channel (/SMask) are left alone — replacing them would lose transparency; CMYK four-component images are left alone — a browser re-encode would shift the colors; the rare image whose bit depth isn't 8 is left alone; chained filters are left alone — unverified multi-layer semantics are not something to gamble on. Better to miss an image that could have been compressed than to produce a color-shifted, transparency-stripped or broken image — that is the kernel's fixed bottom line.

Diagnosis: Why Some PDFs Won't Shrink

After compression, every file carries a one-line diagnosis that spells out the truth about "didn't get smaller":

Pure text/vector documents

The size is already near the content's floor; there are no images to compress. This isn't a malfunction — a plain-text letter simply has no 90% to save.

Images already highly compressed

A previous pass already compressed them; another round saves little. Accept the current size, or go back to the source and re-export — that works better.

Fax-style black-and-white scans

CCITT/JBIG2 specialty coding is something the browser cannot re-encode. The real way out is at the scanning step: rescan at a sensible resolution — far better than wrestling with the finished file.

Re-encoding comes out bigger

Common with small images and flat-color art — in that case what you download is the original file itself, never a bigger one.

Digital Signatures: Compression Inevitably Invalidates Them

A digital signature covers the file's bytes themselves. Any rewrite — compressing, merging, splitting, saving again — makes the signature check fail. That is not a defect; it is exactly what a signature is for: proof that nothing changed after signing.

The tool scans the document for signature dictionaries (type /Sig, or the /ByteRange + /Contents signature-value structure as a pair) and warns explicitly in the results when one is found, instead of quietly compressing. Keep the originals of signed contracts and invoices; when compression is truly needed, compress a copy that doesn't need to keep the signature.

Encrypted PDFs must be unlocked first — pair this with the PDF unlock tool.

Frequently Asked Questions

Does compression break selectable, searchable text?

No. That is the tool's first design rule: never rasterize a whole page — only embedded image objects are replaced, and not one byte of the content streams is touched. Text, links and forms stay as they are; copying, searching and screen-reader access are all unaffected.

Why did my PDF shrink only a few percent?

Read the diagnosis: a text-only document has no images to compress; the scans had already been through a round; or what's left are small Flate icons. Match your case and stop — re-running the same file gives the same result.

Can I compress to an exact size (say, under 5MB)?

This tool compresses by level, not to a target byte count. If a file still exceeds the limit after Smallest file, consider splitting it into volumes with the PDF splitter, or re-exporting from the source at a lower resolution — both routes beat compressing the finished file over and over.

Can encrypted PDFs be compressed?

Not directly. Remove the password first with the PDF unlock tool, then compress the unlocked copy.

Is there a batch limit?

No. Files are processed serially with individual progress, and one failure never blocks the rest. The per-file ceiling is 150MB; anything larger is flagged with its reason at the validation stage.

Will images get blurry after compression?

Yes — how much depends on the level. Smallest file visibly affects sharpness when zoomed in; Balanced is usually imperceptible at normal reading size; for drawings and dense small-print documents use Best quality and check the key pages by eye. An image whose resolution was scaled down cannot be restored on this site — for original quality, go back to the source file.

Does saving optimize the structure as a bonus?

It does. The output is repacked with compressed object streams, and the cross-reference table itself shrinks — so even when the images save little, the structure layer usually trims a bit more.

Related tools

Guides

Longer write-ups on the things these tools deal with: file formats, size limits, and the algorithms behind them.