Lossless vs. Lossy PDF Compression, Explained
Two different compression approaches get lumped under the same "compress PDF" umbrella. Here's what actually separates them.
"Compress PDF" gets used as a single catch-all term, but there are two fundamentally different approaches hiding underneath it - and knowing which one a tool is doing (or letting you choose between) explains a lot about why compression results vary so much.
The core difference
Lossless compression removes redundancy without discarding any actual information - the decompressed result is identical to the original. Lossy compression selectively discards information that's judged less noticeable (typically fine image detail), which achieves a much smaller file size at the cost of some quality that usually only becomes visible at higher compression strengths.
Where each one applies inside a PDF
- Text and vector graphics are effectively always handled losslessly - there's little size to gain by degrading text, and doing so would make it look bad immediately.
- Embedded photos and scanned pages are where lossy compression does its work - re-encoding images at a lower quality level to shrink them significantly.
- Metadata and structural redundancy in the file itself can be cleaned up losslessly, which is why even a "light" compression pass shrinks a file somewhat with no visible change.
Which one to pick
- Legal, archival, or reference documents where exact fidelity matters - lossless, or the lightest lossy setting available
- Emailing a document with a size limit - lossy; the size reduction usually matters more than perfect image fidelity
- A PDF full of scanned photos with only mild size pressure - light lossy compression, noticeably smaller with minimal visible change
- A document that's almost entirely text - barely matters either way, text isn't where the size or the risk lives
Choosing a setting in practice
Most PDF compressors expose this as a simple quality slider rather than a literal "lossless vs. lossy" toggle - a setting near the high-quality end behaves close to lossless, while lower settings apply more aggressive lossy compression. Start high and only push it lower if the resulting file size still isn't small enough for what you need.
Frequently asked questions
Is lossless compression always the better choice?
Not necessarily - lossless compression typically achieves a much smaller size reduction than lossy compression, so if the goal is getting a file dramatically smaller, lossy is often the only approach that gets there.
Can I tell just by looking whether a PDF was compressed losslessly or lossily?
At a light compression level, usually not - the difference only becomes visible once lossy compression is pushed aggressively, showing up as blurriness or blockiness in images.
Does text in a PDF get affected by lossy compression?
Text itself is typically stored as vector instructions rather than an image, so it stays sharp regardless of compression level - lossy compression's visible effects are almost entirely on embedded images.