The AVIF Image Format

AV1-based next-generation compression for the smallest high-quality images

Last updated: June 26, 2026

AVIF, the AV1 Image File Format, is one of the most efficient image formats available today. Built on the royalty-free AV1 video codec, it can make photos roughly 40-50% smaller than JPEG at similar quality while supporting features older formats lack, including HDR, wide colour gamut, 10- and 12-bit depth, alpha transparency, and both lossy and lossless modes. Created by the Alliance for Open Media and finalised in 2019, AVIF is now widely supported in browsers and prized for bandwidth-sensitive web delivery.

What is AVIF?

AVIF is a modern raster image format that applies the compression power of video to still pictures. Its full name, AV1 Image File Format, reflects its origin: it stores an image as an intra-frame, or keyframe, of the AV1 video codec inside a compact container. Because AV1 was engineered to compress high-resolution video extremely efficiently, the same techniques produce remarkably small still images.

What sets AVIF apart is the combination of efficiency and capability. It supports both lossy compression for tiny photo files and lossless compression where pixel accuracy matters. It handles alpha transparency for clean edges over any background, and it embraces modern display technology with HDR, wide colour gamut, and high bit depths of 10 and 12 bits per channel. That means richer highlights, deeper shadows, and more colours than the 8-bit limit of older formats. For sites that want the best quality at the smallest size, AVIF is a compelling choice.

The History of AVIF

AVIF emerged from the Alliance for Open Media, a consortium founded in 2015 by companies including Google, Mozilla, Microsoft, Amazon, Netflix, and others. Their shared goal was a high-performance, royalty-free video codec free from the licensing complications that surrounded existing standards. The result was AV1, finalised in 2018.

With a powerful new codec in hand, the alliance defined a still-image format that wrapped AV1's intra-frame coding in the standardised HEIF container. This format, AVIF, was finalised in 2019. Adoption moved quickly for a new format: browsers began shipping support over the following years, and by 2024 roughly 95% of users could view AVIF natively. Major platforms and image-heavy services adopted it to cut bandwidth costs. Unlike some predecessors, AVIF arrived with strong industry backing and an open, royalty-free licence, which helped it gain traction across tools and the wider web.

How AVIF Works

AVIF compresses an image by treating it as a single AV1 video keyframe and storing the result in an efficient container. The AV1 encoder uses several advanced techniques to do this:

  • Intra-frame prediction: Blocks of pixels are predicted from their neighbours, so only the differences need to be stored.
  • Flexible block partitioning: The image is divided into variably sized blocks, letting the encoder spend bits where detail is high and save them where it is low.
  • Advanced transforms and entropy coding: Mathematical transforms concentrate image energy, and an arithmetic coder packs the data tightly.

AVIF supports lossy and lossless modes, separate alpha channels for transparency, and high bit depths for HDR content. The trade-off for this efficiency is speed: AVIF encoding is noticeably slower than JPEG or WebP because the encoder explores many more options to find the smallest representation. Decoding, however, is fast enough for smooth web display, which is why the format works well for delivery even if it is heavier to produce.

Key Features of AVIF

AVIF brings an unusually rich feature set to still images:

  • Exceptional compression: Roughly 40-50% smaller than JPEG at comparable quality, often beating WebP too.
  • HDR and wide colour: Supports high dynamic range and wide colour gamut for vivid, lifelike images on modern displays.
  • High bit depth: 10- and 12-bit colour reduces banding in gradients like skies.
  • Alpha transparency: Clean transparent regions for logos, overlays, and product shots.
  • Lossy and lossless: One format covers both compact photos and pixel-perfect graphics.
  • Open and royalty-free: No licensing fees, encouraging broad tool and browser support.

These capabilities make AVIF future-proof for displays that increasingly support HDR and wide colour, all while keeping files small enough to serve at scale.

Common Use Cases

