Back to blog

How to Compress a PDF Without Losing Quality

August 3, 2026

85 reads

A PDF document being compressed while staying crisp

A 40MB PDF attachment bounces off half the email inboxes on the planet, and a 100-page scanned contract can easily blow past that. Here's what actually makes PDFs big, and how to fix it without wrecking the document.

Why PDFs get so large

Text itself is tiny: a novel's worth of words is a few hundred kilobytes at most. The size almost always comes from one of three places:

  1. Embedded images at full resolution. A PDF exported from a design tool or scanned on an office printer often embeds each page as a 300+ DPI image, even though screens and most printers don't need anywhere near that.
  2. Scanned documents. Every page is a photograph, not text, so a 20-page scan can easily be 10x the size of a 20-page text document.
  3. Uncompressed fonts and duplicate assets. Less common, but PDFs generated by older software sometimes embed full font files or repeat the same image on every page instead of referencing it once.

What compression actually does

Good PDF compression leaves the text and the vector graphics alone and works on the images instead. It re-encodes embedded photos at a sensible quality, scales down images that are far larger than any screen or printer needs, and tidies the file structure by removing duplicates and compressing uncompressed data.

That's why the text in a compressed PDF stays crisp and selectable. The trade-off is entirely in the images: a product photo or scanned signature might show minor softening if you push compression too far, but body text and line art are unaffected either way.

Be wary of tools that "compress" a PDF by turning every page into a flat picture. The file does get smaller, but you lose selectable text, search and sharp zooming. A tool that works on the embedded images instead gives you most of the savings with none of those losses.

The three levels in our tool

Compress PDF offers three levels, and text stays selectable and sharp at every one:

  • Lossless: only tidies the file structure. Nothing visible changes, but the savings are modest. Use it for contracts and anything going to print.
  • Recommended: re-encodes embedded photos at high quality and scales down oversized images. This is the right choice most of the time, with strong savings and no difference you'd notice at normal viewing size.
  • Smallest: reduces image resolution and quality further, for when you're up against a hard limit. Photos may look slightly soft when zoomed in, but pages stay fully legible.

If a PDF is already tightly compressed, the tool returns it unchanged rather than hand you a larger or worse file.

How to do it

  1. Open Compress PDF.
  2. Drop in your file and choose a level.
  3. Check the size comparison after processing, then download.
  4. Open the result and look at a photo page at 100% zoom to make sure you're happy with it before you send it.

What size should you aim for?

Many email providers cap attachments at around 20 to 25 MB, and a lot of upload forms for applications, tenders or portals set limits of 2 to 10 MB. Work backwards from the limit: try Recommended first, and only step down to Smallest if you're still over.

Choosing the right level for your document

  • Mostly text (contracts, reports, invoices): the file is probably small already. Use Recommended or Lossless; the difference will be small either way.
  • Photo-heavy (brochures, portfolios, catalogs): the biggest savings, so compare before and after.
  • Scanned pages: these compress a lot, but if you need to search or copy text from them, run PDF OCR first (or after). OCR and compression solve different problems and work fine together.

A couple of practical tips

  • Keep an original copy. Compression is one-way: always keep the source file if you might need full-resolution images later.
  • Compress after merging, not before. If you're combining multiple PDFs with Merge PDF, merge first, then compress the combined file once. Our guide to merging PDF files explains the workflow.
  • Resize photos before you put them in the document. If you're building the PDF yourself, shrink the images first with Image Compressor, as covered in our practical guide to image tools. A smaller starting point beats compressing afterwards.
  • Big scanned files compress the most. A 100-page scanned contract has the most to gain; a 2-page text invoice barely changes size either way, and that's expected, not a bug.
  • Build PDFs from images carefully. If you're turning photos into a PDF, our post on converting JPG to PDF shows how to keep the size down from the start.

Related tools

Put this into practice: