coderef

AVIFBaseline · Widely available

AVIF (AV1 Image File Format) is an image format based on the AV1 video format.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 25, 2024. Widely available since Jul 25, 2026.

Browser support

DesktopChrome
1–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155
Edge
12–120Not supported
121+Supportedsince Jan 25, 2024
Current: 154
Firefox
1–112Not supported
113+Supportedsince May 9, 2023
Current: 157
Safari
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27
MobileChrome Android
18–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155
Firefox Android
4–112Not supported
113+Supportedsince May 9, 2023
Current: 157
Safari iOS
1–16Not supported
16.1+Supportedsince Oct 24, 2022
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

HTML
<picture>
  <source type="image/avif" srcset="photo.avif">
  <img src="photo.jpg" alt="…">
</picture>

Feature detection

There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.

Sub-features

Support for each part of the feature (2). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
mediatypes.image.avif851219316.4859316.1
mediatypes.image.avif.animation8512111316.48511316.1