HEIC to AVIF Converter

Convert HEIC to AVIF online for free. Fast, high-quality AVIF output in your browser. 100% browser-based — no upload, no signup, no watermark.

How to use HEIC to AVIF

  1. 1Click the upload area or drag your HEIC file into it.
  2. 2Adjust the quality slider to balance file size and detail.
  3. 3Click Convert to render the AVIF in your browser.
  4. 4Download your new AVIF file — nothing is uploaded.

Features

  • Instant HEIC → AVIF conversion, 100% in-browser
  • Your files never leave your device
  • Adjustable quality to balance size and clarity
  • Free, unlimited, no signup or watermark

HEIC vs AVIF: technical differences

To convert HEIC to AVIF, drop your HEIC file into the converter above and download the AVIF: a modern format, usually smaller than JPG and WebP at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.

HEIC and AVIF are siblings. Both use the HEIF container. HEIC fills it with HEVC-coded images, and AVIF fills it with AV1-coded ones. AV1 is royalty-free, which is why browsers adopted AVIF while HEIC stayed mostly confined to Apple devices. At comparable quality the two produce files of similar size, and AV1 often wins slightly on smooth gradients.

The formats are close, but the conversion isn't a remux. Pixohub can't move the compressed data from one to the other. It decodes the HEIC (via heic-to, which hands over a lossless PNG), draws it on an 8-bit canvas and encodes AVIF from that. AVIF can technically hold 10-bit HDR, but what comes out here is 8-bit SDR because that's all the canvas gives the encoder.

Only Safari can encode AVIF from a canvas by itself. In Chrome, Edge and Firefox, Pixohub encodes with a bundled copy of libavif compiled to WebAssembly, so the conversion works in every current browser but is slower than JPG or WebP: our 1600 × 1200 test photo took about 8.5 seconds, and a 12 MP original takes longer.

HEIC (High Efficiency Image Container)AVIF (AV1 Image File Format)
CompressionLossy HEVC (H.265) intra-frame in a HEIF containerLossy or lossless (AV1 intra-frame in a HEIF container)
Colour depth8 or 10 bits per channel; Display P3 on iPhone8, 10 or 12 bits per channel; HDR and wide gamut capable
TransparencyNot used in iPhone photosFull alpha channel
AnimationLive Photos and bursts are stored as sequencesYes (image sequences)
MetadataEXIF, XMP, depth maps, HDR gain mapsEXIF, XMP, ICC / CICP colour signalling
Typical file sizeAbout half a JPG of the same photoUsually the smallest — often half a JPG at similar quality
SupportApple devices natively; Windows needs an extension; most browsers cannot display itChrome, Edge, Firefox and Safari 16+; patchy in older desktop software

When to convert HEIC to AVIF

Smallest possible web images from an iPhone

For a performance-critical site, AVIF gives the smallest file that every current browser (Chrome, Edge, Firefox and Safari 16+) can show. Converting directly from HEIC avoids a detour through a bigger JPG.

Replacing HEIC in a cross-platform archive

If you want HEIF-style efficiency but need the files to open on Windows, Android and in browsers without codec packs, AVIF is the closest equivalent. Desktop support is still uneven, so test that your photo viewer opens it.

Framework image pipelines

Next.js, Astro and similar frameworks can serve AVIF, but their build-time optimizers generally can't read HEIC sources. Converting HEIC photos to AVIF (or WebP) first lets them go into a public folder as-is.

What converting HEIC to AVIF keeps and loses

What you keep

  • Resolution and upright orientation.
  • High visual fidelity at 70–85% quality.
  • Very small file size, typically in the same range as the original HEIC.

What you lose

  • HDR gain map and any 10-bit depth. The output is 8-bit SDR, even though AVIF itself could hold more.
  • EXIF, GPS and camera metadata.
  • Depth maps and auxiliary images.
  • Speed: AVIF encoding takes seconds rather than the near-instant JPG or WebP export.

Our test: HEIC to AVIF on two real files

AVIF turned the 755 KB test photo into a 303 KB file with the best fidelity of the lossy targets from HEIC: 43.79 dB PSNR, against 39.54 dB for the JPG and 39.93 dB for the WebP at the same 85% setting. That is why it isn't the smallest file here: at 85% AVIF spends its bytes on quality, and a lower setting would bring the size down. The graphic kept its transparency at 34 KB and 46.33 dB.

