Free · Private · In your browser

HEIC to AVIF Converter

Convert iPhone photos to AVIF, today's smallest widely supported format — encoded on your own device, with the size and time costs stated plainly.

✓ Free & unlimited✓ No signup✓ Files never leave your device✓ No watermark

How to convert HEIC to AVIF in 3 simple steps

  1. 1

    Add your HEIC files

    Drag and drop, paste, or click to select. Nothing is uploaded at any point.

  2. 2

    Choose a quality

    70 is the default and looks like JPEG 85 at a fraction of the size. The encoder loads on first use.

  3. 3

    Convert and download

    Save each AVIF, or take the batch as a single .zip. Expect a few seconds per photo.

  • Dramatically smaller

    At 1920 px our test photo was 112 KB as AVIF against 302 KB as JPEG and 139 KB as WebP.

  • Quality you control

    A real quality slider plus an effort setting, with the time each one costs measured and stated.

  • Never uploaded

    The AVIF encoder runs on your device as WebAssembly. Your photo does not go to a server to be compressed.

  • Batch and ZIP

    Convert a folder at once and download everything as one archive.

  • Free, no watermark

    No signup, no paywall on quality, nothing stamped on the output.

  • No limits

    No account and no file cap. The only real limit is how fast your processor encodes.

What AVIF actually buys you

AVIF is the newest image format with real browser support behind it, and on photographs it is not a small improvement.

Here is the same frame from our test photo, scaled to 1920 pixels wide and written five ways. Every number was measured through this page’s own converter.

Format Size at 1920 px
AVIF, quality 40 39 KB
AVIF, quality 55 73 KB
AVIF, quality 70 112 KB
WebP, quality 82 139 KB
AVIF, quality 85 216 KB
JPEG, quality 85 302 KB
PNG 3,911 KB

At comparable visual quality, converting HEIC to AVIF produced a file about a third the size of the JPEG and roughly 20% smaller than the WebP.

Full resolution tells the same story. The original 4000 × 3000 HEIC was 1,409 KB. As AVIF at quality 70 it came to 365 KB — a quarter of the size of a format already known for being efficient.

And what it costs you

This is where most pages stop talking, so we will not.

Encoding is slow. AVIF compression does far more work than JPEG, and here it runs on your processor rather than someone’s server. Measured on an ordinary desktop:

Job Time
1920 px, effort Faster 3.5 s
1920 px, effort Slower 6.1 s
Full 4000 × 3000, Faster 7.3 s
Full 4000 × 3000, Slower 20.0 s

The encoder is 3.4 MB. AVIF is the one format on this site that needs a real compressor rather than a file header, and that compressor is WebAssembly that has to reach your browser. It downloads the first time you convert here, cost us about 1.5 seconds, and is cached afterwards.

It loads on this page only. Nothing else on the site pays for it.

So the trade is plain: wait a few seconds, get a file a third the size. For images going onto a website that is an excellent bargain, and for a one-off share it is probably not.

How to convert HEIC to AVIF in 3 steps

1. Add your photos

Drag them in, paste, or click to browse. There is no file cap, and nothing is uploaded at this step or any other.

2. Set the quality

Seventy is the default. Open Advanced options to change it, or to switch the effort setting if you would rather trade time for a few more bytes saved.

3. Convert and download

Press Convert and wait. The first photo carries the encoder download with it; the rest do not.

Save files individually or take the whole batch as one .zip.

AVIF quality numbers are not JPEG quality numbers

This trips up almost everyone who tries the format, and it is worth its own section.

Quality 85 in JPEG is a sensible default. Quality 85 in AVIF is close to overkill: our test frame came to 216 KB, and pushing to 95 produced 618 KB, more than double, for a difference you would need to pixel-peep to find.

The equivalent of a good JPEG is somewhere around AVIF 60 to 70. At 70 our frame was 112 KB against the JPEG’s 302 KB. At 40 it was 39 KB, an eighth of the JPEG, and starting to show it on fine detail.

If you are converting for the web, leave it at 70 and only go up if a specific image looks soft. Going up is expensive here in a way it is not with JPEG.

AVIF and HEIC are cousins, and only one is welcome

This explains the whole site, so it is worth a paragraph.

Both formats put compressed images in the same kind of container. The difference is what does the compressing. HEIC uses HEVC, which is covered by a large patent pool and costs money to license. AVIF uses AV1, which was built by a consortium specifically to be royalty-free.

That single distinction is why your browser can decode and encode AVIF but will not write a HEIC under any circumstances, and it is why converting HEIC is a thing people have to do at all.

So converting HEIC to AVIF is not really a downgrade or an upgrade. It is moving the same picture from an encumbered codec into an open one that happens to compress slightly better and is welcome everywhere on the web.

Our guide on why browsers cannot create HEIC files goes through the licensing side in full.

Transparency and what else survives

Unlike JPEG, AVIF has a real alpha channel, and this converter keeps it. A HEIC with transparent areas comes out the other side still transparent, with no white background painted underneath.

