WebP, PNG or JPG: a decision guide with numbers

8 August 2026 · 5 min read

Choosing an image format comes down to two questions. Does the image contain photography or flat graphics? And does anything outside a web browser need to open it? Answer those and the format picks itself.

What each format actually is

The numbers on a real photo

A 12 megapixel photo saved three ways: as a quality 80 JPG about 2.1 MB, as a quality 80 WebP about 1.4 MB, as a PNG about 18 MB. The two lossy versions are visually indistinguishable from each other. The PNG is identical to the source and nine times heavier than the JPG for no visible benefit.

Flat graphics reverse the story. A screenshot of a spreadsheet saved as JPG shows smudged halos around the text, while the PNG is crisp and often smaller, because lossless compression loves large areas of identical pixels.

So which one, concretely

Convert images to WebPConvert WebP back to PNG

What about AVIF

AVIF compresses even harder than WebP and browser support is now solid, but support outside browsers, in desktop apps, mail clients and older phones, remains inconsistent. It is a fine choice for a website you control end to end, and a premature one for files you hand to other people.