Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
Converting HEIF to AVIF swaps HEVC for AV1 inside what is almost the same container, which buys wider browser support rather than a smaller file. It is a real re-encode with a real cost, it runs entirely in this page, and for an archive the honest answer is usually to keep the HEIF.
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
HEIF to AVIF
HEIF is ISO/IEC 23008-12, published by MPEG in 2015: a still picture stored in an ISO base media container, compressed with the intra-frame half of a video codec. AVIF, published by the Alliance for Open Media in 2019, is the same idea executed again — a still picture in an ISO base media container, compressed with the intra-frame half of a video codec. The codec is the difference: HEVC in one, AV1 in the other.
That shared ancestry is why people expect the conversion to be cheap, and it is the one thing this page has to correct early. The boxes around the picture may be near relatives, but the compressed data inside them is not interchangeable, so this is a full decode and a full re-encode rather than a repack.
Convert if something downstream asks for AVIF: a build pipeline, an image CDN, a site that serves AVIF to browsers announcing support, a client whose specification names it. In those cases the conversion is doing real work and the small quality cost is the price of getting the picture into the pipeline at all.
Do not convert because AVIF is newer. If the HEIF files are your photograph collection and nothing is currently refusing them, converting the lot costs a generation of quality, hours of encoding, and the ability to go back — because this site can read HEIF and cannot write it. A format migration with no destination is a lot of work to end up where you started with slightly worse pictures.
The registry records HEIF browser support as partial and AVIF as modern, and that gap is the real product of this conversion. HEVC decoding sits behind patent pools that many vendors declined to license, which is why a .heif file is awkward in exactly the places a picture needs to be easy. AV1 was built by a consortium specifically to avoid that. HEIF itself is an ISO standard like AVIF; what is not free to implement is the HEVC inside it.
On file size there is no reliable win to promise. The two codecs are close on still images, close enough that which one is smaller depends on the picture, the encoder build and the quality setting. Anyone who tells you a fixed percentage is quoting one test image.
Quality defaults to 82 on a 1 to 100 scale. Because the HEIF was already lossy, this is a second generation: the AV1 encoder never sees the original scene, only the pixels the HEVC decoder reconstructed, and it makes its own decisions about what to discard from those.
At 82 on a photograph the result is not something you will pick out in a comparison. What it is not is free, and the practical consequence is a rule rather than a number: always convert from the HEIF, never from a previously converted file, and do not run the picture through a chain of lossy formats because each link takes a little more.
This is the slowest raster target on the site, and the registry records it as a known property of the format rather than a fault of this build. AV1 buys its efficiency with an expensive search, and a full-resolution photograph takes noticeably longer here than the same picture into JPG or WebP.
The interface is built around it: progress is reported after decoding and again after encoding, precisely so that a file which sits at sixty percent for several seconds does not look like a hang. If you are converting a folder, expect it to take real time, and expect a phone to take considerably more of it than a laptop.
AVIF is specified to twelve bits per channel and HEIF to ten, so on paper this is the rare conversion with room left over — the target can hold everything the source could and more.
The pipeline here does not exercise it. The decoded picture passes through an eight-bit buffer on its way to the encoder, so eight bits per channel is what gets written. On a photograph that is invisible; on a long smooth gradient it can mean faint banding that a ten-bit path would not have produced. If deep colour is the reason you are converting, this converter is not the tool that will preserve it.
Both formats have an alpha channel, so transparency arrives intact. Both formats also allow animation and several images in one file, and that part does not survive: the decoder takes the primary image and the encoder writes a single still.
For a photograph, which is what almost every .heif file contains, neither of those is a loss. It is worth knowing before you point the converter at a burst or a sequence and get one frame back, because nothing about the output announces what it left behind.
AVIF can hold EXIF, XMP and an ICC profile, exactly as HEIF can. None of it makes the trip, because the picture is decoded to raw pixels and re-encoded from those, and there is no route across that step for a metadata block.
For publishing that is the outcome you want — no camera serial number, no capture time, no GPS coordinates in a file you are putting on a page. For a migration it is a second reason not to do one: a converted library arrives with its dates and locations gone, and those are frequently the only thing making a collection navigable.
There is no AVIF to HEIF page here and there will not be one. HEIF decoding is done by libheif under LGPL-3.0, which a static site can ship honestly by naming the library, publishing the licence text and serving it as a replaceable chunk. Writing HEIF would need an HEVC encoder, and the common one is GPL, whose conditions this site cannot meet.
That is worth weighing before a bulk conversion rather than after. The AVIF files are the derivative, the HEIF files are the only originals, and no setting on this page can turn the first back into the second.
Decoding and encoding both happen in the browser tab, on your processor, with no upload and no queue. There is no per-day allowance to run into and no server-side copy of your photographs to wonder about, and the free tier accepts files up to 100 MB each.
For this pair the local execution has a second consequence worth planning for: the encoding time is yours. A hundred photographs will occupy the machine for a while, they will all convert without a single request carrying an image, and an "all as ZIP" button appears once two of them are finished.
Browser support is the good half of the story. Away from the browser, AVIF is a young format: plenty of desktop image viewers, office suites, mail clients and older operating system versions do not show it, and a colleague sent one may be no better off than with the HEIF you started from.
That splits the decision cleanly by destination. For a web page served through a pipeline that knows what it is doing, AVIF is a good target. For a file you are emailing to a person, it is a worse choice than JPG and no better than WebP. The format's advantage is real and it lives entirely on the delivery side.
This pair rewards a measurement more than an opinion, because both the size result and the encoding time depend on your pictures and your machine. Convert ten representative photographs — a landscape, a portrait, a dim indoor shot, a screenshot — and look at what came out.
Two numbers decide it. If the AVIFs are not meaningfully smaller than the HEIFs, the compression argument has evaporated and only compatibility remains, which the destination either needs or does not. If the ten took several minutes, multiply that out honestly before starting a library-wide job, and remember it is your processor doing every second of it rather than a queue you can walk away from.
| HEIF | AVIF | |
|---|---|---|
| Full name | High Efficiency Image File Format | AV1 Image File Format |
| File extension | .heif | .avif |
| Media type | image/heif | image/avif |
| Compression | Lossy — file size is bought with quality | Either, depending on the setting |
| First published | 2015 | 2019 |
| Published by | MPEG | Alliance for Open Media |
| Specification | ISO/IEC 23008-12 | AV1 Image File Format |
| Licensing | Published, not standardised | Open standard |
| Standing today | Current | Current |
| Bit depth | 10 | 12 |
| Colour it can describe | YCbCr, wide gamut | RGB, YCbCr, wide gamut |
| Largest image | — | 65,536 px per side |
| Opens in a browser | Some browsers | Current browsers |
| Considered instead | JPG | WebP, JXL, JPG |
AVIF has nowhere to put the GPS coordinates, so that goes no further than the HEIF. Worth checking before the original is deleted, and worth knowing if the point was to strip it.
Transparency survives. Both HEIF and AVIF store an alpha channel, so a cut-out stays cut out and nothing is filled in behind it.
Animation survives. HEIF and AVIF both hold multiple frames, so the result moves rather than freezing on the first one.
AVIF opens in current browsers, though not in older ones. HEIF has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.
AVIF is a container rather than a single format. What actually plays is the codec inside it — usually AV1 — which is why two files with the same extension can behave differently on the same device.
The result is larger than the original and no better. HEIF has already discarded detail, and AVIF stores what is left without discarding more — it prevents further loss rather than undoing the first one.
The two are aimed at different work: HEIF at phones and photography, AVIF at the web and handing a finished file over. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.
HEIF is MPEG's format, published in 2015. It records 10 bits per channel.
AVIF comes from Alliance for Open Media and dates from 2019, specified as AV1 Image File Format. GIMP, Squoosh and ImageMagick all read it.
No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is libheif, the reference decoder for Apple's HEIC; your browser fetches it once and caches it.
For delivery to browsers, yes, because more of them decode it — AVIF support is recorded as modern and HEIF as partial. On compression the two are close enough that the answer depends on the picture, so there is no size argument to justify a conversion on its own.
Yes, a little. Both are lossy, and this is a decode and a re-encode rather than a repack: the AV1 encoder is given the pixels the HEVC decoder produced and compresses them again. At the default quality of 82 it is not visible on a photograph, but it is not free either.
AV1 was designed for compression efficiency rather than for encoding speed, and the search it performs to reach that efficiency is expensive. A full-resolution photograph takes noticeably longer than the same picture into JPG or WebP. The progress bar moves between decoding and encoding so a slow file does not look stalled.
Structurally, almost. Both are ISO base media containers holding a still picture and its metadata; the difference is the codec inside — HEVC for HEIF, AV1 for AVIF. That similarity is why the conversion sounds like it should be free, and it is not, because the pixels have to be decoded and coded again.
The one you already have. Re-encoding an archive from HEIF to AVIF costs a generation of quality to gain nothing an archive needs, and you cannot make HEIF again on this site to undo it. Convert for a destination, not for storage.
No. AVIF can carry both, but the conversion decodes to raw pixels and re-encodes, so what comes out has no camera information, no timestamp, no GPS position and no ICC profile attached.
The claims this page makes about HEIF and AVIF are checkable, and these are the documents that settle them.