What does not survive is the metadata. The image is decoded to pixels and re-encoded, so the EXIF block — shooting date, camera settings, GPS coordinates — is not carried into the AVIF. For anything you are publishing that is usually what you want. To see what a photo holds before converting, our HEIC EXIF viewer reads it locally.

Colour depth is the other honest caveat. Camera HEIF files are often 10-bit, and the output here is 8-bit. AVIF itself handles 10-bit perfectly well; our pipeline goes through a canvas, and a canvas is 8-bit.

Serving AVIF on a real website

Getting the file is the easy half. Serving it without breaking anything takes one more step.

The usual pattern is a <picture> element that offers AVIF first and lets the browser fall back:

<picture>
  <source srcset="photo.avif" type="image/avif">
  <source srcset="photo.webp" type="image/webp">
  <img src="photo.jpg" alt="">
</picture>

Browsers take the first type they support, so a visitor on something ancient still gets the JPEG. That is why we also keep HEIC to WebP and HEIC to JPG around — a good setup usually wants all three.

If your host or CDN does content negotiation for you, you may only need to upload the AVIF and let it serve the fallbacks. Check before deleting the originals.

Where AVIF works, and where it does not

Browser support is no longer the question. Chrome, Edge, Firefox, Safari and the mobile browsers all display AVIF.

Outside the browser is where it gets uneven. Plenty of desktop applications, older operating system versions, and image tools built before 2021 do not open an .avif at all.

That distinction decides which of our converters you want:

  • For a website, AVIF is the right answer, with WebP as the fallback if you serve one.
  • To send someone a photo, use JPG. Compatibility beats file size the moment another person is involved.
  • For editing or archiving, use PNG or TIFF.

Why this page took so long to exist

There is a note in this project’s own planning documents saying AVIF was not worth building. It is worth explaining why that changed, because the reasoning matters more than the conclusion.

The original objection had two parts. The encoder is 3.4 MB, and its faster multithreaded build needs SharedArrayBuffer, which needs cross-origin isolation, which would have broken the advertising script on every page of the site.

Re-measuring both showed the objection had aged badly. The single-threaded encoder needs no cross-origin isolation at all — we confirmed the page runs with crossOriginIsolated false and SharedArrayBuffer undefined, and the conversion works anyway. And the 3.4 MB only ever loads for someone who actually converts to AVIF on this page, because the import is deferred until then.

What remained was honest cost, not a blocker: several seconds per photo. That belongs on the page rather than in a decision to skip it.

We also re-tested whether a browser can produce an AVIF without any of this. On Chrome 151, asking a canvas for image/avif still returns a PNG, silently, exactly as it did on 145. A converter that does not check what came back is handing you a renamed PNG.

The bottom line

AVIF is the best compression available for photographs on the web right now, and it is not close.

The costs are real and measurable: a few seconds of your processor’s time per image, and a 3.4 MB encoder the first time. The saving is roughly two thirds against JPEG at matching quality.

Convert HEIC to AVIF for anything that will be served over the web. Use JPG when you are handing the file to a person, because the smallest file in the world is worthless if the recipient cannot open it.

Frequently asked questions

How much smaller is AVIF than JPEG?

On our 12 megapixel test photo at 1920 px wide, AVIF at quality 70 came to 112 KB where JPEG at quality 85 came to 302 KB and WebP at 82 came to 139 KB. That is roughly a third of the JPEG.

Why is converting to AVIF slow?

AVIF encoding is genuinely expensive work, and it runs on your own processor rather than a server farm. A 1920 px frame took about 3.5 seconds in our test and a full 12 megapixel frame about 7 seconds.

Why does the first conversion take longer?

The AVIF encoder is 3.4 MB of WebAssembly and downloads the first time you convert on this page. That cost us about 1.5 seconds once, and nothing on later conversions. No other page on this site loads it.

What quality setting should I use?

Start at 70, which is the default. AVIF's scale is not JPEG's — 70 here looks like JPEG 85 and weighs a third as much. Above 90 the files grow very quickly for differences you will struggle to see.

What does the effort setting do?

It trades encoding time for file size. Faster took 3.5 seconds for 112 KB in our test; Slower took 6.1 seconds for 118 KB. Slower is rarely worth it, which is why Faster is the default.

Do all browsers support AVIF now?

Chrome, Edge, Firefox, Safari and the mobile browsers all display AVIF. Support outside browsers is patchier — some desktop applications and older operating systems still do not open it.

Are my photos uploaded to a server?

No. Decoding the HEIC and encoding the AVIF both happen on your device. Once the page and the encoder have loaded, it works with the network switched off.

Should I use AVIF or WebP?

AVIF for smaller files, WebP for faster encoding and broader support outside the browser. On our test AVIF was about 20% smaller than WebP, and took several seconds longer to produce.

HEICHub builds fast, private, browser-based image tools. Every converter runs locally on your device — no uploads, no accounts.