Skip to content
PDF ToolsBeginner6 min read

How to compress a PDF (and why some barely shrink)

Two PDFs of the same size can behave completely differently when you compress them. One drops to a tenth of its weight; the other barely moves. That is not a tool being inconsistent β€” it is the two files being made of entirely different things.

A PDF is a container, not a format

Inside a PDF there are really only a few kinds of thing: text with the fonts needed to draw it, vector art (lines, shapes, charts), and raster images. Text and vector art are instructions β€” "draw this letter here, in this typeface" β€” and they are tiny. A page of dense body text is a few kilobytes.

Raster images are pixels, and pixels are heavy. A single photograph scanned at 300 DPI covering an A4 page is roughly 8.7 million pixels. Even well compressed, that is hundreds of kilobytes for one page.

So when you look at a 40 MB PDF, the useful question is not "how do I compress a PDF" but "what is the 40 MB actually made of". Almost always the answer is images, and almost always they are bigger than they need to be.

Why scans shrink and text documents do not

A scanner does not know the difference between a letter and a smudge. It photographs the page, so every page becomes one large image β€” usually at 300 or 600 DPI, because that is what the scanner defaults to, not because anyone needs it. On a screen you will never see past about 150 DPI, so more than half the pixels in that file are being stored for nobody.

That is exactly the space compression reclaims. Downsampling those images to a sensible resolution and re-encoding them is where the 70–90% comes from, and on a scan you genuinely cannot see the difference on screen.

A text document has none of that slack. Its fonts are already subset and deflated, its text is already compressed, and there are no oversized images to trim. A rewrite recovers a few percent from repacking the internal structure, and that is honestly all there is. If a tool promises you 80% on a text PDF, it is either about to rasterize your text β€” destroying your ability to select, search or copy it β€” or it is guessing.

Choosing a level you will not regret

The only real question is where the document is going to be read. Balanced targets 150 DPI: crisp on any screen, and still perfectly acceptable on paper. It is the right answer for almost everything β€” email attachments, uploads to a portal, documents you archive and read.

Choose high quality when the file will actually be printed at size, or when someone will zoom into a diagram. It keeps images at 200 DPI, so the saving is smaller but nothing softens under magnification.

Choose maximum compression when a hard size limit is the whole problem β€” a form that refuses anything over 5 MB, for instance. At 96 DPI photographs will visibly soften if you print them, but on screen they stay readable, and a document that fits is worth more than one that does not.

Whichever you pick, the text stays text. Fonts are subset to the glyphs your document uses, which makes the file smaller without touching a single character on the page.

What compression will not do

It will not open a password-protected file. An encrypted PDF cannot be rewritten without its password β€” we detect that before uploading anything and say so, rather than failing halfway through. Remove the protection in your PDF reader first.

It will not reorder, remove or reflow your pages. The page count of the finished file is checked against the original before it is handed back; if they differ, the job fails rather than giving you a document that quietly lost something.

And it will not make a file bigger. If a rewrite comes out larger than what you started with β€” which happens with already-optimized PDFs β€” we keep your original bytes and tell you it was already as small as it gets. A compressor that returns a bigger file has not compressed anything.

Step by step

  1. 01

    Add your PDF

    Drop in a PDF up to 200 MB β€” up to five per job. Its page count and size are read before anything is uploaded.

  2. 02

    Choose how hard to compress

    High quality keeps images at 200 DPI for printing; Balanced uses 150 DPI, which is right for reading on a screen; Maximum compression drops to 96 DPI for documents that only need to be legible.

  3. 03

    Compress and download

    The result keeps its fonts embedded and its text selectable. If the PDF was already as small as it can be, the original bytes are returned rather than a larger "compressed" file.

Good to know

Frequently asked questions

Why did my PDF barely get smaller?

Because almost all of a PDF's weight is usually images, and yours probably has none. A text document is a set of drawing instructions plus fonts, and both are already compact β€” there is nothing large to remove. Scanned documents, which are pictures of pages, are where the big savings live.

Will the text stay selectable and searchable?

Yes. Compression re-encodes the images inside the document and subsets its fonts; it does not convert pages into pictures. Text stays text at every setting, including Maximum compression.

Which setting should I use to email a document?

Balanced is the right default: 150 DPI is comfortably readable on any screen and is where most of the saving already is. Only drop to Maximum compression if the attachment still will not fit, and only for documents nobody needs to print.

How big a PDF can I compress, and how many at once?

Up to 200 MB per file and five files per job, which covers a long scanned contract comfortably. No signup and no watermark, at any size.

Do I need to compress before editing, or after?

After. Edit the document first β€” add your text, signature or page changes with the PDF Editor β€” then compress the finished file once. Compressing twice stacks image quality losses for no additional benefit.

Related tools

Related guides