What Is an AVIF File and How Do You Open One
By Convert HEIC To JPG Editorial Team ·
An AVIF file is an image saved in the AVIF format, a modern, royalty-free format based on the AV1 video codec that makes pictures much smaller than JPG at similar quality. Current browsers open AVIF images, but many editors, apps, email clients and upload forms still can't, so people often need to convert them to JPG or PNG. This guide explains what AVIF is, why you keep meeting it, what it can do, how to open one, and what happens when you convert it with our AVIF to JPG or AVIF to PNG converter.
What AVIF is
AVIF stands for AV1 Image File Format. It takes the compression techniques of AV1, a video codec developed by the Alliance for Open Media with the aim of being free to use, and applies them to still pictures. That licensing point is part of its appeal. Some other modern image formats rely on video technology covered by patents, which complicates life for browser makers and software vendors. AV1 was designed to avoid that. If you want the comparison, our article on what HEIC is explains the patent side of the story for Apple's format.
AVIF files are stored in a container family related to the one HEIC uses, which is why people sometimes lump the two together. The practical difference is the compression inside: HEIC uses HEVC, AVIF uses AV1.
What AVIF can do
- Very efficient lossy compression. At small file sizes AVIF typically holds up better than JPG, and often better than WebP. Netflix's testing, as reported by web.dev's guide, found significant size reductions against JPEG and WebP.
- Lossless mode for graphics where every pixel must be exact.
- Transparency, like PNG and WebP.
- Higher bit depth and wide colour. AVIF can describe more colour than the 8-bit sRGB that JPG is limited to, which supports high dynamic range images.
- Animation, as an alternative to GIF.
Why you keep running into AVIF files
Like WebP, AVIF mostly reaches you through websites. Content delivery networks and site builders increasingly serve AVIF to browsers that can display it, because smaller images mean faster pages. When you save such an image, your browser saves what the site sent, and you end up with a .avif file. Some phones, cameras and design tools can also export AVIF directly. The trouble starts when that file goes somewhere less modern: a document, a presentation, an email, a print order, or a form that lists accepted file types.
A short support timeline
Chrome added AVIF support in 2020 and Firefox followed in 2021, with Safari adding it in 2022, according to web.dev's overview. Since then, current versions of all the major browsers display AVIF. Outside browsers the picture is more mixed: operating-system viewers, photo editors and apps have been adding support gradually, and older versions often lack it. The practical rule is the same as with other new formats: if a program is more than a few years old, expect trouble.
How to open an AVIF file
| Where | What to do |
|---|---|
| A current browser | Drag the file into a tab. This is the fastest test, and it shows whether the image is animated or transparent |
| Phone gallery | Recent iOS and Android versions generally display AVIF; older ones may not |
| Computer image viewers | Support depends on the operating system version and app. Check for updates or an add-on from the official store |
| Editors, documents, email | Varies widely. If it fails, convert to JPG or PNG |
How to convert AVIF to JPG or PNG
- Open the AVIF to JPG page, or AVIF to PNG if you need transparency or a lossless copy.
- Drop in your .avif files. You can add many at once.
- Download each result, or press Download all for a ZIP.
The conversion uses your browser's own AVIF decoder, so it only works in a browser that can display AVIF itself. That's a small catch in exchange for never uploading the file: nothing leaves your device.
What changes when you convert
- File size. The JPG or PNG is usually larger, sometimes much larger. In one of our test images, a 6 KB AVIF became a 17 KB JPG and a 207 KB PNG. Your files will differ, but the direction is the same.
- Transparency. JPG has none, so see-through areas become white. PNG keeps them.
- Colour range. HDR or wide-colour images are squeezed into the standard range JPG and PNG normally use, so very saturated colours can look slightly different.
- Animation. An animated AVIF becomes a single still image.
- Metadata. Date taken, camera and location details aren't copied into the converted file.
AVIF compared with the other formats
| Feature | JPG | WebP | AVIF | HEIC |
|---|---|---|---|---|
| Typical compression efficiency | Baseline | Better than JPG | Often better still | Better than JPG |
| Transparency | No | Yes | Yes | Yes |
| Animation | No | Yes | Yes | Image sequences |
| Royalty-free codec | Yes | Yes | Yes | No (HEVC is patented) |
| Where it works | Everywhere | Modern browsers, many apps | Modern browsers, fewer apps | Apple devices, patchy elsewhere |
The wider comparison, including PNG and GIF, is in JPG, PNG, WebP, AVIF and HEIC compared, and a closer look at its sibling is in what a WebP file is.
The trade-offs of AVIF
The strengths are compression and a free codec. The weaknesses are practical. Encoding AVIF takes noticeably more processing than encoding JPG, so tools can be slower. Support in desktop software, document editors and print workflows lags behind browsers. And like every lossy format, repeated conversion compounds quality loss. None of these is a reason to avoid AVIF on a website you control; they are reasons to be careful about using it for files you hand to other people.
If you publish images
For a website, a common approach is to offer AVIF first and fall back to WebP or JPG for browsers that need it, so everyone gets something that works. Create the AVIF versions from your original files, not from existing JPGs. Check that your site tools and content management system accept the format before you rely on it, and keep the originals somewhere safe. For general advice on shrinking images for a site, see how to reduce a photo's file size.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The app says the format is unsupported | The program is older than AVIF support | Convert to JPG or PNG, or update the app |
| The converter shows an error | Your browser can't decode AVIF, or the file is damaged | Try a current browser; re-download the file |
| The JPG has a white background | The AVIF was transparent | Convert to PNG instead |
| Colours look flatter than the original | HDR or wide colour reduced to standard range | Keep the AVIF for viewing in a capable browser |
| The animation is gone | Converters output one still frame | Keep the AVIF, or use a video tool |
A word on safety
An AVIF is just an image, and opening one is no riskier than opening a JPG, provided your software is up to date. The bigger privacy question is the converter you choose. Many websites ask you to upload files to convert them, which sends your images to a server you don't control. A converter that runs in your browser keeps the file on your device, and you can confirm it by watching your browser's Network tab while it works.
Choosing AVIF to JPG or AVIF to PNG
- Choose JPG for photographs, anything you will email or upload, and whenever file size matters.
- Choose PNG for graphics, screenshots, and images that have transparency you need to keep.
- Keep the AVIF if the only place it will be used is a modern browser or an app you know supports it.
If you are unsure, convert one file each way and compare. The converters show the size before and after, so the difference is easy to see.
Quality settings and the look of AVIF images
When you create AVIF files yourself, two settings matter most: quality and effort. Quality works as it does in other lossy formats. Effort (sometimes called speed) controls how hard the encoder works to find a smaller file, and higher effort takes longer. Because the compression is so strong, very low quality settings can smooth away fine texture such as skin detail, film grain or foliage, giving images a soft, waxy look. A moderate setting usually avoids that, and it is worth checking a few files at full size before you convert a whole set.
The same caution applies when you convert an AVIF to JPG: the JPG can only be as detailed as the AVIF you started with. If the AVIF is already smooth, the JPG will be smooth too.
Keep a master, whatever the format
A good habit with every modern format is to keep one high-quality original, such as the camera file, a lossless export or the design source, and create AVIF, WebP or JPG copies from that. Chaining conversions between lossy formats, say JPG to AVIF to JPG, stacks quality loss without any benefit. It also means you can regenerate the copies if browsers or requirements change. Our guide to PNG vs. JPG covers the lossless-versus-lossy reasoning in more detail.
Questions people ask
Is AVIF better than JPG?
For file size at similar quality, usually yes, and it adds transparency, animation and wider colour. JPG still wins on compatibility, so it remains the safer choice for sharing and uploading.
Can I rename an .avif file to .jpg?
No. Renaming doesn't change what is inside the file, and programs that inspect the real format will still reject it. Convert it instead.
Why is my converted JPG bigger than the AVIF?
AVIF compresses more efficiently, so the same picture takes more space as a JPG. That is the cost of compatibility.
Does my phone take AVIF photos?
Phones normally save JPG or HEIC by default. AVIF files usually come from websites, design tools or apps that export them, not from the standard camera.
Is AVIF the same as HEIC?
No. They share a related container design, but HEIC uses the patented HEVC codec and AVIF uses the royalty-free AV1 codec. Programs that open one don't necessarily open the other.
Last reviewed: 2026-11-04