The cost is time. The photo took 8.5 s, because Chromium has no built-in AVIF encoder and Pixohub runs libavif in WebAssembly.

Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).

Test fileHEIC inAVIF outPixels vs originalTransparencyCamera EXIFTime
Photo, 1600 × 1200755 KB303 KB (−60%)SSIM 0.990 · 43.8 dBNone in sourceRemoved8.5 s
Graphic, 800 × 600, transparent100 KB34 KB (−66%)SSIM 0.998 · 46.3 dBKeptNone in source3.2 s

Last updated

Apps and sites that work with HEIC and AVIF

Browsers and phones that show AVIF

Chrome, Edge and Firefox display AVIF, and Safari does from version 16. The converted file therefore reaches the Android and Windows visitors that a HEIC never could, while still displaying on iPhones and Macs, which makes it a reasonable replacement for HEIC on a website.

WordPress and other CMSs

WordPress accepts AVIF uploads from version 6.5, provided the server's ImageMagick or GD library can process AVIF. On hosts with older libraries the upload is refused or no smaller sizes are generated, in which case a WebP is the practical fallback.

Opening AVIF outside the browser

Desktop support is patchier than for JPG. GIMP reads AVIF from version 2.10.22, macOS Preview opens it on recent macOS versions, and Windows Photos needs Microsoft's free AV1 Video Extension. If the recipient will download and edit the file rather than view it on a page, AVIF is the wrong choice.

Common HEIC to AVIF problems and fixes

The conversion seems stuck

AVIF encoding in WebAssembly is slow: our 1600 × 1200 test took 8.5 s in Chromium, against about 3 s for JPG. A full 12-megapixel HEIC has more than six times as many pixels, so expect a considerably longer wait on a phone or an older laptop. Let it finish, or resize first. Safari uses its own built-in encoder instead.

Someone can't open the file you sent

AVIF is a web format first. A recipient on Windows without the AV1 extension, or using an older photo editor, may see an unknown-file icon or an error. For photos that will be downloaded and opened rather than shown on a web page, send HEIC to JPG output instead. WebP is the middle ground if the site you're uploading to accepts it.

The AVIF is bigger than you hoped

At the default 85% AVIF aims for high fidelity, which is why our photo came out larger than the WebP. AVIF degrades gracefully, so try 60–70% on one photo and compare: grain is smoothed before any blocks appear. Reducing the pixel dimensions with the image resizer also saves more than pushing quality very low.

Tips for better HEIC to AVIF results

  • AVIF holds up well at lower quality settings. Try 60–70% before assuming you need 85%.
  • If the wait matters more than the last few kilobytes, for example on a batch of photos, HEIC to WebP encodes in a fraction of the time.

How this converter works

Pixohub decodes your HEIC and encodes the AVIF entirely inside your browser, using a bundled HEIC decoder because browsers cannot open HEIC natively. Nothing is uploaded, so the conversion is private by design and as fast as your device.

Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.

Frequently asked questions

Is AVIF better than HEIC?

In compression they are close, since both are HEIF-based formats built on modern video codecs. AVIF's advantage is compatibility. It is royalty-free and supported in all current browsers, while HEIC displays mainly on Apple devices.

Why does AVIF take longer than other formats?

Most browsers can't encode AVIF themselves; only Safari can. Elsewhere Pixohub runs libavif in WebAssembly on your device, and AV1 encoding is computationally heavy, so a photo takes several seconds. It works in all current browsers; it just isn't instant.

Does HEIC to AVIF keep HDR?

No. AVIF can store HDR, but the conversion goes through an 8-bit browser canvas, so the iPhone's HDR gain map and 10-bit range are flattened to standard 8-bit. The photo still looks correct on normal screens.

Can I batch-convert HEIC to AVIF?

Bulk Format Convert only outputs PNG, JPG and WebP. For AVIF, convert on this page. You can also use the batch panel on this page (3 files free, up to 150 with Pixohub Pro).

Does anything leave my device?

No. Both the HEIC decoder and the AVIF encoder run locally in your browser. Your photo and its location data never reach a server, and the AVIF you download contains no GPS tag.

More converters

Batch: convert format many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro