JPEG, PNG, WebP, AVIF, and SVG specimens showing compression, transparency, photography, HDR, and vector scaling

Image Format Guide

Choose the right format for every use case.

Picking a format is the highest-leverage image decision you will make: the same picture can weigh 47× more in one format than another. Modern browsers support WebP and AVIF everywhere, which means most sites should serve those first and keep JPEG and PNG as fallbacks. Start with the cheat sheet below, then read the deep-dive for whichever format you pick.

Pick Your Format in Five Seconds

You are optimizing…UseWhy
Photos for the webAVIF → WebP → JPEGAround half the weight of JPEG at equal quality
Screenshots, UI, text-heavy graphicsPNG or WebP losslessPixel-perfect text, no blocking artifacts
Logos, icons, illustrationsSVGScales to any size, tiny for simple shapes
Short animationsWebP or AVIF animatedA fraction of GIF weight with full color
iPhone camera uploadsConvert HEIC firstGreat compression, poor non-Apple support
Legacy email clientsJPEG or GIFThe only formats universally rendered

Need to convert existing files? The converter tools handle any pair of these formats free.