Convert HEIC photos to AVIF in your browser
Add HEIC photos from an iPhone, iPad or Samsung and download light AVIF files for your web pages. In our measurement, the mixing console photo went from 1.16 MB as HEIC to 604.2 KB as AVIF.
Files in queue
What is HEIC, and what is AVIF?
A HEIC file holds a photo encoded with the HEVC codec inside a HEIF container, defined in the ISO/IEC 23008-12 standard[1]. The iPhone 7 and later models running iOS 11 or later save photos in this format[2], and since Android 10 in 2019, so do phones with a suitable hardware encoder[1].
AVIF stores the image with the AV1 codec in the same HEIF container that HEIC uses[3]. The format is open and royalty-free, supports transparency, animation and HDR images, and according to MDN a lossy AVIF is around half the size of a JPEG at similar quality[3]. It displays in Chrome 85, Edge 121, Firefox 93, Safari 16.4 and later[4].
Among browsers, only Safari 17 and later displays HEIC files[5], and Windows opens them only when two extensions from the Microsoft Store are installed[6]. A photo converted to AVIF can go on a web page and display in current browsers, and in our measurement every AVIF file came out smaller than the original.

How do you convert HEIC to AVIF?
- Drag your photos onto the Add files field, or click it and pick files. The converter accepts .heic and .heif files, several at once.
- Move the Set AVIF quality slider to a value between 60 and 95 percent (default 80); the current value appears next to its name.
- Click Convert. Each finished photo shows Done.
- Save one file with Download or all of them with Download all, which packs several files into a ZIP archive. Only the extension changes, to .avif.
The queue shows the Before and After weight of each file with the difference in percent and, below the buttons, the totals for the batch.
Moving the slider sets finished files back to Pending, so clicking Convert again saves them with the new setting.
Everything happens in your browser: its HEVC decoder reads the HEIC photo, and the libavif library, also running in the browser, saves the AVIF.
How much does a file weigh before and after HEIC to AVIF conversion?
| Test photo | Device | Dimensions in pixels | HEIC | AVIF | Change |
|---|---|---|---|---|---|
| Theater stage in colored light | iPad Air (5th generation) | 4032 × 3024 | 1.54 MB | 864.2 KB | 45 percent smaller |
| Scene from a children’s show | iPad Air (5th generation) | 4032 × 3024 | 1.27 MB | 714.7 KB | 45 percent smaller |
| Car against the sun | iPhone 12 Pro | 3024 × 4032 | 1.87 MB | 1.39 MB | 26 percent smaller |
| Café interior with two dogs | iPhone 12 Pro | 3024 × 4032 | 1.64 MB | 1.33 MB | 19 percent smaller |
| Brick pillar with a wall safe | iPhone 12 Pro | 3024 × 4032 | 2.70 MB | 2.14 MB | 21 percent smaller |
| Spools of colored thread | Samsung Galaxy A32 5G | 4000 × 3000 | 1.52 MB | 1.01 MB | 34 percent smaller |
| Shelf with Christmas decorations | Samsung Galaxy A32 5G | 4000 × 3000 | 1.38 MB | 700.2 KB | 2 times smaller |
| Close-up of a mixing console | Samsung Galaxy A32 5G | 3000 × 4000 | 1.16 MB | 604.2 KB | 49 percent smaller |
How much does AVIF weigh compared with a HEIC photo?
At the default slider setting, each of the eight photos came out smaller, by 19 to 50 percent. The mixing console photo from the Samsung went from 1.16 MB to 604.2 KB, and the brick pillar photo from the iPhone from 2.70 MB to 2.14 MB. The whole batch weighed 13.1 MB as HEIC and 8.68 MB as AVIF.
The same eight photos saved with the HEIC to WebP converter at the same setting of 80 percent weighed 5.95 MB together, less than as AVIF. MDN states that AVIF usually compresses better than WebP[3]. The sliders of both converters share the same scale, but each encoder translates it into its own compression settings, so the same number gives a different weight in each format.
If you want the lightest possible AVIF file, lower the slider and look at the result zoomed in. AVIF uses lossy compression here, so at lower settings some fine detail disappears.
How much does an AVIF weigh at different slider settings?
| Slider setting | Car, iPhone 12 Pro, HEIC 1.87 MB | Change | Thread spools, Samsung Galaxy A32 5G, HEIC 1.52 MB | Change |
|---|---|---|---|---|
| 60% | 648.5 KB | 3 times smaller | 619.7 KB | 2.5 times smaller |
| 65% | 818.8 KB | 2.3 times smaller | 704.7 KB | 2.2 times smaller |
| 70% | 983.8 KB | 49 percent smaller | 786.1 KB | 50 percent smaller |
| 75% | 1.15 MB | 38 percent smaller | 887.1 KB | 43 percent smaller |
| 80% (default) | 1.39 MB | 26 percent smaller | 1.01 MB | 34 percent smaller |
| 85% | 1.80 MB | 4 percent smaller | 1.30 MB | 15 percent smaller |
| 90% | 2.25 MB | 20 percent larger | 1.63 MB | 7 percent larger |
| 95% | 2.94 MB | 57 percent larger | 2.19 MB | 44 percent larger |
HEIC vs AVIF: how do these formats differ?
| Feature | HEIC | AVIF |
|---|---|---|
| Container | HEIF | HEIF |
| Image codec | HEVC, also known as H.265 | AV1 |
| Transparency | yes, as a separate auxiliary image | yes |
| Animation or several images in a file | yes, for example burst photos | yes |
| Display in browsers | Safari 17 and later only | Chrome 85, Edge 121, Firefox 93, Safari 16.4 and later |
Which HEIC files does the converter accept?
| File you add | What the converter saves as AVIF |
|---|---|
| Photo from an iPhone, iPad or Samsung phone | an AVIF with the same pixel dimensions, in portrait or landscape just as on the phone |
| File with the .heif extension instead of .heic | the same as with a .heic file |
| HEIC file with several images | an AVIF of the primary image, the one the phone shows as the photo |
| HEIC file with transparent or semi-transparent pixels | in our test in Chrome and Edge: an AVIF without transparency and the message This file has transparency the browser cannot read, so the image is saved without it. |
| Photo with EXIF data, such as location | an AVIF without EXIF data, so also without location coordinates |
| File larger than 100 MB | the message File is too large (max 100 MB). |
| Damaged file or text with a .heic extension | the status Error and the message Failed to load the image. |
| HEIC photo added in a browser without an HEVC decoder, such as Firefox | a warning above the Add files field saying that this browser cannot read HEIC photos, and the status Error next to the file |
What happens to EXIF data and colors in an AVIF file?
EXIF data does not carry over to the AVIF file, so the device model, date and location coordinates are removed with it. We checked this on the eight files from our measurement: each HEIC file had EXIF data with the device model, and none of the output files still had it.
The encoder saves the image with 8 bits per channel and without an embedded color profile. A phone photo recorded at a higher color depth gets an 8-bit version in AVIF.
MDN advises keeping a fallback version of the image in WebP, JPEG or PNG on a web page for browsers without support for this format[3]. The HEIC to JPG converter prepares one. An AVIF file you already have turns back into a JPG in the AVIF to JPG converter, photos you already have as JPG become AVIF in the JPG to AVIF converter, and smaller photo dimensions can be set in the Helios editor.
Convert other files to AVIF
Convert HEIC to other formats
Sources
- High Efficiency Image File Format — Wikipedia
- Using HEIF or HEVC media on Apple devices — Apple Support
- Image file type and format guide — MDN Web Docs
- AVIF image format — Can I use
- HEIF/HEIC image format — Can I use
- HEIF Image Extension — Microsoft Store
- AV1, H265 support in 2026: Data from 1M+ devices — WebCodecs Fundamentals
The file sizes in the tables were measured by running finished images through this converter in a browser, and we report them the way the tool counts them. What the page says about either format rests on the sources listed above.
Content last reviewed: · written and checked by the Arteon team
Common questions about converting HEIC to AVIF
How do I convert HEIC to AVIF?
Drag your HEIC photos onto the Add files field, adjust the Set AVIF quality slider, click Convert and download the result. The AVIF file is created in your browser.
Is AVIF smaller than HEIC?
In our measurement at the default 80 percent, yes: eight photos came out 19 to 50 percent smaller. At higher slider settings, an AVIF file can come out larger than the original.
What is the difference between AVIF and HEIC?
Both formats use the HEIF container. HEIC stores the image with the HEVC codec, and AVIF with the AV1 codec, which is open and royalty-free.
Which browsers display AVIF?
Chrome from version 85, Edge from 121, Firefox from 93 and Safari from 16.4. Older devices need a fallback version in JPG or WebP.
Why was AVIF larger than WebP at the same setting?
The sliders of both converters use a scale from 60 to 95, but each encoder translates it into its own compression settings. In our measurement at 80 percent, eight photos weighed 8.68 MB as AVIF and 5.95 MB as WebP.
Will AVIF keep transparency?
It is kept only when the browser can read it from the HEIC file. In our test, Chrome and Edge could not, so the converter saved just the image and showed a note about it next to the file.
Does the converter remove EXIF data?
Yes. The AVIF file gets no EXIF data, so the phone model, date and location coordinates are removed.
Which browsers can convert HEIC photos?
You can use Safari, as well as Chrome and Edge on devices that have an HEVC decoder. Firefox almost never has one. If your browser cannot read HEIC photos, you will see a warning above the Add files field as soon as the page opens.
Are the photos uploaded to a server?
No. Your browser’s HEVC decoder reads the HEIC photo, and the libavif library, which also runs in the browser, saves the AVIF.

Have a question or a suggestion?
If a HEIC file did not go through the converter or the result looks different from what we describe, write to us.







