How to Compress a PDF Without Losing Quality

A 40-page PDF that's mostly text is usually under a megabyte. A 4-page PDF with a few high-resolution photos can easily be ten times that size. If your file is unexpectedly large, the images inside it — not the text — are almost always why.

What actually makes a PDF large

Three things, roughly in order of impact:

  • Embedded images at full camera/scan resolution. A photo straight from a phone or a page scanned at 300+ DPI is far higher resolution than a screen or a printed page actually needs. This is the single biggest factor in most oversized PDFs.
  • Scanned pages saved as images. If a "document" is really a photo of each page (common with scanned contracts or forms), every page is a full image, not lightweight text — this compounds fast.
  • Embedded fonts and metadata. A smaller factor, but PDFs sometimes embed entire font files or leftover editing history that adds size without adding anything you can see.

What "losing quality" actually means here

Compression works by re-encoding the images inside the PDF at a lower resolution or with more aggressive JPEG-style compression. Done reasonably, this is genuinely lossless to the eye — a photo compressed from 300 DPI to 150 DPI looks identical on a screen, since your screen doesn't have enough pixels to show the difference anyway. It only becomes visible if you compress too aggressively or need to zoom in or print at large sizes.

Text stays sharp either way — text in a PDF is usually stored as actual character data (or vector outlines), not pixels, so compressing images doesn't blur or degrade it.

How to do it

  1. Use a PDF compressor and try a moderate setting first. Check the result at actual size before trying a more aggressive one — you can always compress further, but you can't undo it once you're working from the compressed file.
  2. If the PDF is a scanned document (each page is really a photo), expect the biggest size reduction but also the most visible quality trade-off at high compression — scanned text can start looking soft if pushed too far.
  3. If you only need to shrink a handful of large photos before turning them into a PDF, it's often more effective to compress the images themselves first, then build the PDF — you get more direct control over the trade-off per image.

When compression won't help much

If a PDF is already small (a few hundred KB, mostly text with no images), there's little left to compress — you're looking at savings of a few percent at most. Large text-only PDFs are usually large because they have many pages, not because each page is inefficiently encoded; compression won't meaningfully shrink those either.

Try it directly: Compress PDF — runs entirely in your browser, the file is never uploaded anywhere.