Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
AVIF is smaller again; WebP encodes faster and is supported further back.
Choose WebP when
When encoding time matters — a site generating thumbnails on upload — or when you need support in older browsers and tools without a fallback.
Choose AVIF when
For the smallest file at a given quality, especially on photographs, and for wide colour and high dynamic range, which WebP cannot carry.
AVIF encoding is slow, sometimes by an order of magnitude. That is invisible for one image and very visible for ten thousand.






| WebP | AVIF | |
|---|---|---|
| Full name | WebP Image | AV1 Image File Format |
| Extension | .webp | .avif |
| Media type | image/webp | image/avif |
| Compression | Either, depending on the setting | Either, depending on the setting |
| This site can write it | Yes | Yes |
The claims this page makes about WebP and AVIF are checkable, and these are the documents that settle them.