Compress a PDF File

Two modes with very different outcomes: one repacks the file and keeps every pixel and character, the other turns pages into images and gets much smaller. The choice depends on whether you still need to select and search the text.

Compression runs on your device — the file never leaves the browser. Works offline.
Drop your PDF here
or click to browse · 100 MB max on desktop, 30 MB on mobile
Advertisement

Two different operations, one button

"Compress a PDF" conflates two unrelated things, and picking the wrong one wastes your time:

  • Lossless optimization leaves page content alone and rewrites the container: packs scattered objects into object streams, removes redundant cross-reference tables, clears metadata. Quality and the text layer are unchanged, but the gain is a few percent at best and often zero.
  • Scan compression renders every page to a JPEG and rebuilds the PDF from those images. Size drops to a third or less; the entire document stops being text you can select or search.

The test is simple: will you still need to search, copy or click inside this file? If yes, take lossless — even if it saves nothing. If no, trade the text layer for size.

Why lossless compression often saves nothing

A PDF's size is dominated by images and fonts, and neither can be touched in a lossless pass: re-encoding a JPEG is inherently lossy, and dropping font subsets turns text into garbage. What is left is structural overhead — cross-reference tables, uncompressed small objects, duplicated dictionaries. Word, Chrome and every modern reporting tool already handle those well, so optimizing their output again lands close to zero.

That is a deliberate trade here: if the rewritten file would be larger, keep the original and say why on the page. Plenty of tools skip that check and hand you a bigger file, leaving you to assume your document was the problem.

What scan mode actually does

Each page is drawn onto a canvas by the browser's rendering engine — with a white background painted first, otherwise JPEG encoding produces black — then encoded as JPEG at your chosen resolution and reassembled into a PDF that keeps the original page dimensions. It looks almost identical when opened, but internally the file has changed from vector pages into a stack of images.

That conversion is one-way: bookmarks, links, form fields, annotations and the searchable text layer all disappear. For scans, photocopies and brochures — documents that were images to begin with — nothing of value is lost. For contracts, invoices and reports that need to be searched, a lot is.

What this site does not do

Taking a 100 MB file down to 5 MB while keeping the text requires server-side Ghostscript or qpdf, doing image downsampling and font subsetting. That toolchain does not fit in a browser, so no such promise is made here. Extreme compression ratios require an upload — and not uploading is the whole point.

Advertisement

Frequently asked questions

Why does lossless compression sometimes save nothing at all?
Because there is nothing redundant left to remove. Lossless optimization rewrites the internal structure: small objects get packed into object streams, duplicate cross-reference data is dropped, metadata is cleared. On files exported ten years ago that can save around 10%, but modern exporters already do the same work, so re-optimizing a fresh file frequently saves 0%. When the result is not smaller than the original, this tool keeps the original and tells you so, rather than handing back a bigger file and calling it success.
Which mode actually makes a file much smaller?
Scan compression. It renders each page to JPEG and rebuilds the PDF around those images — typically a third of the original size or less, sometimes far less. The cost is that pages become pictures: text cannot be selected or searched, and links, bookmarks, forms and annotations all stop working. Acceptable for archiving, printing or sending; wrong for a document you need to search or fill in.
Is there a mode that shrinks a lot and keeps the text?
Yes, but not in a browser. It requires server-side Ghostscript or qpdf doing image downsampling, font subsetting and content stream re-encoding — a toolchain of more than ten megabytes. Everything here runs in the page, so it does not fit. Better to skip the feature than ship a half-working compression that breaks the layout.
Does compression reduce sharpness?
Lossless mode does not touch page content at all — it repacks the structure, so the output is pixel-identical. Scan mode does: pages are rendered at 150 DPI by default and text edges look slightly softer than the original. Choose High quality (200 DPI) when that matters, at the cost of size.
What is lost in scan mode?
Bookmarks, the outline, internal and external links, form fields, annotations, and every page attribute other than rotation. They all hang off the original page structure, and once the page is one image there is nowhere to attach them. The text layer goes too, so copy and paste returns nothing.
Can a compressed file be compressed again?
Lossless again is pointless — the second pass lands on the same size as the first. Scan mode can run again, but you would be compressing an already lossy image, and quality degrades visibly. Not recommended.
Why can other sites compress to a tenth of the size?
Because they upload the file and run the full server-side toolchain on it. That is exactly why they must upload: the limit on compression ratio is not the algorithm, it is whether the toolchain fits in the environment. This site chose not to upload, and the cost of that choice is that compression stays at the structural level.
Can it compress an encrypted PDF?
No. The page structure cannot be read until the file is decrypted, and this site does not remove passwords. Save an unprotected copy with your own password first.

Other tools

Advertisement
Last updated: 2026-11-20 · J27J · About this site