Convert HEIC photos to AVIF in your browser

Content last reviewed:

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.

A lower value gives a lighter file, a higher one keeps more detail.

Convert and download

Files in queue

Add HEIC files on the left to start converting to AVIF.

to

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.

Back of a graphite iPhone with three camera lenses on a black background
HEIC from an iPhone and AVIF use the same HEIF container and differ in the image codec. Photo: Paolo Giubilato, Unsplash.

How do you convert HEIC to AVIF?

  1. Drag your photos onto the Add files field, or click it and pick files. The converter accepts .heic and .heif files, several at once.
  2. Move the Set AVIF quality slider to a value between 60 and 95 percent (default 80); the current value appears next to its name.
  3. Click Convert. Each finished photo shows Done.
  4. 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?

We ran eight original HEIC photos through this converter at the default quality of 80 percent: three from an iPhone 12 Pro, two from an iPad Air (5th generation) and three from a Samsung Galaxy A32 5G. We read the device model from the EXIF data of each file. Weights are given exactly as the tool prints them in the queue: in kilobytes and megabytes of 1,024 bytes, with the same rounding. We took the measurement ourselves on 16 September 2026 in Chrome 153 on a Windows 11 computer; the result depends on the photo content, so your file may come out differently.
Test photoDeviceDimensions in pixelsHEICAVIFChange
Theater stage in colored lightiPad Air (5th generation)4032 × 30241.54 MB864.2 KB45 percent smaller
Scene from a children’s showiPad Air (5th generation)4032 × 30241.27 MB714.7 KB45 percent smaller
Car against the suniPhone 12 Pro3024 × 40321.87 MB1.39 MB26 percent smaller
Café interior with two dogsiPhone 12 Pro3024 × 40321.64 MB1.33 MB19 percent smaller
Brick pillar with a wall safeiPhone 12 Pro3024 × 40322.70 MB2.14 MB21 percent smaller
Spools of colored threadSamsung Galaxy A32 5G4000 × 30001.52 MB1.01 MB34 percent smaller
Shelf with Christmas decorationsSamsung Galaxy A32 5G4000 × 30001.38 MB700.2 KB2 times smaller
Close-up of a mixing consoleSamsung Galaxy A32 5G3000 × 40001.16 MB604.2 KB49 percent smaller
You can see the weight of your own file before and after conversion in the queue, in the Before and After fields next to each photo.

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?

The Set AVIF quality slider takes values from 60 to 95 percent. The table gives the weight of the same two photos from the measurement at each setting and the difference from the HEIC file. We measured in the same way on the same day.
Slider settingCar, iPhone 12 Pro, HEIC 1.87 MBChangeThread spools, Samsung Galaxy A32 5G, HEIC 1.52 MBChange
60%648.5 KB3 times smaller619.7 KB2.5 times smaller
65%818.8 KB2.3 times smaller704.7 KB2.2 times smaller
70%983.8 KB49 percent smaller786.1 KB50 percent smaller
75%1.15 MB38 percent smaller887.1 KB43 percent smaller
80% (default)1.39 MB26 percent smaller1.01 MB34 percent smaller
85%1.80 MB4 percent smaller1.30 MB15 percent smaller
90%2.25 MB20 percent larger1.63 MB7 percent larger
95%2.94 MB57 percent larger2.19 MB44 percent larger
The image dimensions are the same as in the original at every setting, so the difference in weight comes only from the strength of the compression.

HEIC vs AVIF: how do these formats differ?

Both formats use the HEIF container. The table shows how they differ beyond it.
FeatureHEICAVIF
ContainerHEIFHEIF
Image codecHEVC, also known as H.265AV1
Transparencyyes, as a separate auxiliary imageyes
Animation or several images in a fileyes, for example burst photosyes
Display in browsersSafari 17 and later onlyChrome 85, Edge 121, Firefox 93, Safari 16.4 and later
HEIC according to the article on the HEIF format[1], AVIF according to MDN[3], browsers according to Can I use (data from 24 August 2026)[4][5].

Which HEIC files does the converter accept?

We checked every row on 16 September 2026 on files run through the converter in Chrome, and the last one in Firefox. The right-hand column tells you what you get.
File you addWhat the converter saves as AVIF
Photo from an iPhone, iPad or Samsung phonean AVIF with the same pixel dimensions, in portrait or landscape just as on the phone
File with the .heif extension instead of .heicthe same as with a .heic file
HEIC file with several imagesan AVIF of the primary image, the one the phone shows as the photo
HEIC file with transparent or semi-transparent pixelsin 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 locationan AVIF without EXIF data, so also without location coordinates
File larger than 100 MBthe message File is too large (max 100 MB).
Damaged file or text with a .heic extensionthe status Error and the message Failed to load the image.
HEIC photo added in a browser without an HEVC decoder, such as Firefoxa warning above the Add files field saying that this browser cannot read HEIC photos, and the status Error next to the file
The converter skips files in other formats as soon as you add them and shows the message: Add HEIC files. Files in other formats were skipped. According to data from more than a million sessions collected from January to March 2026, Safari almost always has an HEVC decoder, Chrome on Windows has one in 81 percent of sessions and Edge on Windows in 56 percent. Firefox almost never has it[7].

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

  1. High Efficiency Image File Format — Wikipedia
  2. Using HEIF or HEVC media on Apple devices — Apple Support
  3. Image file type and format guide — MDN Web Docs
  4. AVIF image format — Can I use
  5. HEIF/HEIC image format — Can I use
  6. HEIF Image Extension — Microsoft Store
  7. 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.

Arteon free tool screenshot: Convert HEIC photos to AVIF in your browser

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.

Explore other useful tools