What Is AVIF? The Next-Gen Image Format Built on AV1
You opened a website, downloaded an image, and it has an odd extension — .avif — that your usual program refuses to display. It is not an error or a virus, but one of the most efficient image formats around today. Let's unpack how a video frame became a photo half the weight of JPEG, and why the web is slowly switching to AVIF.
What AVIF is in plain English
AVIF (AV1 Image File Format) is an image format that stores a picture using the AV1 video codec. The idea is as simple as it is clever: modern video codecs have learned to squeeze frames down to a tiny size with almost no visible loss — so why not take one of those frames and save it as an ordinary photo?
That is exactly what AVIF is: a single freeze-frame from AV1 video, wrapped in a file with the .avif extension. The result is that the same photo that weighs, say, 500 KB as JPEG fits into roughly 250 KB as AVIF — at the same visual quality. And it throws in everything the old JPEG never had: true 10-bit color, HDR, transparency and even animation.
In short
AVIF is "a photo compressed like video." Take one frame from the AV1 codec, put it in a container, and you get an image roughly half the weight of JPEG, with HDR and transparency. The price is slower encoding and the fact that not every program opens it yet.
Where the format came from and who backs it
AVIF is a product of the Alliance for Open Media (AOMedia), an alliance that includes Google, Netflix, Mozilla, Microsoft, Amazon, Apple, Intel and other giants. In 2018 the alliance released AV1, an open and royalty-free video codec meant to replace patent-encumbered codecs in streaming. And in 2019 the first AVIF specification appeared, built on top of it.
The key words here are open and royalty-free. Unlike formats such as HEIC (also "a video frame," but based on the patented H.265 codec), AVIF requires no licensing fees. That is why it slotted so easily into browsers and server software: neither Google nor Mozilla has to pay for every image they render.
Why AVIF compresses so hard
JPEG was born in 1992 and uses a relatively simple transform (DCT) with fixed 8×8-pixel blocks. AV1 is a 2018 codec, and algorithms have come a long way in the intervening decades. Here is what it does differently:
- Flexible blocks. Instead of rigid 8×8 squares, the codec splits the image into blocks of varying sizes — large ones in smooth areas (sky, a wall) and small ones where detail is dense.
- Smart prediction. AV1 "guesses" a block's contents from neighbouring pixels and stores only the difference between its prediction and reality. The better the guess, the less it has to record.
- Modern entropy coding. The final data is packed more tightly than the algorithms of the JPEG era allowed.
The numbers bear this out. According to AOMedia itself and independent tests, at comparable quality AVIF saves about half the weight relative to JPEG and roughly 20–30% relative to WebP.
What JPEG can't do: color, HDR, transparency
Small size is only half the story. The other half is that AVIF is technically richer than any "classic" format. Here are its strengths:
What this means in practice:
- 10- and 12-bit color. JPEG stores 8 bits per channel — 256 brightness levels. AVIF reaches 1024 and beyond, so smooth gradients (sunsets, skies) don't break up into visible "steps."
- HDR. The format understands the PQ and HLG transfer curves from the Rec. 2100 standard — the same ones used in HDR films. A shot from a modern smartphone can preserve the real brightness range, from deep shadows to blinding sun.
- Transparency (alpha). Like PNG, but far lighter. Perfect for logos and icons on websites.
- Animation. AVIF can hold short clips, replacing the heavy GIF at a fraction of the weight.
Downsides and gotchas
To keep this honest, let's name the weak spots too — AVIF has two, and both matter.
Keep in mind
Slow encoding. Compressing a photo into AVIF is harder than into JPEG and burns noticeably more CPU time. For the web that is no problem (encode once, serve everyone), but batch-converting thousands of photos on a weak laptop is tedious.
Incomplete support. Browsers are largely on board (~93–95% of users), but many desktop apps — Microsoft Word, Outlook, some viewers and older Photoshop versions — still don't open AVIF.
That second problem gave rise to a simple strategy for websites: serve AVIF to those who understand it and automatically fall back to WebP or JPG for everyone else. There is more on this in our article AVIF for website speed.
Where you already meet AVIF
Chances are you have seen AVIF without noticing — the browser quietly serves the right format. Today AVIF is used by:
- Large sites and social networks. Netflix, YouTube (thumbnails), online stores and news portals serve images in AVIF to make pages load faster.
- Smartphones. Modern Android devices can shoot and save photos straight to AVIF, saving space in the gallery.
- Web development. The
<picture>tag lets you specify AVIF as the primary option and JPG as the fallback.
How to open and convert AVIF
If your browser opens AVIF but a program on your computer doesn't, don't rush to hunt for plugins. The fastest route is to convert the file into a familiar format:
Upload the AVIF
Drag your .avif into an online converter — nothing to install.
Pick a format
JPG for maximum compatibility, PNG if transparency matters.
Download the result
The finished file opens in any program on any device.
AVIF won't open? Convert it in seconds
The free FormatZ converter turns AVIF into a universal JPG right in your browser — no install, no sign-up, no plugins.
Convert AVIF to JPGIf you need to keep transparency, use the AVIF to PNG converter. And to compress your own photos into AVIF instead, try JPG to AVIF. The full list of conversions is on the all formats page.
Frequently asked questions about AVIF
Read next
ComparisonAVIF vs JPEG: How Much Smaller at the Same Quality
We compare size, color and compatibility of the two formats.
WebAVIF for Website Speed: Bandwidth and Core Web Vitals
How the format speeds up loading and lifts your metrics.
TechAVIF: HDR, Deep Color, Transparency and Support
A look at the format's advanced capabilities.