What is AVIF?
AVIF is a next-generation image format based on the AV1 video codec. It often beats WebP on file size, especially at low quality settings, and supports HDR and wide colour.
| AVIF | |
|---|---|
| Full name | AV1 Image File Format |
| File extension | .avif |
| Introduced | 2019 |
| Created by | Alliance for Open Media |
| Compression | Lossy or lossless |
| Transparency | Yes |
| Animation | Yes |
| Support | Chrome, Edge, Firefox and Safari 16+; limited in desktop apps |
How does AVIF work?
AVIF stores a single AV1-compressed frame inside a HEIF container. AV1’s advanced prediction and larger block sizes squeeze more detail into fewer bytes, at the cost of slower encoding.
Best for
- Smallest possible web images
- HDR and wide-gamut photos
Avoid for
- Fast batch encoding (it is slow)
- Sharing with older apps