AVIF is built for situations where image quality and bandwidth both matter:

  • Hero and banner images: Large, eye-catching visuals load faster when delivered as AVIF, improving perceived page speed.
  • Product photography: E-commerce sites get sharp, detailed photos at small sizes, often with transparency for clean layouts.
  • Bandwidth-sensitive sites: High-traffic platforms cut data costs significantly by switching their image library to AVIF.
  • HDR content: Photos that benefit from extended dynamic range and wide colour can preserve that richness in AVIF.
  • Mobile delivery: Smaller files ease data use for users on slow or metered networks.

Because encoding is slower, AVIF is best used where assets are prepared once and served many times, rather than for real-time, on-the-fly image generation under tight time limits.

AVIF vs Other Image Formats

Against JPEG, AVIF is a clear step forward: roughly 40-50% smaller at similar quality, plus transparency, HDR, and higher bit depth that JPEG cannot offer. Compared with WebP, AVIF generally compresses more efficiently and handles HDR and wide colour better, though WebP encodes faster and had a head start in tooling and support.

Versus PNG, lossless AVIF can be smaller while adding lossy options and modern colour features, but PNG remains a safe, universally readable choice for simple graphics. The main cost of AVIF is encoding speed: producing an AVIF file takes more processing time than JPEG or WebP, which can matter for large batches or live generation. For carefully prepared assets served to a modern audience, however, AVIF usually delivers the best quality-per-byte of any widely supported format, making it a strong default for performance-focused websites.

Tips for Working with AVIF

To get the best results from AVIF, keep a few points in mind:

  • Budget encoding time: AVIF is slower to encode, so prepare assets ahead of time rather than generating them on demand under tight deadlines.
  • Use a sensible quality target: Test a few quality levels on real images; AVIF often looks clean at lower settings than JPEG would tolerate.
  • Provide a fallback: Although support is near-universal, serving WebP or JPEG to the rare unsupported client guarantees everyone sees an image.
  • Exploit high bit depth: For gradients and skies, AVIF's 10- or 12-bit depth reduces banding noticeably.
  • Start from a quality source: Convert from an original or lossless image rather than an already-compressed file to avoid stacking artefacts.

Used this way, AVIF delivers striking size savings without sacrificing visual quality.

AVIF at a Glance

Full nameAV1 Image File Format
File extension.avif
Developed by / YearAlliance for Open Media, 2019
CompressionLossy and lossless (AV1 intra-frame coding)
TransparencyYes
Color supportUp to 12-bit, HDR and wide color gamut
Best forHero images, product photos, bandwidth-sensitive web

Advantages of AVIF

  • Roughly 40-50% smaller than JPEG at similar quality
  • Supports HDR, wide color gamut, and 10/12-bit depth
  • Handles alpha transparency plus lossy and lossless modes
  • Open, royalty-free, with browser support around 95% by 2024

Limitations of AVIF

  • Encoding is noticeably slower than JPEG or WebP
  • Less suitable for real-time, on-the-fly image generation
  • Some older devices and software still cannot open AVIF

Convert AVIF to Another Format

Use Snap2Format's free converter to turn your AVIF files into any of these formats — no signup, no watermark:

Convert Other Formats to AVIF

Need a AVIF file? Convert from these formats instantly:

AVIF — Frequently Asked Questions

AVIF usually compresses more efficiently than WebP and handles HDR and wide colour better. WebP, however, encodes faster and has slightly broader tooling, so the best choice depends on whether you prioritise size or speed.

AVIF is typically around 40-50% smaller than JPEG at comparable visual quality, thanks to the advanced AV1 intra-frame compression it is built on.

Yes. AVIF support grew quickly after its 2019 finalisation, and by 2024 roughly 95% of users could view AVIF natively in their browser. A fallback covers the rest.

AVIF uses the AV1 encoder, which explores many compression options to find the smallest file. That thorough search produces excellent results but takes more processing time than JPEG or WebP.

Yes. AVIF supports a full alpha channel for transparency, so it works well for logos, overlays, and product images that need clean edges over any background.

Explore Other Image Formats

Learn about the formats most often used alongside AVIF:

← Back to all supported formats