What is an AVIF file? The image format explained, and how to open one
What is an AVIF file? The AV1 image format explained: what it stores, why sites use it, which browsers open it and how to convert AVIF to JPG or PNG free.
An AVIF file is a picture saved in the AV1 Image File Format, a newer format that fits photos into much smaller files than JPEG. The file name ends in .avif. Every current major browser can show one, and many websites now use it, but plenty of photo editors, upload forms and older apps still won’t open it. If that’s the problem you’ve hit, the quickest fix is to convert the AVIF to JPG in your browser.
What AVIF stands for and who made it
AVIF is short for AV1 Image File Format. The Library of Congress, which keeps notes on file formats for digital preservation, says it was first released in 2019 by the Alliance for Open Media, a non-profit industry group that also develops the AV1 video codec. You say it by spelling out the letters: A-V-I-F.
AV1 was designed to compress video sent over the internet, and AVIF borrows that compression for still pictures. MDN’s image file type guide describes it as an open source, royalty-free format that stores AV1 data inside a HEIF container. Royalty-free matters here, because anyone can add AVIF support to a browser or app without paying patent fees. The current AVIF specification is version 1.2.0, dated 16 October 2025, and it sets the file extension as .avif and the media type as image/avif.
What an AVIF file can hold
AVIF tries to do the jobs of JPEG, PNG and GIF in one format. These are the features MDN and the Library of Congress list for it:
| Feature | In AVIF | What it means for you |
|---|---|---|
| Lossy compression | Yes, around 50% smaller than a JPEG of similar quality | A photo that looks much the same in about half the download |
| Lossless compression | Yes | Every pixel can be kept, as with PNG |
| Transparency | Yes (alpha channel) | Logos and cut-outs keep a see-through background |
| Animation | Yes (image sequences) | It can replace animated GIFs at a fraction of the size |
| HDR and wide colour | Yes, up to 12 bits per channel | Brighter highlights and more colours on screens that can show them |
| Metadata | Exif, XMP and ICC profiles | Camera details and colour profiles can travel with the picture |
| Progressive loading | No | The whole file has to arrive before anything appears |
On size, MDN quotes a test in which AVIF shrank a set of JPEGs by a median of 50%, against 30% for WebP. Your own results will depend on the picture. Google’s web.dev course on image formats adds that Netflix, a founding member of the Alliance for Open Media, built a testing framework that showed significant reductions in file size compared with JPEG and WebP.
Why you end up with AVIF files you didn’t ask for
Most people meet AVIF by accident. You right-click a picture on a shop or news site, choose Save image as, and get a .avif file that your photo app won’t touch. The site was probably offering the same picture in more than one format. MDN recommends exactly that set-up: serve AVIF, with a WebP, JPEG or PNG fallback in an HTML <picture> element for browsers that can’t read it. Your browser could read AVIF, so it picked the AVIF version, and that’s the one it saved.
Because the browser displays the picture perfectly, nothing looks wrong until you try to use the file somewhere else. A job application portal, a photo printing service or an older editor may only accept JPG or PNG. The same thing happens with WebP, and our guide on fixing a WebP file that won’t open covers that format.
What opens an AVIF file
Any up-to-date major browser will. Drag the file into a Chrome, Edge, Firefox or Safari window and it appears. MDN gives these as the first versions with AVIF support:
| Browser | First version | Notes |
|---|---|---|
| Chrome | 85 | |
| Opera | 71 | |
| Firefox | 93 | Still images; animated AVIF from Firefox 113 |
| Edge | 121 | |
| Safari | 16.1 | Still images only. Apple’s Safari 16 release notes (Safari 16 shipped with iOS 16) list support for non-animated AVIF |
Desktop apps are patchier, and whether yours reads AVIF depends on the app and the version you have installed. If the program you need won’t open the file, converting it is usually quicker than hunting for an update or a plug-in.
How to convert an AVIF file to JPG
A JPG opens in practically everything, so it’s the safe choice for photos. Lokafile’s converter runs in your browser and doesn’t upload the image:
- Open AVIF to JPG and drop the .avif file onto the page, or click to choose it.
- Leave Quality at 92% to begin with. Drag it lower, as far as 40%, for a smaller file.
- If the picture has transparent areas, set Fill transparency. JPG can’t store transparency, so those areas take this colour. White is the default.
- Check the original and new file sizes the tool shows, then click Download. The copy keeps its name, with .jpg on the end.
Your browser does the decoding, so the tool needs a browser that can read AVIF, which any current one can. If yours can’t, you’ll see a message saying the image couldn’t be opened. It converts one picture at a time.
JPG or PNG: which to convert to
Choose by what’s in the picture.
- Photos: go to JPG. The file is smaller and almost every app and form accepts it.
- Logos, icons, stickers and cut-out product shots: go to PNG with AVIF to PNG. PNG keeps transparent areas transparent, where JPG fills them with a solid colour.
Our PNG vs JPG guide goes further into that choice. Either way, expect the converted file to be bigger than the AVIF, sometimes a lot bigger, since AVIF’s small size is the whole point of the format. If the JPG then goes over an upload limit, run it through Compress Image.
Should you use AVIF on your own website?
For big photos where every kilobyte counts, it’s worth a look. MDN gives two cautions. AVIF doesn’t render progressively, so a large file shows nothing until it has finished downloading, and for very large images MDN suggests thinking about a format that does load progressively. And keep a fallback: offer WebP, JPEG or PNG alongside the AVIF in a <picture> element so older browsers still get an image. Visitors who save your pictures will then run into the same .avif files described above, which is one more reason to keep a JPG version handy if people are meant to download them.
Questions people ask
How do I convert AVIF to JPG?
Open Lokafile’s AVIF to JPG tool, drop the .avif file on the page, adjust Quality if you want a smaller file, and click Download. The conversion happens in your browser, so the picture isn’t uploaded. Transparent areas are filled with the colour you choose, white by default.
What program can open an AVIF file?
Any current major web browser. MDN lists AVIF support from Chrome 85, Opera 71, Firefox 93, Edge 121 and Safari 16.1, so dragging the file into a browser window is the quickest way to see it. Desktop editors vary by app and version. If one won’t open it, convert the file to JPG or PNG.
Is AVIF better than JPEG?
For file size, usually. MDN says lossy AVIF images are around 50% smaller than JPEG images, and AVIF also supports transparency and animation, which JPEG doesn’t. JPEG wins on compatibility: almost every app, form and device accepts it.
What does AVIF stand for?
AV1 Image File Format. It stores pictures compressed with AV1, a video codec from the Alliance for Open Media, which first released AVIF in 2019. The Library of Congress notes that people say it by spelling out the letters, A-V-I-F.
Can an AVIF file have a transparent background?
Yes. AVIF has an alpha channel, like PNG. To keep the transparency when you convert, choose PNG rather than JPG, because JPG can’t store transparent areas.