AVIF vs WebP comes down to this: AVIF usually makes a smaller file at the same visual quality, while WebP encodes several times faster and opens in more places. JPG makes the largest files of the three but works everywhere, so it stays the fallback and the format for email and uploads.
For a website, serve AVIF first with a WebP or JPG fallback. In the worked example below, the same 800-pixel photo at similar quality weighed 94 KB as AVIF, 105 KB as WebP and 140 KB as JPG. To make AVIF copies of your own PNG or JPG images, use the free AVIF Converter.
AVIF vs WebP vs JPG at a glance
| AVIF | WebP | JPG | |
|---|---|---|---|
| Size at similar quality | Smallest | Close second | Largest |
| Transparency | Yes | Yes | No |
| Animation | Yes | Yes | No |
| Lossless mode | Yes | Yes | No |
| Bit depth | 8, 10 or 12, HDR | 8 | 8 |
| Encoding speed | Slow | Fast | Fastest |
| Browser support | Current versions | Current and many older | All |
AVIF (AV1 Image File Format) stores images compressed with the AV1 video codec in a HEIF container, as the AVIF specification from the Alliance for Open Media sets out.
MDN's image format guide adds three limits worth knowing. AVIF has no progressive rendering, so a browser shows it only once the whole file has arrived. Lossy WebP stores color at half resolution (4:2:0), and no WebP can exceed 16,383 pixels on a side, which rules it out for very long full-page screenshots. JPG can't hold transparency at all.
Zutilium's converter writes standard 8-bit AVIF with full-resolution color (4:4:4), which avoids the color bleeding that half-resolution color can cause around red or blue text and thin colored lines. It doesn't create HDR images.
How to convert PNG or JPG to AVIF with Zutilium
The AVIF Converter turns one PNG, JPG, WebP, GIF or TIFF image into a still AVIF. The steps are the same for PNG to AVIF and JPG to AVIF.
- Open the converter and drag your image onto Drop your file here, or click Choose file (on a phone, Tap to choose a file). Files can be up to 30 MiB by default.
- Under Settings, leave Quality at Balanced (65) for most photos. Choose High Quality (80) for product shots and images with text or logos, and High Compression (50) only for large backgrounds where some softness is acceptable.
- Under Max Width, pick the option nearest the widest size the image appears at on your page, or the next size up for sharper results on high-density screens: 800px, 1280px or 1920px. Keep Original leaves the dimensions alone, and smaller images are never enlarged.
- Click Convert to AVIF.
- When Your AVIF is ready appears, compare the Original, Result and Change tiles, then click Download.
Then open the AVIF and the original side by side at the same size and look at fine texture, small text and smooth gradients. The download is named converted_, then a long ID, then your file name, so rename it before you upload it to your site.
The AVIF keeps any transparency the source already has. It carries no EXIF data, GPS location or color profile, and phone photos are turned upright first. Animated GIFs and WebPs become a still image of their first frame.
The conversion runs on Zutilium's server. After a successful conversion, your upload is scheduled for deletion after about one minute and the AVIF after about ten minutes; cleanup runs periodically, so download the result promptly. iPhone HEIC photos aren't accepted: convert them to PNG with the HEIC Converter first, which avoids an extra lossy JPG step, then make the AVIF.
Worked example: one photo as AVIF, WebP and JPG
The example image is a detailed 1200 × 675 aerial photo of an autumn forest, saved as a 1.65 MB PNG; like most photos on the web, it had been compressed once before. Every file below was made with Max Width at 800px, so all are 800 × 450: JPGs with the Image Converter, WebPs with the WebP Converter and AVIFs with the AVIF Converter.
Sizes are shown as the converters report them (1 KB = 1,024 bytes). SSIM, a standard similarity score, compares the brightness detail of each file with the resized original: 1.000 means identical, and lower scores mean more lost detail.
| Format | Quality setting | Size | SSIM |
|---|---|---|---|
| JPG | 80 | 94 KB | 0.941 |
| JPG | 90 | 140 KB | 0.971 |
| WebP | 80 | 86 KB | 0.963 |
| WebP | 85 | 105 KB | 0.977 |
| WebP | 90 | 131 KB | 0.988 |
| AVIF | High Compression (50) | 55 KB | 0.930 |
| AVIF | Balanced (65) | 94 KB | 0.974 |
| AVIF | High Quality (80) | 130 KB | 0.989 |
| AVIF | Maximum Quality (95) | 244 KB | 0.998 |
What the numbers show:
- Quality numbers don't carry across formats. Balanced (65) AVIF scored between WebP at 85 and JPG at 90. It matched the quality 80 JPG in size (94 KB) but was much closer to the original: 0.974 against 0.941.
- At similar quality, AVIF was the smallest. It was about 10 percent smaller than the WebP at 85 and about a third smaller than the JPG at 90. That WebP was itself 25 percent smaller than the JPG, in line with Google's figure of 25 to 34 percent.
- High settings erase the lead. High Quality (80) AVIF and quality 90 WebP came out at 130 and 131 KB with almost the same score. Maximum Quality (95) made a 244 KB file, about 12 percent larger than WebP at 100 (218 KB) with almost the same score.
- AVIF is slow to encode. In the same run, each AVIF took roughly six to eight times as long to make as the WebP of similar quality. That hardly matters for images you convert once, but it adds up for sites that convert images on demand.
A second photo, of tall trees seen from below, kept the same order at similar scores (AVIF 149 KB, WebP 159 KB, JPG 193 KB), with a smaller AVIF lead. Your own images will give different numbers, so compare two or three settings before you settle on one.
A transparent PNG graphic
A 1200 × 630 social card with a transparent area behind its logo, saved as a 45 KB PNG, shows how the formats handle graphics. At Balanced (65) the AVIF was 5.7 KB, the WebP at 85 was 9.1 KB, and a JPG at 80 was 17.5 KB with the transparent area filled white.
Both modern formats kept the transparency, but in different ways. The AVIF compressed it lossily: some pixels' opacity shifted by up to 18 of 255 levels at Balanced (65) and by at most 4 at Maximum Quality (95). The WebP kept every transparency value exactly, because lossy WebP compresses transparency losslessly by default, as the cwebp documentation notes.
For a 180 × 180 app icon, AVIF and WebP ended within about 200 bytes of each other, so the format barely matters at that size.
Which format to use for each image
| Image | Use | Notes |
|---|---|---|
| Hero or banner photo | AVIF, WebP fallback | Balanced (65), 1920px or 1280px |
| Blog and product photos | AVIF or WebP | Balanced (65) or High Quality (80) |
| Logo or icon | SVG, else WebP or AVIF | High Quality (80), keep the PNG |
| Screenshot with small text | PNG or lossless WebP | AVIF only at 80 or higher |
| Email newsletter | JPG or PNG | Email support for AVIF is patchy |
| Social media and forms | JPG or PNG | Many don't accept AVIF |
| Master copy | The original file | Export web copies from it |
For a whole folder of photos, the Bulk Image Compressor makes WebP or JPG copies of up to 200 images at once; it doesn't write AVIF. How to batch compress JPG, PNG and WebP images walks through it.
AVIF browser support and app support
As of November 2026, every current major browser shows AVIF. These are the first versions with support, from MDN's compatibility data and WebKit's release notes:
| Browser | AVIF | WebP |
|---|---|---|
| Chrome | 85 and later | Yes |
| Edge | 121 and later | Yes |
| Firefox | 93 and later | Yes |
| Opera | 71 and later | Yes |
| Safari | 16 and later | 14 and later |
Safari 16 brought AVIF to iOS 16 and macOS Ventura, and Macs on Big Sur and Monterey got it with Safari 16.4, as the Safari 16.4 release notes explain. Safari's WebP support needs macOS Big Sur or later. The gap that remains is old devices: iPhones and iPads stuck on iOS 15 or earlier, older Macs, and Edge before version 121. A <picture> element sends those browsers a WebP or JPG while everyone else gets the AVIF:
<picture>
<source srcset="forest-800.avif" type="image/avif">
<source srcset="forest-800.webp" type="image/webp">
<img src="forest-800.jpg" alt="Autumn forest from above" width="800" height="450">
</picture>
The browser uses the first source whose type it supports. Convert images to WebP for a faster website covers fallbacks and CMS settings in more detail.
Outside the browser, support varies:
- WordPress accepts AVIF uploads from version 6.5 if the server's image library (Imagick or GD) supports the format. To check, open Tools > Site Health, then the Info tab and Media Handling, as the WordPress 6.5 announcement explains.
- Google Search lists AVIF among the image formats it supports.
- GIMP has opened and exported AVIF since version 2.10.22.
- Older apps, email clients and many upload forms may still need JPG or PNG, so keep those versions.
Troubleshooting AVIF conversion
The AVIF is bigger than the original or the WebP
Conversion doesn't always shrink a file. Step down from Maximum Quality (95) to Balanced (65), choose a smaller Max Width, and compare the result with a WebP of the same width. If an already compressed image still doesn't shrink, keep the original.
Fine texture or small text looks smudged
AVIF smooths fine detail as quality drops; at High Compression (50), the forest photo scored below the quality 80 JPG. Switch to High Quality (80), and choose Keep Original if the image must stay full size. For screenshots full of small text, PNG or lossless WebP stay sharper.
The transparent background shows as black or white
Many viewers draw transparent areas over a solid color, so check the AVIF over a contrasting background before deciding the transparency was lost. A JPG source has no transparency to keep: converting it to AVIF doesn't remove its background.
The AVIF won't open in an app or older browser
Old Safari versions, older apps and many upload forms can't read AVIF. Keep the original for those uses, or turn the AVIF back into a PNG or JPG with the steps in AVIF to PNG or JPG.
The converter rejects the file
The page checks the file extension and accepts .jpg, .jpeg, .png, .gif, .webp, .tiff and .tif files up to 30 MiB. Images over 100 megapixels fail even below that size, so shrink giant scans or panoramas first.
Frequently asked questions
What is an AVIF file?
An AVIF file (.avif) is an image compressed with the AV1 video codec and stored in a HEIF container, a format published by the Alliance for Open Media. It supports lossy and lossless compression, transparency, HDR and animation. Every current major browser opens it, but older apps may not.
Is AVIF better than WebP?
For file size at the same quality, AVIF usually wins, most clearly at moderate settings: in the worked example it was about 10 percent smaller than WebP and a third smaller than JPG. WebP encodes several times faster, keeps transparency exact by default and works on more older devices. Many sites serve both, AVIF first with WebP as the fallback.
Should I convert JPG to AVIF?
For images on your own website, yes, as long as you keep the original JPG as your master copy and fallback. Conversion can't restore detail that JPG compression already removed, so start from the best copy you have. For email, social media and upload forms, keep the JPG.
Does Google index AVIF images?
Yes. Google Search Central lists AVIF alongside BMP, GIF, JPEG, PNG, WebP and SVG as supported image formats. Smaller files also help your pages load faster for visitors.
Is AVIF lossless?
AVIF has a lossless mode, but Zutilium's AVIF Converter always saves lossy AVIF at the quality you pick, including Maximum Quality (95). Keep a PNG when you need a pixel-exact copy.