Image formats explained: JPEG, PNG, WebP and AVIF

Four formats cover almost everything, and the choice between them comes down to three questions: is the image a photograph or a graphic, does it need transparency, and does anything that will open it care about the newest formats?

The one table that matters

FormatCompressionTransparencyBest forCatch
JPEG Lossy No Photographs everywhere Artefacts on text and sharp edges; degrades on every re-save
PNG Lossless Yes Screenshots, logos, UI, anything with flat colour Photographs become very large files
WebP Lossy or lossless Yes Web images that need both quality and small size Older desktop and email clients may not open it
AVIF Lossy or lossless Yes Modern web pages, photographic imagery Newest of the four; support is good but not universal

Photographs: JPEG, WebP or AVIF

A photograph has smooth gradients and millions of subtly different colours. Lossy formats exploit that by discarding detail the eye is unlikely to miss, which is why a photograph compresses so much better than a screenshot.

JPEG remains the safe default: it opens everywhere, from a twenty-year-old photo viewer to a printer's ordering system. JPEG Compressor re-encodes one at a quality you choose.

WebP produces a smaller file than JPEG at comparable visual quality and keeps transparency. WebP Quality is the tool to reach for when the image is going on a page you control. Keep a JPEG fallback if the image will also be emailed.

AVIF compresses further still and is the format modern browsers were built to handle, but it is the youngest of the four. Use AVIF Quality when you can accept the smaller audience, and check the file opens before shipping it somewhere important.

Graphics and screenshots: PNG, or WebP if size matters

A screenshot contains large areas of identical colour and sharp text edges. Lossy compression handles both badly: text turns into halos and flat backgrounds develop speckles. Lossless is the right answer, which means PNG or lossless WebP.

PNG is the interoperable choice and the only one you should send to someone who will edit the file later. PNG Compressor shrinks it without changing a pixel, though a photographic PNG will still be large — that is the format's nature, not the tool's fault.

The conversions that quietly lose something

Choosing in one sentence

Photograph going on a web page: WebP, or JPEG if compatibility matters more than bytes. Graphic with transparency: PNG, or WebP if the page is yours. Print: keep the highest-quality JPEG or PNG you have, and never compress twice.

Converting without an upload

Convert Format re-encodes between these formats in the browser, so a client's photograph never leaves your machine to change its container. Conversion is the one operation where the format choice, not the quality slider, decides most of the file size.

After converting, use Image Compare if you want to see what changed rather than trusting the numbers. And if the original carried location data, Strip Metadata before the file goes anywhere public.