How to compress a PDF without making the text blurry

By Priyabrata Saha3 min readUpdated 2026-10-08

Text goes blurry when a compressor rasterises pages into images. Text itself takes almost no space — images do. Compress the images and leave the text as text, and the file shrinks dramatically while staying sharp and searchable.

You compress a PDF, the file gets satisfyingly smaller, and the text now looks slightly soft — fuzzy at the edges, worse when you zoom, and no longer selectable. That is not aggressive compression. It is a different operation than the one you wanted.

What made the text blurry

A PDF can hold text two ways. As text — glyph references and coordinates, which render sharp at any zoom and can be selected and searched. Or as pixels, if the page is a picture of text.

Some compressors take the blunt approach: render every page to an image, compress the images hard, and rebuild the PDF from those. The size drop is enormous and the result is a stack of photographs. Text is no longer text, so it blurs, cannot be selected, cannot be searched, and cannot be read by a screen reader.

What is actually making your PDF large

Text is remarkably cheap. A hundred pages of prose is a few hundred kilobytes. When a PDF is large, it is almost always one of these:

  • Scanned pages — each one a full-resolution photograph, often 2–5 MB apiece.
  • Embedded photographs at far higher resolution than the page needs. A 4000-pixel-wide image placed in a 600-pixel-wide slot still stores all 4000 pixels.
  • Embedded fonts, especially whole CJK families, which can run to several megabytes.
  • Leftovers — earlier revisions, deleted objects and unused resources that were never cleaned up.

The file size analyzer measures archive entries for Office files. For PDFs it provides only a drawing-complexity estimate for up to 200 pages; it does not measure individual images, fonts or streams in bytes. Inspect the original document before choosing a compression method.

File Size AnalyzerMeasures entries in Office and ZIP archives; estimates PDF page drawing complexity.

Compressing properly

Downsample the images, keep the text

This is the approach that preserves quality: reduce embedded images to a sensible resolution and re-encode them, while leaving text objects untouched. Text stays vector-sharp and selectable, and the file often drops by most of its size, because the images were nearly all of it.

For a document that will only be read on screen, 150 DPI is plenty. For printing, 300 DPI. Above that you are storing detail nobody will ever see.

Compress PDFRe-encodes pages without detected text; copies pages with text, including their images. There is no target-file-size guarantee.

Remove what is not needed

If half the document is appendices the recipient does not want, extracting the pages that matter beats any compression setting. The smallest version of a page is the one you did not include.

The scanned-document case

If your PDF is a scan, there is no text to protect — every page is already an image. Compression here is purely a quality decision, and you can be much more aggressive than you would dare with a text document.

Two things help more than the compression ratio. Scanning in greyscale rather than colour typically cuts size by half or more for ordinary documents. And scanning at 200–300 DPI rather than 600 makes an enormous difference with no visible loss on printed text.

When you cannot get it small enough

Email limits are usually 20–25 MB, and attachments are base64-encoded in transit, which inflates them by about a third. A 20 MB file can therefore fail a 25 MB limit.

  • Split the document and send it in parts — splitting a PDF at chapter boundaries is usually more useful to the recipient anyway.
  • Send only the relevant pages.
  • Share a link rather than an attachment, if the content permits it.

What to check afterwards

  1. Select a sentence. If it highlights, your text is still text.
  2. Zoom to 400% and look at an edge. Sharp means vector; soft means rasterised.
  3. Check any photograph at full size — this is where over-compression shows first, as blotchy patches.
  4. Confirm the page count matches the original.

Keep the original until you have done all four. Compression is lossy, and there is no way back from a rasterised page.

Related tools

Keep reading