Testing

AVIF: Browser Support, Features, Known Issues

AVIF works in Chrome 85+, Firefox 93+, Edge 121+, Opera 71+, Safari 16.4+ on macOS, and iOS 16+. Learn AVIF browser compatibility, features, and known issues.

Author

Prince Dewani

May 1, 2026

AVIF is an open, royalty-free image format that the Alliance for Open Media released in February 2019, built on the AV1 video codec inside a HEIF container. It supports Chrome 85+, Firefox 93+, Edge 121+, Opera 71+, Samsung Internet 14+, Safari 16.4+ on macOS, and iOS 16+, while Internet Explorer never added support.

This guide covers what AVIF is, the browsers that show it on each platform, the key features that make it smaller than JPEG and WebP, how AVIF compares with WebP, and the known issues to plan around before you ship AVIF images.

What is AVIF?

AVIF stands for AV1 Image File Format. The Alliance for Open Media published version 1.0.0 in February 2019, and the format stores still images and short image sequences using the same AV1 compression that powers AV1 video. Files use the .avif extension and the image/avif MIME type. AVIF supports lossless and lossy modes, 8, 10, and 12-bit color depth, alpha transparency, HDR, BT.2020 wide color, and short animation sequences inside one file.

Which browsers does AVIF support?

AVIF works on every modern desktop browser and most mobile browsers. Chrome and Opera shipped AVIF in 2020, Firefox in 2021, Safari in 2022, and Microsoft Edge added default support in 2024.

Loading browser compatibility data...

AVIF compatibility in Chrome

Chrome supports AVIF from Chrome 85, released in August 2020, on Windows, macOS, Linux, ChromeOS, and Android. The Chrome team added decode support across desktop and mobile builds together. Chrome 1 to 84 did not support AVIF.

AVIF compatibility in Edge

Microsoft Edge supports AVIF by default from Edge 121, released January 2024, on Windows and macOS. Edge 114 to 117 had AVIF behind a flag and disabled by default. Edge 12 to 113 and Edge 118 to 120 did not support AVIF, so older managed Windows builds still need a JPEG or WebP fallback.

AVIF compatibility in Firefox

Firefox supports AVIF from Firefox 93, released October 5, 2021, on Windows, macOS, Linux, and Android. Firefox 77 to 92 had AVIF disabled by default behind the image.avif.enabled preference. Firefox 1 to 76 did not support AVIF at all.

AVIF compatibility in Safari

Safari supports AVIF on iOS 16, released September 12, 2022, and on macOS Ventura with Safari 16.1, released October 24, 2022. Full support, including animation and grid images, arrived in Safari 16.4 in March 2023. Safari 3.1 to 16.0 on macOS and iOS 3.2 to 15.8 did not support AVIF.

AVIF compatibility in Opera

Opera supports AVIF from Opera 71, released November 2020, on Windows, macOS, Linux, and Android. Opera 9 to 70 did not support AVIF. Opera Mobile supports AVIF from Opera Mobile 80, released January 2024 on Android.

AVIF compatibility in Samsung Internet

Samsung Internet supports AVIF from version 14.0, released in early 2021, on Galaxy phones and tablets. It is built on Chromium, so it follows the same AVIF rules as Chrome for Android. Samsung Internet 4 to 13 did not support AVIF.

AVIF compatibility in Android Browser

Chrome for Android supports AVIF from Chrome 85, released in August 2020, on Android 7.0 and later. Firefox for Android supports AVIF from Firefox 93 in October 2021. The legacy stock Android Browser, last shipped in Android 4.4 KitKat, never added AVIF support.

AVIF compatibility in Internet Explorer

Internet Explorer does not support AVIF in any version. Microsoft never added AVIF decoding to IE 9, 10, or 11, and IE itself reached end of life on June 15, 2022. Anyone still on IE needs a JPEG, PNG, or WebP fallback inside a picture element.

What are the key features of AVIF?

AVIF combines the AV1 codec with the HEIF container, which gives it a small file size, modern color features, and animation in one open format. The features below decide whether AVIF fits a project.

  • Small file size: AVIF stores images at about 50% smaller file size than JPEG and around 20% smaller than WebP at the same visual quality, based on tests by Netflix, Cloudinary, and the Chrome codecs team.
  • HDR and wide color: AVIF supports 10-bit and 12-bit color depth, BT.2020 wide color, and HDR10 metadata, so it can hold the same high-dynamic-range data as AV1 video.
  • Alpha transparency: AVIF supports a full 8-bit alpha channel, the same as PNG and WebP, which makes it a drop-in replacement for transparent PNG icons and overlays.
  • Lossless and lossy modes: AVIF supports both lossless and lossy compression in the same format, so you can pick file size or pixel-perfect copies for the same source image.
  • Animation sequences: AVIF stores short animation sequences inside one .avif file, an open alternative to animated GIF or WebP.
  • Royalty-free license: The Alliance for Open Media releases AVIF and the AV1 codec under royalty-free terms, with no patent fees on encoding or distribution.
  • HEIF container: AVIF reuses the HEIF (High Efficiency Image File) container that Apple uses for HEIC, with AV1 frames in place of HEVC frames.
