Skip to content

AVIF (AV1 Image File Format)

A modern, royalty-free image format based on the AV1 video codec — the best compression of any web image format.

On this page

Definition

AVIF (AV1 Image File Format) is an image format that encodes still images using the AV1 video codec. It supports lossy and lossless compression, an alpha channel for transparency, animation, 12-bit color depth and wide color gamuts, and produces the smallest files of any current web image format.

In practice

At matched visual quality, AVIF files are roughly 50–60% the size of JPEG and 80% the size of WebP. Supported in Chrome, Firefox, Safari 16.4+ and Edge — over 96% of browsers in 2026. Its encoder is slower than WebP's, which is why batch tools run it in background workers.

WebP is the pragmatic fallback beneath AVIF; see What Is WebP? for its lossy, lossless, transparency and animation modes.

What AVIF is unusually good at

Two things separate AVIF from WebP in practice, and both matter more than the headline percentage.

Gradients and low-light areas. Because AV1 was designed for video, it handles smooth tonal transitions well. A photograph with a sky gradient, a soft studio backdrop or dim interior lighting is where AVIF's advantage is most visible — those are exactly the regions where JPEG shows banding at small file sizes.

Small files at low quality. AVIF stays usable at quality settings that would visibly damage a JPEG. Where JPEG starts smearing fine detail below roughly quality 60, AVIF remains acceptable considerably lower, which is why AVIF is the format to reach for when a file budget is genuinely tight.

Where AVIF falls short

It is not the right answer for every image, and the trade-offs are worth knowing before you convert a whole site.

Encoding is slow. AVIF can take several times longer to encode than WebP for the same image. On a website that generates variants on demand this becomes a real cost; for a one-off batch it is a few extra seconds.

Very small images can get larger. AVIF carries more format overhead than JPEG. On tiny images — a 40×40 icon, a small favicon — the overhead can outweigh the compression gain and the AVIF ends up bigger than the original. Below roughly a few kilobytes, check the output rather than assuming.

It is not a lossless champion. For flat-colour graphics and screenshots, PNG with proper optimisation or WebP lossless is usually the better choice. AVIF's strength is lossy photographic compression.

Compress your images now — free and private

Process up to 200 images locally. Choose a format, compare the results and download a ZIP.

Open the compressor
100% private No signup

Frequently asked questions

AV1 Image File Format. It encodes still images using the AV1 video codec, which is why it achieves better compression than older image formats.

Yes. AVIF is royalty-free and open, backed by the Alliance for Open Media. There are no licensing fees for encoding or decoding.

Chrome, Firefox, Safari 16.4 and later, Edge, and all modern mobile browsers — over 96% of global traffic in 2026. A WebP or JPEG fallback inside a <picture> element covers the remainder.

Three cases: very small images (under a few kilobytes), where AVIF's format overhead can make the file larger than the JPEG it replaces; flat-colour graphics, logos and screenshots, where PNG or WebP lossless is more suitable; and any pipeline that re-encodes on demand, because AVIF encoding is slow enough to become a real cost.

For photographs at matched visual quality, yes — typically around 20% smaller. The exception is very small images, where AVIF's greater format overhead can make it larger. Always compare the actual output for images under a few kilobytes.