Compress to a size20 KB50 KB100 KB200 KB500 KB1 MBHow it worksMac app (soon)

Blog

Lossless vs lossy compression, explained plainly

Updated 18 November 2026

Lossless compression makes a file smaller while keeping every pixel exactly as it was: open it again and you get the same image, bit for bit. Lossy compression goes further by leaving out detail your eyes are unlikely to notice, so the file gets much smaller but is no longer identical. PNG is lossless, JPEG is lossy, and WebP can be either. Lossless suits screenshots and graphics; lossy suits photos.

Lossless: same pixels, packed tighter

A lossless format finds patterns, such as a row of identical white pixels, and writes them down more briefly, the way "a hundred white pixels" is shorter than listing all hundred. When the image is opened, the shorthand is unpacked into exactly the original pixels.

That works very well when an image has large flat areas and repeated shapes: screenshots, logos, icons, diagrams. It works poorly on photos, because the grain in a photo makes nearly every pixel slightly different from its neighbour, so there are few patterns to shorten.

Lossy: leave out what you won't see

A lossy format keeps the parts of an image your eye pays attention to, such as edges, shapes and brightness, and stores the rest more roughly, such as tiny variations in colour and grain. The decoded image is close to the original but not the same, and the further you push it, the more visible the difference becomes: blur, blocks, or halos around edges.

Done carefully, the difference stays below what you can see, and the file is a fraction of the size. Done carelessly, it shows. That's why the useful question isn't "lossy or not" but "how far, before it shows".

The surprise: a PNG can be lossy too

The PNG format itself never loses anything. But many PNG compressors first reduce the number of colours, from millions to at most 256, and that step does change the pixels. On a screenshot the difference is usually invisible; on a photo it can show as banding in smooth skies. So "it's a PNG" doesn't always mean "it's untouched".

Which wins, by kind of image

We let our engine try PNG, JPEG and both kinds of WebP on every image in our test set, and keep the smallest file that still looked the same. Which kind won:

Kind of imageImagesLossless wonLossy won
Icons30290 (1 stayed PNG)
Illustrations412613 (2 stayed PNG)
App and website screenshots24132 (9 stayed PNG)
Photos saved as PNG32030 (2 became JPEG)

Flat images favour lossless; photos favour lossy. Most real collections mix both, which is why we pick per image rather than per folder.

Re-saving JPEGs

Every time a JPEG is opened, edited and saved as JPEG again, it goes through lossy compression again, and small losses add up. Keep your originals, and compress copies from them. A JPEG that's already been compressed has less left to give: in our tests, camera JPEGs came out at 55% of their size at our default quality, 72% at High and 93% at Highest. When a file can't get smaller without a visible difference, PicPinch gives you the original back rather than a worse copy.

How PicPinch uses both

  1. Lossy, but only so far: each format is compressed to the same quality score, measured on the result, never below the floor you chose.
  2. Then lossless: the winning file is packed tighter without changing a single pixel.
  3. Then a check: if the result isn't smaller than your original, you get the original back.

More on the measuring in how we decide "looks the same".

Questions

Is lossless always better?
It's always exact, but not always better: in our tests, photos saved as PNG were about eight times the size of lossy files that looked the same. Use lossless when you need every pixel, such as for editing, text or line art.
Can I compress a photo losslessly?
Yes, but it won't get much smaller. Photos have too few repeated patterns for lossless compression to do much.
Is WebP lossy or lossless?
Either. The same format has both modes, which is one reason it's often the smallest.

Try it: compress PNG, compress WebP, how it works.

Compress

  • Compress images
  • Compress JPEG
  • Compress PNG
  • Compress WebP

To a size

  • To 20 KB
  • To 50 KB
  • To 100 KB
  • To 200 KB
  • To 500 KB
  • To 1 MB

Convert

  • PNG to WebP
  • JPG to WebP
  • WebP to JPG
  • WebP to PNG

More

  • Resize images
  • Remove photo location
  • TinyPNG alternative
  • Benchmark
  • How it works
  • Mac app (soon)
PrivacyTermsRefundsLicensesBlog