PDF Toolbox
All articles
tutorialscompress

How to Compress a PDF Without Losing Quality

A practical guide to making PDFs smaller. What compression actually does, when to use which level, and how to avoid blurring your scans.

Roshan Ramani May 2, 2026 5 min read

There is a moment everyone who works with PDFs hits eventually. You go to attach a file to an email and the system says the attachment is too big. The PDF is 18 MB. The limit is 10. You stare at it for a second, then start Googling.

Compressing a PDF is one of those things that sounds like a single button but is actually a small set of tradeoffs. This post explains what is happening under the hood so you can pick the right setting and not end up with a file that looks like a fax from 1998.

What "compress PDF" actually does

A PDF is a container. Inside, it can hold a wide mix of things: text, vector graphics, embedded fonts, raster images, attached files, metadata, and more. When you compress a PDF, the tool is doing some combination of these things:

  1. Re-encoding streams. PDFs use compression for their internal data. Sometimes the existing compression is loose and can be tightened, similar to re-zipping a folder.
  2. Downsampling images. This is the big one. Most large PDFs are large because they contain high-resolution scans. Reducing those scans from 600 dpi to 200 dpi can cut the file size by 70 percent or more.
  3. Re-encoding images as JPEG. Lossless image formats like PNG are huge. Converting them to JPEG with a sensible quality setting drops the size dramatically.
  4. Removing unused objects. Old fonts, orphan metadata, deleted layers. These can linger inside a PDF for years and add up.

Most online tools focus on step 2 and 3, because that's where the volume is. PDF Toolbox does the same: it renders each page, compresses the result as JPEG, and embeds it in a fresh PDF. That gives you predictable, dramatic size reductions on image-heavy documents.

Which compression level to use

PDF Toolbox offers three levels. Here is how to pick.

Light

Use this for documents that will be printed, signed, or scrutinized closely. The image quality is barely changed. The size reduction is smaller, often 20 to 40 percent. If you are sending an annual report or a portfolio piece, this is your default.

Balanced

The everyday choice. This is what you want for most email attachments, file transfers, and shared drives. Quality looks identical at normal viewing zoom. You will get 50 to 70 percent off the file size on a typical scanned PDF.

Maximum

For when the file size matters more than the visual polish. Web previews, screen-only documents, archive copies. This will produce visible JPEG artifacts if you zoom in, but at normal reading size it looks fine. Expect 70 to 85 percent reduction.

Common mistakes that ruin compressed PDFs

A few patterns I see over and over.

Compressing the same file twice

Each round of compression re-encodes the images. Each re-encoding loses a little quality. By the third pass your scans look smudged. Always compress from the original, not from a previously compressed copy.

Using maximum on text-heavy documents

If the document is mostly text and the original is sharp, maximum compression can blur the type, especially on small fonts. Use light or balanced for text PDFs. Maximum is for image-heavy stuff where small artifacts will not be noticed.

Compressing before signing

Some signature tools (especially mobile ones) re-render pages when they apply a signature. If you compress aggressively first and then sign, the compression compounds. The clean order is: compress, then sign. Or sign first, then compress lightly.

Not checking the result

Always open the compressed file before sending. Look at the pages that have the smallest text or the most detail. If anything looks wrong, redo at a lower compression level. It takes ten seconds and prevents an awkward "can you resend?" email later.

Why some PDFs barely shrink

If you compress a 5 MB PDF and the result is 4.8 MB, the file is probably already well-compressed. There is not much fat to trim. This happens often with:

  • PDFs generated from Word, Pages, or LaTeX. The text is already tightly encoded.
  • PDFs from modern phones. Most camera apps compress before exporting.
  • PDFs that have already been through another compressor.

For these, the answer is usually not "compress harder". It is "remove pages you don't need" or "split into smaller PDFs".

Try it yourself

The compress tool is free and runs entirely in your browser. Drop in a PDF, pick a level, watch it shrink, see exactly how much you saved.

Compress a PDF now.

Roshan Ramani
Roshan Ramani
Co-creator of PDF Toolbox. Designs and ships small, fast tools that respect the people who use them.
LinkedIn