# AVIF

> AVIF (AV1 Image File Format) is a modern image codec that provides superior compression and visual quality compared to JPEG and WebP. It is supported by major browsers and platforms, making it useful for SEO‑focused image optimization.

Search engine optimisation · Updated 2026-08-29 · [Marketing glossary](https://www.getlooploop.com/glossary)

**In short** AVIF is a picture format that shrinks file size while keeping good quality. It works like other image types but is newer and often smaller.

## What it is and how it works

AVIF uses the **AV1 video codec** under the hood to compress still images. It applies advanced **intra‑frame prediction**, **chroma subsampling**, and **adaptive quantization** to reduce file size without noticeable loss in detail. The format also supports **alpha channels**, **HDR**, and **wide‑gamut color**, which are rare in older formats like JPEG. Because the compression is lossless or near‑lossless, images retain sharpness and color fidelity even at very low bitrates. The file extension is `.avif`. Most modern browsers (Chrome, Edge, Firefox, Safari) support it, but older browsers or certain email clients do not.

## What to do about it

A marketer can start using AVIF this week with a few concrete steps:

- **Convert key images** (hero banners, product photos) to AVIF using tools like `Squoosh`, `ImageOptim`, or a build‑time script.
- **Add AVIF sources** in a `` element so browsers that support it get the smaller file, while older browsers fall back to WebP or JPEG.
- **Update image URLs** in CMS or CDN configurations to serve `.avif` when the request includes `Accept: image/avif`.
- **Check browser support** with a simple script that tests `picture` element rendering and logs any fallback usage.
- **Monitor Core Web Vitals** after the change to confirm improvements in Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS).

## How it is measured or noticed

You can see the impact of AVIF in several places:

- **Network requests** in Chrome DevTools show `.avif` files with smaller byte sizes compared to `.jpg` or `.webp`.
- **Page weight** drops in the Lighthouse audit, often reducing total bytes by 20‑40% for high‑detail images.
- **Core Web Vitals** improve because the faster image load reduces LCP time.
- **Image‑format metrics** in Google Search Console (under "Enhancements" > "Images") may list AVIF as an approved format, confirming that Google can crawl and index the images.
- **User‑agent strings** reveal which visitors receive the AVIF version; you can track fallback rates in your analytics.

## Common mistakes

- Assuming every visitor’s browser supports AVIF and omitting a fallback.
- Using AVIF for simple icons or text graphics where a few bytes saved are negligible.
- Forgetting to update CDN rules, causing the new format to be served from the wrong path.
- Ignoring metadata (EXIF, IPTC) that may be stripped by the AVIF encoder, losing useful information.
- Relying on a single image size; AVIF still benefits from responsive `srcset` sets.

## Limits

AVIF does not apply in every scenario:

- **Older browsers** (pre‑2021) and some email clients do not parse the format, requiring a fallback.
- **CMS or static‑site generators** that lack AVIF export options may need custom plugins or command‑line tools.
- **Image editing software** may not support saving to AVIF, limiting batch processing.
- **Confusion with similar names** like AVIF vs. AVIF2 (still in development) can lead to incorrect expectations about features.
- **SEO tools** that crawl images may not yet recognize AVIF as an approved format in all regions, though Google’s documentation confirms support.

## Worked example

> <picture> <source srcset="hero-banner.avif" type="image/avif"> <source srcset="hero-banner.webp" type="image/webp"> <img src="hero-banner.jpg" alt="Hero banner with product lineup"> </picture>

## Quick tip

Start with one hero image on your homepage and convert it to AVIF. Monitor the Core Web Vitals to see the impact.

## Frequently asked questions

### How is AVIF different from WebP or JPEG?

AVIF delivers smaller file sizes at equal or better visual quality than JPEG and WebP, because it uses the AV1 video codec for still-image compression. The trade-off is higher encoding cost and limited support in older browsers. For modern sites, AVIF can reduce image payload significantly, but you still need fallbacks for legacy clients.

### Should I convert my images to AVIF now?

It depends on your audience's browser support and your build pipeline. If most visitors use browsers released after 2021, AVIF is safe to serve with WebP or JPEG fallbacks. If you have tight deadlines or no automated tooling, start with hero images and measure the impact before scaling.

### How do I actually create AVIF images?

You can convert images to AVIF using tools like Squoosh, ImageOptim, or command-line encoders such as libavif. Many build pipelines and CMS plugins now support AVIF generation automatically. The key is to always provide a fallback format in your <picture> element or <img srcset>.

### Does AVIF still work in current browsers?

Yes, AVIF is supported by Chrome, Firefox, Edge, and Safari 16.5+, covering the vast majority of modern web traffic. You can verify support using the <picture> element with type="image/avif" fallbacks. If an unsupported browser encounters an AVIF-only image, it will fail to load.

### What breaks if I use AVIF without fallbacks?

Older browsers and some email clients will fail to render images that are only available in AVIF, showing broken image icons or blank space. You will notice this in browser testing or analytics as increased bounce rates on affected pages. Always include JPEG or WebP fallbacks in your markup.

### How long before AVIF improves my page speed?

AVIF can reduce image file sizes immediately after deployment, but the visible impact on Core Web Vitals depends on how many images you convert and your users' network conditions. Monitor Network requests in DevTools to confirm smaller byte sizes. Full SEO benefits may take a few weeks to reflect in search performance.

## Asked out loud

The same term in the words somebody uses speaking to an assistant rather than typing into a box — written from the situation, which is why each one carries the situation it came from.

### I'm on my phone and need to shrink these product photos before the client call — what format should I use?

AVIF is your best bet for small file sizes without losing quality, and you can convert images directly in your phone's browser using Squoosh. Just make sure to download both the AVIF and a WebP version so you have a fallback ready.

### I uploaded AVIF images to our Shopify store but they're not showing on mobile — did I mess up?

It's likely that some mobile browsers or your theme's image handling doesn't support AVIF yet, so you need to add JPEG or WebP fallbacks in your image tags. Check your theme's liquid files or use an app that auto-generates multiple formats.

### I only have a laptop with no software installed — can I convert images to AVIF right now?

Yes, you can use Squoosh in any modern browser without installing anything, and it supports AVIF export directly. Just drag your image in, choose AVIF from the output format, and download the result.

## Related terms

- [Cumulative Layout Shift](https://www.getlooploop.com/glossary/cumulative-layout-shift)
- [Largest Contentful Paint](https://www.getlooploop.com/glossary/largest-contentful-paint)
- [Time to First Byte](https://www.getlooploop.com/glossary/time-to-first-byte)
- [First Contentful Paint](https://www.getlooploop.com/glossary/first-contentful-paint)
- [Interaction to Next Paint](https://www.getlooploop.com/glossary/interaction-to-next-paint)

## Sources

- [Google Search Central documentation](https://developers.google.com/search/docs/appearance/image-seo)

Source: GetLoopLoop Glossary — https://www.getlooploop.com/glossary/avif. CC BY 4.0: https://creativecommons.org/licenses/by/4.0/

---

Canonical page: https://www.getlooploop.com/glossary/avif
This is the Markdown copy of that page for AI agents, made from the same content.
