FormatFlow

No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

how-to · 5 min read

How to compress a PDF without losing quality

The only way to make a PDF much smaller without touching image quality is to remove redundant data and recompress image streams losslessly. Beyond that, a compressor has to downsample images or increase their JPEG compression, and that is where quality loss begins.

Text and vector lines usually survive compression untouched, so a text-heavy PDF can shrink a lot with little visible change. A scanned document is essentially one photograph per page, so its size is limited by how much photographic detail you are willing to give up.

By FormatFlow EditorialUpdated October 17, 2026

What actually makes a PDF large

Most oversized PDFs are large because of images, not text. A page of ordinary text occupies only a few kilobytes; a scanned page saved at 600 DPI can take several megabytes on its own. Photos, full-page background graphics, high-resolution logos and textured illustrations add weight the same way.

There are other contributors, though they are usually smaller: uncompressed streams, duplicate resources such as the same logo embedded many times, unused fonts and metadata. A recognized layer from OCR adds a little but can be valuable, so it should not be stripped unless searchability genuinely does not matter.

Lossless vs lossy compression inside a PDF

Lossless optimizations rearrange and recompress what is already there. Flate compression packs streams the way a ZIP file does, object deduplication removes repeated data, and font subsetting embeds only the glyphs the document uses. These steps can shrink a badly built PDF without changing a single pixel, though the savings on an already optimized file are limited.

Lossy compression changes the images. A compressor downsamples them to a target resolution, then re-encodes them as JPEG at a chosen quality. Text drawn as text stays perfectly sharp, which is why a compressed business document can look identical while a compressed scan of fine print loses definition. Some aggressive tools also flatten transparency or rasterize pages, which destroys selectable text and search.

Set realistic expectations

A scan of a few dozen pages can often go from tens of megabytes to a few megabytes at screen resolution, because the original was storing far more detail than a screen needs. A born-digital text PDF that is already a few megabytes will barely move, because there is almost no image data left to remove.

Beware of any tool promising a fixed percentage reduction. The result depends on what the file contains, how it was exported and what resolution it already uses. Compressing an already compressed file tends to shrink it only slightly while adding another generation of image quality loss.

How to compress so the result stays good

Decide where the file is going before you choose settings. A document read on screen or sent by email rarely needs more than about 150 DPI for its images. A file that will be printed needs roughly 300 DPI, and professional print work may not tolerate any downsampling at all.

A sensible routine is to compress a copy and open both files at 100 percent zoom, comparing the smallest text, a thin line in a chart and a textured area of a photo. If those details survive, the file is fine at its intended viewing size; if they turn mushy, raise the JPEG quality or reduce the downsampling. Two careful attempts usually beat one aggressive setting, and the original file is always there to fall back on.

  • Keep the original file untouched and compress a copy.
  • Use 150 DPI and moderate JPEG quality for email and screen reading.
  • Use 300 DPI and higher quality for documents that will be printed.
  • Compare a zoomed detail, such as small print or a QR code, before accepting the result.
  • For repetitive black-and-white scans, try grayscale conversion before dropping resolution further.
  • If the file is still too large, split it rather than crushing the images beyond readability.

When compression is the wrong tool

Do not compress a PDF that carries a digital signature if you need the signature to stay valid; modifying the file can invalidate it. Do not compress print-ready artwork or a document that must meet an archival profile such as PDF/A, where the allowed compression is part of the specification. For these cases, go back to the source document and export a smaller version instead of shrinking the finished PDF.

It is also worth checking what the recipient actually needs. Many email systems accept files far larger than people assume, and upload forms usually state their limit. A quick reduction in resolution often solves the problem without a second round of compression.

Frequently asked questions

Can I compress a PDF without any quality loss at all?
Only up to a point. Lossless optimization can remove redundant data and recompress streams without changing pixels, but it cannot rescue a file whose size comes from high-resolution scans. Those need lossy image compression to shrink meaningfully.
Why did my text-only PDF barely get smaller?
Text and vector graphics are already compact and may have been compressed when the file was created. With little image data to reduce, a compressor has almost nothing to remove, so a small reduction is a normal result rather than a failure.
What resolution should I choose when compressing a PDF?
About 150 DPI is plenty for reading on a screen, sending by email or viewing on a phone. Choose around 300 DPI when the document will be printed, and avoid downsampling entirely for professional print or archival copies.
Does compression remove text or make the PDF unsearchable?
Good compression keeps the text layer intact and the document searchable. Tools that rasterize pages turn everything into an image, which destroys selection and search; if text disappears after compressing, the tool flattened the document and you should use a gentler one.
Is it safe to compress a digitally signed PDF?
Modifying a signed PDF can invalidate its signature, even if the visible page looks unchanged. If the signature must remain verifiable, keep the original and check whether the recipient accepts a separate compressed copy for reading.
Can I compress a PDF on my phone?
Yes, a browser-based compressor works on modern phones because the processing happens in the browser. Very large or image-heavy files are slower on a phone than on a desktop, so test with one document before doing a batch.

Tools for this job