How to make a PDF smaller without ruining it

Compressing a PDF is not one thing. Knowing what is taking up the space tells you how much a file can shrink, what it will cost, and when it will not shrink at all.

By NoUploadPDF ยท Published

Where the size of a PDF comes from

Almost all of a large PDF is pictures. Text is stored as letters and the instructions for drawing them, which take very little room: one of the test documents this site's tools are checked against holds 500 pages of text in 265 KB. Another holds 40 pages with a large photograph on each, and weighs 7.9 MB. A three-page scan, where every page is one big picture, is 3.6 MB on its own.

So the first question about any large PDF is what kind of pictures it holds. Photographs shrink a great deal. Scans can usually shrink too, but they stay pictures. A document that is mostly text is usually as small as it is going to get.

What compressing actually changes

There are two quite different things a compressor can do, and they have very different costs.

Tidying the file
Removing parts nothing refers to any more, and compressing anything stored without compression. Nothing you can see changes. Files from older software, or files edited many times, can lose a surprising amount this way; files that are already compact barely change.
Making photographs smaller
Redrawing photographs at fewer pixels and saving them at a lower quality. This is where most of the savings are, and it is a real change: the new file holds smaller pictures than the old one. Done with care it is invisible at normal size; pushed too far, fine detail softens when you zoom in.

Text, fonts, drawings, links and form fields never need to change to make a file smaller, and a careful compressor leaves them exactly as they were.

Choosing a setting

Compress PDF offers three levels, and they map directly onto the two kinds of change above.

LevelWhat it doesChoose it when
LosslessTidies the file. No picture changesNothing may look any different, or the file came from older software
BalancedAlso redraws photographs over 2000 pixels on their longer side, at high qualityThe file will be read on screen or printed normally. The usual choice
StrongRedraws photographs at up to 1400 pixels, at a lower qualityThe size limit is tight and nobody will zoom into the photos

On the 40-page photo document, 7.9 MB became 2.5 MB on Balanced and 1.6 MB on Strong in one browser. Drawn side by side, the first pages of the original and the smaller file differed by less than 2 out of 255 on average, which is not something an eye can find. Each browser saves photographs in its own way, so the same file came out at 3.1 MB and 2.1 MB in another: still a large saving, not the identical figure.

Why some PDFs will not get smaller

A PDF that is mostly text may not shrink at all. On the test document of three text pages, a careful rewrite came out a few characters larger than the original, and the tool said so and offered nothing rather than hand back a file that was no smaller. That is the honest result: the file was already compact.

Some pictures are deliberately left alone, because redrawing them could change how they look: pictures with see-through parts, colors prepared for professional printing, and images with a limited palette such as some diagrams. A document made mostly of those can shrink less than you might expect.

And a scan stays a scan. Its pages are pictures before and after, stored more compactly. Making its words searchable is a different job, often called text recognition, which many scanners can do while scanning.

How to check a compressed file

The tool checks four things before offering the result: the new file has every page, the text of every page reads exactly as before, it is smaller, and its first pages look the same as the original's when both are drawn. You should still look yourself, because only you know what matters in the document:

  1. Open the smaller file and the original side by side, at the size people will read them.
  2. Zoom into the photo that matters most, such as a signature, a stamp or small print in a picture.
  3. If anything matters at full detail, use Balanced or Lossless instead of Strong.
  4. Keep the original. The smaller pictures cannot be turned back into the larger ones.

When compressing is not the answer

  • The portal wants fewer pages. Removing the pages it did not ask for removes their pictures too, and costs nothing in quality. Remove pages or Extract pages.
  • The limit is per file, and several files are allowed. Split PDF cuts the document into parts, each under the limit, with no change to any page.
  • You are about to scan or photograph the pages anyway. Scanning at 300 dots per inch instead of 600, or in grayscale where color is not needed, makes a smaller file from the start than any compressor can make afterwards.

For the rules portals and email usually set, see getting a PDF accepted by an upload portal.

The tools for this

More on getting documents ready