What Is AVIF? How It Compares to JPEG and WebP, and How to Convert It When It Won't Open
You've saved an image with an unfamiliar .avif extension, and the app you try to open it with says it isn't supported. AVIF is a newer image format that can shrink files dramatically, but it's no use if the software on the receiving end can't read it. This guide covers how AVIF differs from JPEG and WebP, when it's fine to use and when to avoid it, and how to convert it when it won't open.
What kind of image format is AVIF?
AVIF (AV1 Image File Format, extension .avif) is a relatively new still-image format built on video compression technology. Its biggest selling point is that it tends to fit the same visual quality into a smaller file than JPEG, and it spread as a way to make websites load faster.
- Small files: at similar quality, files can drop to around half the size of a JPEG. The gap is biggest for images with lots of colors, such as photos.
- Transparency: like PNG, it can have a transparent background, covering cases where you needed transparency and couldn't use JPEG.
- Wide tonal range: it is less prone to banding, where gradients in dark areas look like stripes, and handles high-contrast photos well.
- Animation: it can hold short animations as a replacement for GIF.
In short, it combines the small size of JPEG, the transparency of PNG and the animation of GIF. The one reason JPEG hasn't disappeared comes down to the question covered next: can the other person open it?
How it compares with JPEG, PNG and WebP
No single format does everything. The four things to weigh are file size, transparency, image quality and, above all, how widely it's supported.
| Format | File size | Transparency | Best for | Support |
|---|---|---|---|---|
| JPEG | Medium | No | Photos | Opens almost everywhere |
| PNG | Large | Yes | Diagrams, screenshots, logos | Opens almost everywhere |
| WebP | Small | Yes | Both photos and graphics | Major browsers support it; older software doesn't |
| AVIF | Very small | Yes | Photos, images with wide tonal range | Support has grown but still has gaps |
| GIF | Large | Yes (rough) | Short animations | Opens almost everywhere |
WebP and AVIF play similar roles: both fill in the weaknesses of JPEG and PNG. Roughly speaking, AVIF wins on compression and WebP wins on support. For diagrams with fine lines or text, pushing compression too far makes edges blur even in AVIF, so screenshots and document graphics are safer left as PNG.
When you shouldn't hand over an AVIF as is
Most "my AVIF won't open" problems aren't a fault in the format; the recipient's setup simply doesn't support it. In the following situations, convert to JPEG or PNG before you pass the file on.
- Inserting into documents or reports: depending on the version, word processors and spreadsheets may not read it, so you can't insert it at all.
- Sending to print: printers' file guidelines usually specify JPEG, PNG, PDF and the like, and AVIF is almost never on the list.
- Uploading to submission forms: forms that only accept certain extensions won't even let you select it.
- Emailing clients or people you don't know: if you don't know their setup, you're sending something they might not be able to open.
- Using older devices or software: some OS and app versions from a few years ago still lack support.
On the other hand, AVIF is fine as is for images on a website you manage, or images only you will view on your own device. Split the decision by asking "will only I open this, or someone else?" and you won't go wrong.
How to convert an AVIF that won't open
Renaming the extension to .jpg by hand doesn't change the contents, so it won't make the file open. You need a conversion that rebuilds the contents. A converter that works in the browser means you don't need to install anything.
- 1
Decide on the output format
Choose JPEG for photos and PNG for images where you want to keep transparency, diagrams and screenshots. Converting a transparent AVIF to JPEG fills the transparent areas with white or another color.
- 2
Load the file into an image format converter
A converter that processes images inside the browser lets you convert locally without uploading anything. That makes it easier to handle images you'd rather not send anywhere, such as photos of people or internal documents.
- 3
Convert and save
Choose the output format, convert and save. Check that the file name's extension matches what you chose.
- 4
Open it to check
Open the converted file in the software you'll actually use, such as the submission form, word processor or printing app. Only then is it really ready to hand over.
If a website serves AVIF and everything you save from it ends up as .avif, converting it once on your side makes it easier to work with from then on. Conversely, if your goal is to make your own site lighter, the standard approach is to serve AVIF and fall back to JPEG for setups that don't support it. File sizes and support for each format are compared in the differences between PNG, JPEG and WebP, and WebP, which also fails to open in some setups, is covered in what to do when a WebP won't open.
FAQ
- What is AVIF, and how is it different from JPEG?
- It's a still-image format built on video compression technology, and it tends to fit the same quality into a smaller file than JPEG. It also supports transparency, which JPEG can't do, and handles gradients in dark areas better. The difference that matters is support: JPEG opens almost anywhere, while AVIF can't be handled by some older software and submission forms.
- My AVIF file won't open. What should I do?
- Most likely the software you're using doesn't support AVIF. Renaming the extension to .jpg doesn't change the contents, so it won't help. Convert it to JPEG or PNG with an image format converter: JPEG for photos, PNG for images and diagrams where you want to keep transparency. Then open the result in the software you'll actually use to be sure.
- Should I use AVIF or WebP?
- Choose AVIF if compression matters most and WebP if broad support matters most. For images on your own website where you can provide JPEG for unsupported setups, AVIF has the edge. For files you hand to other people, or wherever you don't know how they'll be opened, even WebP isn't completely safe, so JPEG or PNG is the safer choice.
- Can I use AVIF for printing or submitting documents?
- Usually not. Printers' file guidelines and submission forms generally accept only formats such as JPEG, PNG and PDF, and AVIF isn't among them. Word processors may not let you insert it either. Check the destination's requirements, and if none are given, convert to JPEG or PNG before sending.
Tools in this article
Related articles
How to Remove Location Data from Photos: Check EXIF Before Posting to Social Media
Photos taken with a smartphone may contain the latitude and longitude of where they were taken. This guide explains what is recorded in a photo, which ways of sharing keep that data and which strip it, and how to check and remove location data on each type of device.
Read article →Image Resolution vs. DPI: How Many Pixels You Need for Web and Print
When a print shop tells you to “submit at 350 dpi,” it’s hard to tell whether the image you have meets the requirement. In fact, the only real substance of an image is its pixel count; dpi is just an instruction for how many centimeters or inches to print those pixels across. This guide covers the relationship between resolution, dpi, and pixels, how to calculate the pixels you need from a paper size, and why dpi has nothing to do with how images look on the web.
Read article →How to Convert HEIC to JPG: When iPhone Photos Won’t Open on Windows
You move photos from your iPhone to your computer, and they have a .HEIC extension that will not open. It is one of the most common snags. This guide explains why HEIC files fail to open, four ways to convert them, and the iPhone setting that stops photos from being saved as HEIC in the first place.
Read article →