...

What is the difference between AVIF and WebP?

AVIF and WebP are both modern image formats built for the web, but they differ in codec, color features, browser reach, and encoding speed. AVIF wins on file size and color depth, while WebP wins on tooling maturity and how many older browsers can show it.

DimensionAVIFWebP
Container originHEIF (ISO/IEC 23008-12)RIFF, Google's own container
Underlying codecAV1, from the Alliance for Open MediaVP8 still frames
Color depth8-bit, 10-bit, 12-bit8-bit only
HDR and wide colorYes, BT.2020 and HDR10 metadataNo HDR, sRGB only
Alpha transparency8-bit alpha channel8-bit alpha channel
AnimationYes, short sequences in one fileYes, animated WebP
Browser reachChrome 85+, Firefox 93+, Edge 121+, Opera 71+, Safari 16.1+ on macOS, iOS 16+. Not in older Safari or any IE version.Chrome 32+, Firefox 65+, Edge 18+, Opera 19+, Safari 14+ on macOS, iOS 14+. Not in IE.
File size at same qualityAbout 50% smaller than JPEG and 20% smaller than WebPAbout 25 to 35% smaller than JPEG
Encoding speedSlow, 5 to 10 times slower than JPEGFast, close to JPEG speed
Best fitHero images, photographs, HDR content, sites where bandwidth matters mostMost photos and graphics where mature tooling and wider reach matter
Note

Note: AVIF support breaks across older Safari, Edge 118 to 120, and many CDNs. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!

What are the known issues with AVIF?

AVIF has the smallest file size of any common web image format, but a few real edge cases still break in production. The biggest hits are older Safari and iOS, the Edge 118 to 120 regression, slow encoding, and uneven CDN support.

  • Older Safari and iOS lack support: Safari did not support AVIF on macOS until Safari 16.1 in October 2022, and on iPhone until iOS 16 in September 2022. Visitors on macOS Big Sur 11, iOS 14, or earlier still need a JPEG, PNG, or WebP fallback.
  • Edge 118 to 120 regressed: Edge had AVIF behind a flag from Edge 114 through 117. The flag was removed in Edge 118 before default support shipped, so Edge 118 to 120 cannot show AVIF. Edge 121 fixed this in January 2024.
  • Encoding is slow: AVIF encoding takes 5 to 10 times longer than JPEG or WebP at the same quality, because AV1 encoding is computationally heavy. Build pipelines and image CDNs need to budget extra CPU time.
  • Limited tooling: Adobe Photoshop needs a plugin to read or write AVIF, and many CDNs treat AVIF as a transcoding target rather than a primary upload format.
  • No progressive rendering: AVIF does not have a progressive decode mode, so a browser shows the image only after the full file downloads. Slow connections see a placeholder for longer than they would with a progressive JPEG.
  • Software decoder on low-end Android: Some low-end Android phones use a software AV1 decoder, which makes AVIF slower to render than JPEG or WebP. Hardware AV1 support arrived on Snapdragon 8 Gen 1 and Tensor G2 chips and later.
  • Animation support is uneven: AVIF supports animation, but Safari did not add animated AVIF until Safari 16.4 in March 2023, and several CDNs strip animation when they transcode to AVIF.
  • Internet Explorer never supported it: IE never added AVIF support and reached end of life on June 15, 2022. Anyone on IE needs a JPEG, PNG, or WebP fallback in the picture element.

In my experience, the most surprising failure happens between Edge 118 and 120. The flag that controlled AVIF in Edge 117 was removed in Edge 118 before the format went live in Edge 121, so anyone still on a managed corporate Edge 118 to 120 build sees a broken image instead of a JPEG fallback. Always pair an AVIF source inside a <picture> element with a JPEG or WebP fallback to cover this gap.

You can confirm AVIF support inside any browser at runtime by loading a small one-pixel AVIF file and checking whether the Image onload event fires. Paste this snippet into the browser DevTools console:

// Run in the DevTools console of any browser to test AVIF support.
const img = new Image();
img.onload = () => console.log("AVIF supported:", img.width === 1 && img.height === 1);
img.onerror = () => console.log("AVIF supported: false");
img.src =
  "data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUI" +
  "AAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYA" +
  "AAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWlu" +
  "ZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAA" +
  "ABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNj" +
  "b2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgi" +
  "bgIQGgMgMgkQAAAAB8dSLfI=";

If the result is false, the browser cannot show AVIF and your page should fall back to JPEG or WebP through the picture element.

...

Citations

All AVIF version numbers and platform notes in this guide come from these primary sources:

Author

Prince Dewani is a Community Contributor at TestMu AI, where he manages content strategies around software testing, QA, and test automation. He is certified in Selenium, Cypress, Playwright, Appium, Automation Testing, and KaneAI. Prince has also presented academic research at the international conference PBCON-01. He further specializes in on-page SEO, bridging marketing with core testing technologies. On LinkedIn, he is followed by 4,300+ QA engineers, developers, DevOps experts, tech leaders, and AI-focused practitioners in the global testing community.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Frequently asked questions

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests