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.

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
| Dimension | AVIF | WebP |
|---|---|---|
| Container origin | HEIF (ISO/IEC 23008-12) | RIFF, Google's own container |
| Underlying codec | AV1, from the Alliance for Open Media | VP8 still frames |
| Color depth | 8-bit, 10-bit, 12-bit | 8-bit only |
| HDR and wide color | Yes, BT.2020 and HDR10 metadata | No HDR, sRGB only |
| Alpha transparency | 8-bit alpha channel | 8-bit alpha channel |
| Animation | Yes, short sequences in one file | Yes, animated WebP |
| Browser reach | Chrome 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 quality | About 50% smaller than JPEG and 20% smaller than WebP | About 25 to 35% smaller than JPEG |
| Encoding speed | Slow, 5 to 10 times slower than JPEG | Fast, close to JPEG speed |
| Best fit | Hero images, photographs, HDR content, sites where bandwidth matters most | Most photos and graphics where mature tooling and wider reach matter |
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!
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.
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.
All AVIF version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance