Lossy vs Lossless Compression Explained

What the two kinds of image compression mean, and when each is the right choice.

Lossless compression

Lossless compression makes a file smaller without throwing away any image data. When you open it, every pixel is exactly as it was. PNG is the best-known lossless format, and WebP can be lossless too. Files are larger, but nothing is lost.

Lossy compression

Lossy compression removes detail the human eye is least likely to notice. JPG is always lossy, and WebP can be. You choose a quality level: lower quality means a smaller file and more visible changes. Every time you re-save a lossy file, a little more detail can be lost.

Which should you use?

  • Photos for the web: lossy (JPG or WebP) at about 75–85% quality.
  • Logos, icons and screenshots: lossless (PNG or lossless WebP).
  • Master copies you may edit later: keep the original untouched.

Try it yourself with Compress Image or Compress PNG, and compare the sizes. More tips in How to Reduce Image Size Without Losing Quality.

Try the tools