# AVIF

> AVIF is a royalty-free image format built on AV1. MDN says lossy AVIF is around 50% smaller than JPEG. Browser support, fallbacks and when to pick it over WebP.

Canonical: https://scaplet.com/glossary/avif

Glossary Glossary · Performance

AVIF is a royalty-free image format built on AV1. MDN says lossy AVIF is around 50% smaller than JPEG. Browser support, fallbacks and when to pick it over WebP.

3 min

read

2

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

AVIF (AV1 Image File Format) is an open, royalty-free image format that encodes AV1 data in a HEIF container. MDN says lossy AVIF images are around 50% smaller than JPEG at visually similar compression levels. It supports lossless compression, transparency, animation and HDR, but it is less widely supported than WebP, so serve it with a fallback.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Favif%20(%22AVIF%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Favif%20(%22AVIF%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Favif%20(%22AVIF%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Favif%20(%22AVIF%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What AVIF is and its key features 01](#what-avif-is-and-its-key-features)
2. [Compression advantages over other formats 02](#compression-advantages-over-other-formats)
3. [Browser support and fallback strategy 03](#browser-support-and-fallback-strategy)
4. [When to use AVIF versus WebP 04](#when-to-use-avif-versus-webp)
5. [Common mistakes and considerations 05](#common-mistakes-and-considerations)

_01_At a glance

## What AVIF is and its key features

AVIF (AV1 Image File Format) is an open-source, royalty-free image format that encodes AV1 bitstreams in the HEIF container. It was designed to deliver modern [image compression](/glossary/image-compression) significantly superior to JPEG, PNG, and other legacy formats while remaining royalty-free.

Feature

### MIME type and extension

Capability

`image/avif`, `.avif`

Feature

### Compression

Capability

Lossy and lossless

Feature

### Animation

Capability

Yes

Feature

### Transparency

Capability

Yes (alpha channel)

Feature

### Maximum dimensions

Capability

2,147,483,647 × 2,147,483,647 pixels

Feature

### Licensing

Capability

Royalty free

Per MDN, AVIF offers lossless and lossy compression, animation (like animated GIFs but with much better compression), alpha channel support for transparency, high dynamic range (HDR) and wide color gamut.

_02_Checklist

## Compression advantages over other formats

MDN says lossy AVIF images are "around 50% smaller than JPEG images" at visually similar compression levels. It also says AVIF generally has better compression than [WebP](/glossary/webp), citing a third-party comparison with a median of 50% versus 30% for the same set of JPEGs. That comparison isn't Google's or MDN's own test, so measure your images before committing.

First_2_
Lossy AVIF: around 50% smaller than JPEG per MDN

Generally better compression than WebP per MDN's cited comparison

Next_2_
Color spaces YUV444, YUV422, YUV420 and greyscale YUV400

Alpha channel (transparency) support

Then_1_
Animation with much better compression than animated GIF

_03_Check it

## Browser support and fallback strategy

MDN lists AVIF support as Chrome 85, Edge 121, Opera 71, Firefox 93 and Safari 16.1. Firefox 93 handles still images; animated AVIF arrives in Firefox 113 and later. MDN describes AVIF as "not quite as well-supported in browsers" as WebP, so it recommends a fallback in WebP, JPEG or PNG.

MDN says AVIF does not support progressive [rendering](/glossary/rendering), so a file must be fully downloaded before it displays. This often has little impact because AVIF files are much smaller than equivalent JPEG or PNG files, but for larger files MDN says the impact can become significant and you should consider a format that supports progressive rendering.

A browser takes the first `<source>` whose type it supports. Browsers that decode AVIF load it, browsers that only decode WebP load that, and everything else loads the JPEG in `<img>`.

Progressive fallback pattern for AVIF

```
<picture> <source srcset="image.avif" type="image/avif" /> <source srcset="image.webp" type="image/webp" /> <img src="image.jpg" alt="Description" /> </picture>
```

_04_Your call

## When to use AVIF versus WebP

If this fits

### Use AVIF if

- File size is the priority and you can run the conversion in your build or image CDN
- You need HDR or wide color gamut
- Your audience mostly uses current Chrome, Edge, Firefox or Safari
- You are already using `<picture>` fallbacks

Or

### Use WebP if

- You want the simplest setup with wider browser support
- You have many visitors on older browsers
- Google's figures (25-34% smaller than JPEG) are enough for your goals
- Your tooling already outputs WebP and not AVIF

_05_Checklist

## Common mistakes and considerations

1. 01 Serving AVIF with no fallback. MDN recommends WebP, JPEG or PNG fallbacks using `<picture>`.
2. 02 Assuming the 50% figure applies to every image. It is MDN's general figure for lossy AVIF versus JPEG, so test your own files.
3. 03 Using AVIF for very large images without checking load behavior. The lack of progressive rendering matters most for big files.

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Is AVIF better than WebP?

MDN says AVIF generally has better compression than WebP and adds HDR and wide color gamut. WebP has wider browser support. A common setup is AVIF first, then WebP, then JPEG in a `<picture>` element.

_02_ Which browsers support AVIF?

Per MDN: Chrome 85, Edge 121, Opera 71, Firefox 93 and Safari 16.1. Firefox supports animated AVIF from version 113. Older versions need a fallback.

_03_ Can I use AVIF on my site today?

Yes, with a fallback. List the AVIF source first inside `<picture>`, then WebP, then a JPEG or PNG `<img>`. Browsers that can't decode AVIF move on to the next source.

Sources · 2

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- mozilla.org
- google.com

1. 01 [Image file type and format guide (MDN)](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types) developer.mozilla.org · checked 2026-10-24
2. 02 [WebP: a new image format for the web](https://developers.google.com/speed/webp) developers.google.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn WebP Performance](/glossary/webp) [Related Responsive design Performance](/glossary/responsive-design) [Read next Responsive images Performance](/glossary/responsive-images) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Author bio](/glossary/author-bio) [Average position](/glossary/average-position) [B2B SEO](/glossary/b2b-seo) [Backlink profile](/glossary/backlink-profile)

More in Performance
[Responsive images](/glossary/responsive-images) [Service worker](/glossary/service-worker) [Speculation rules](/glossary/speculation-rules) [Speed Index](/glossary/speed-index) [SVG](/glossary/svg) [Synthetic monitoring](/glossary/synthetic-monitoring) [Time to First Byte (TTFB)](/glossary/time-to-first-byte) [Time to Interactive (TTI)](/glossary/time-to-interactive) [Total Blocking Time (TBT)](/glossary/total-blocking-time) [TTL (time to live)](/glossary/ttl) [Viewport meta tag](/glossary/viewport-meta-tag) [WebP](/glossary/webp) [AVIF](/glossary/avif) [bfcache (back/forward cache)](/glossary/bfcache) [Brotli compression](/glossary/brotli-compression) [Cache-Control](/glossary/cache-control) [CDN](/glossary/cdn) [Chrome UX Report (CrUX)](/glossary/chrome-ux-report) [Content Security Policy](/glossary/content-security-policy) [Content-Length (HTTP header)](/glossary/content-length) [Core Web Vitals](/glossary/core-web-vitals) [Core Web Vitals report](/glossary/core-web-vitals-report) [CORS](/glossary/cors) [Critical CSS](/glossary/critical-css)

Terms on this page
[Image compression](/glossary/image-compression) [WebP](/glossary/webp) [Rendering](/glossary/rendering)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
