Open BGZone
Formats & quality

What Is AVIF?

What the AVIF image format is, how it compares to WebP and JPEG, its support and trade-offs, and when it makes sense to use it.

2 min read · Published

AVIF is a modern image format based on the AV1 video codec. It's designed to offer excellent quality at very small file sizes.

What it offers

  • Very efficient compression, often smaller than WebP and much smaller than JPEG at similar quality.
  • Transparency, with soft edges.
  • High dynamic range and wide colour support.
  • Animation.

Where it works

Current major web browsers support AVIF. Support in image editors, operating systems and upload forms is growing but not universal. Some websites and apps still only accept JPEG or PNG.

Trade-offs

  • Encoding can be slow. Creating AVIF files takes more processing than JPEG or WebP, especially for large images.
  • Compatibility. Older software may not open AVIF files.
  • Fine detail. At very aggressive compression, AVIF can smooth fine textures. At sensible quality, it looks excellent.

When to use AVIF

  • Websites where page speed matters, often served alongside a fallback format like WebP or JPEG.
  • Large hero images and photo galleries.
  • Cutouts on the web, where transparency and small size both matter.

When to choose something else

  • Sharing files with people who may use older software: use JPEG or PNG.
  • Printing: use the printer's preferred formats.
  • Uploading to platforms that don't accept it.

AVIF vs. WebP

Both are modern, efficient formats. AVIF often wins on file size; WebP often wins on compatibility and speed of creation. Many websites offer both and let the browser choose. See what is WebP?

Getting started

If you build websites, many image services and build tools can create AVIF versions automatically. For everyday sharing, PNG, JPEG and WebP remain the most practical. See image dimensions for the web.