PNG vs WEBP: which lossless-friendly format wins?

Both handle transparency. Only one of them can also shrink a photo-heavy image by 60-80%. Here is when that gap actually matters.

Published Updated 6 min read

Same transparent graphic, two formats — WEBP usually wins on size without losing the alpha channel.

PNG and WEBP are the two formats that both support a real alpha channel, so the transparency question doesn't decide between them the way it decides between JPG and PNG. The real difference is compression: PNG is always lossless, while WEBP can compress its colour data lossily while keeping the alpha channel sharp. That single feature is where almost all the size difference comes from.

When they're basically the same size

For flat-colour graphics — simple icons, logos with few colours, UI elements — PNG's lossless compression is already efficient, and converting to WEBP often saves very little, sometimes nothing. If a file is a few kilobytes either way, the conversion step isn't worth the extra build complexity.

When WEBP pulls ahead dramatically

The gap opens up as soon as an image has photographic detail behind the transparency: a product cut-out with a soft drop shadow, a portrait with real hair strands, an illustration with gradients. PNG has to store every one of those pixels losslessly; WEBP can compress the colour channel the same way it compresses a photo, while the alpha edge stays crisp. Cuts of 60–80% on this kind of image are typical, not exceptional.

Image typePNG size (approx.)WEBP size (approx.)
Simple flat-colour icon, 128×1283–6 KB3–6 KB
Logo with soft shadow, 800×800120–200 KB40–70 KB
Product cut-out with hair/fur detail, 1600×16002–4 MB400–800 KB
Full-screen app screenshot with UI500 KB – 1.2 MB250–500 KB

Where PNG still wins

  • Older desktop software and some print workflows still don't open WEBP directly.
  • If the image is going into another lossless editing pipeline, PNG avoids stacking any lossy compression before the final export.
  • Email clients have patchier WEBP support than browsers — for embedded email images, PNG or JPG is the safer default.

A simple rule

If the image is going on a modern website and has any photographic or gradient content behind the transparency, convert to WEBP and check the saving. If it's a small flat icon, or the destination doesn't reliably support WEBP, PNG is fine as it is and converting adds a step for little benefit.

Tools for this