Skip to main content

What is AVIF?

Glossary image
AV1 Image File Format

AVIF (AV1 Image File Format) is a modern image file format that uses the AV1 video codec's compression technology to deliver high-quality images at significantly smaller file sizes than older formats such as JPEG, PNG, and even WebP.

AVIF was developed by the Alliance for Open Media, a consortium that includes major technology companies such as Google, Apple, Mozilla, and Netflix. The format was finalized in 2019 and has since gained broad support across modern browsers and operating systems. Because it is built on the AV1 codec, which was designed as a royalty-free alternative to proprietary video compression standards, AVIF carries no licensing fees for implementers or users.

The primary advantage of AVIF is its compression efficiency. Images encoded in AVIF can be 50% smaller than equivalent JPEG files while maintaining comparable or superior visual quality. This reduction in file size has a direct impact on web performance, as smaller images load faster, consume less bandwidth, and contribute to better scores on metrics such as Largest Contentful Paint (LCP), one of Google's Core Web Vitals. For websites that rely heavily on imagery, such as e-commerce platforms or photography portfolios, adopting AVIF can meaningfully improve both user experience and search engine rankings.

Beyond compression, AVIF supports a wide range of visual capabilities. It handles both lossy and lossless compression, supports transparency (also called an alpha channel, similar to PNG), and is capable of storing high dynamic range (HDR) images with wide color gamut support. It also supports animated images, making it a potential replacement for the GIF format in some contexts.

One consideration when adopting AVIF is encoding speed. Generating AVIF files, particularly at high quality settings, can be computationally intensive compared to producing JPEG or WebP images. This is typically addressed by using image optimization pipelines or content delivery networks (CDNs) that handle format conversion automatically. Many modern image CDNs can serve AVIF to supported browsers and fall back to WebP or JPEG for older ones, using the HTML picture element and the Accept HTTP header for format negotiation.

Browser support for AVIF has grown steadily since its introduction. As of 2024, AVIF is supported by Chrome, Firefox, Safari, and Edge, covering the vast majority of web users. For the remaining edge cases, implementing a fallback strategy using the picture element ensures that all users receive an appropriately formatted image regardless of their browser's capabilities.

For web developers and SEO professionals focused on performance optimization, AVIF represents one of the most effective tools currently available for reducing image payload without sacrificing visual fidelity.

Have a question?

Get in touch if you'd like to learn more about this topic.

Contact Us