DengWoLai DengWoLai

Why Your PDF Is So Large (and When Compressing Won't Help)

A 12-page PDF at 40 MB is almost always scanned images stored losslessly at high DPI. Why merging multiplies size, why compression sometimes changes nothing, and how to tell which kind of PDF you have.

A 40 MB PDF with twelve pages works out to over 3 MB per page. Text doesn’t do that — a page of text is a few kilobytes. So the size is in the images, and usually in one of two specific ways.

First, work out which kind of PDF you have

Open it and try to select a sentence with the text cursor.

Result Kind Where the size is
Text selects normally Born-digital (Word, LaTeX, InDesign) Fonts, embedded images
Cursor selects the whole page as a block Scanned / photographed One big image per page

This single check decides everything that follows. Compressing a text PDF and compressing a scanned PDF are different jobs, and the tools that claim to do “PDF compression” usually only do the second one well.

Scanned PDFs: the size is the image encoding

A scan is a photograph of paper. Two settings dominate the file size:

DPI. A colour A4 page scanned at 600 DPI is about 4960 × 7016 pixels — 34 megapixels. At 300 DPI it’s 2480 × 3508, a quarter of the pixels. At 150 DPI, a sixteenth.

Encoding. This is the part people miss. Scans are frequently stored losslessly (Flate/ZIP), which for photographic content is enormously wasteful:

Same A4 page, 300 DPI Approximate size
Lossless (Flate), colour 8–25 MB
JPEG quality 0.8 300–600 KB
JPEG quality 0.6 120–250 KB
1-bit (bilevel), text only 30–80 KB

That’s a 30–80× difference for the same page, and at 300 DPI with JPEG the text is still perfectly readable.

A pure text document scanned as 1-bit black and white is the extreme case: 30–80 KB per page, and it looks better than a colour scan for text, because there’s no JPEG ringing around the letters.

Born-digital PDFs: fonts and embedded images

If the text selects, the size is elsewhere:

  • Embedded images. One photo placed at print resolution can be 5 MB on its own.
  • Full font embedding. Some exporters embed entire font families rather than the subset of glyphs used. A CJK font can be 10–20 MB by itself.
  • Unsubsetted fonts across merged files. Merging five documents from five sources often embeds five font sets, none of which is shared.

Why merging multiplies the size

Merging is usually a concatenation, not a re-encode. Each source file keeps its own images and fonts, and shared resources are rarely deduplicated.

So merging ten 4 MB files gives you roughly 40 MB, not something smaller. Nothing was optimized — the pages were just placed end to end.

This is normal and not a bug. It does mean that compressing after merging is the right order, not before: the compressor then sees all the duplicated resources in one pass.

Why “compress PDF” sometimes does nothing

Two common reasons:

1. The PDF is already efficient. A text-only PDF exported from Word might be 200 KB for 20 pages. There is nothing left to remove — the images are small, the fonts are subsetted. Running it through a compressor returns something within a few percent.

2. The compressor only downsamples images. If your file is large because of full font embedding, an image-focused compressor will leave the fonts untouched and the size barely moves.

3. It re-encodes images that were already JPEG. Re-compressing a JPEG at a similar quality can even make the file larger, because the second pass adds its own artifacts that compress worse.

The order that actually works

  1. Decide the DPI you need. Screen reading: 150 DPI is plenty. Printing: 300. Archival: 400+. Anything above 400 for a text document is waste.
  2. Choose the encoding by content. Photos → JPEG. Text-only scans → 1-bit bilevel. Mixed → JPEG at 0.7.
  3. Then merge.
  4. Then compress, if the result is still too big.

Compressing first and merging after undoes the work, because the merge doesn’t preserve the optimization.

How to check a page’s real resolution

Zoom to 100% and look at a letter edge.

  • Sharp, with hard pixel steps → the image is at or near its native resolution
  • Smooth, slightly soft → the page was upscaled, and the extra pixels are invented
  • Visible 8×8 blockiness → JPEG compressed too hard; text will be hard to read when printed

If it’s soft, raising the DPI in a re-scan won’t help — you’d need the original paper.

A note on what you lose

Downsampling is one-way. Once a page is at 150 DPI, the detail above that is gone. If a document might need to be printed later, keep the original and compress a copy.


For the image side of this: compress an image to an exact size, or compress an image to 20 KB. Everything runs locally — files are never uploaded.

Related: why merged PDF pages come out in the wrong order, why your PDF watermark disappears after saving