Convert HEIC to AVIF — Free, Fast & Private
HEIC and AVIF come from the same family of video-based image codecs, so this conversion can give a small file. It is slow, and AVIF opens in fewer places than JPG or WebP. Everything runs in your browser — nothing is uploaded.
Two heavy codecs
MiniPx decodes the HEIC with its libheif WebAssembly decoder, then encodes AVIF, which is slower than WebP or JPG. Large iPhone photos take noticeably longer. Where size is not critical, HEIC to WebP is quicker and opens more widely, and HEIC to JPG works everywhere.
A lossy re-encode
HEIC is already lossy; the AVIF is a second lossy encode. Depth maps, HDR gain data and Live Photo video are not carried over, and the output is 8-bit.
Location and orientation
GPS and other EXIF data are not written to the AVIF; the rotation is applied to the pixels first.
Check the AVIF against the HEIC before you save
The result card shows the HEIC size, the AVIF size and the output dimensions, with a before and after slider. HEIC is already efficient, so the AVIF can be larger or smaller depending on the photo; the card shows the actual change. Batches download as a ZIP.
When to pick AVIF over WebP
AVIF can give a smaller file than WebP for large photographs, at the price of slower encoding and narrower app support. If compatibility matters more, pick WebP or JPG. The measured table below uses real HEIC photographs.
Support
AVIF displays in Chrome 85+, Firefox 93+, Safari 16+ and Edge 85+. Other formats are on the image converter.
HEIC to AVIF on real files: measured sizes
| File | Before | After | Change | Background |
|---|---|---|---|---|
| Phone photo as HEIC (12 MP) | HEIC · 4032 × 3024 px · 1.40 MB | AVIF · 4032 × 3024 px · 959.6 KB | 33% smaller | — |
| Portrait as HEIC | HEIC · 3264 × 4653 px · 1.41 MB | AVIF · 3264 × 4653 px · 240.6 KB | 6.0× smaller | — |
| App icon as HEIC (transparent) | HEIC · 2048 × 2048 px · 33.5 KB | AVIF · 2048 × 2048 px · 11.5 KB | 2.9× smaller | Kept transparent |
Measured 2026-10-07 in Chromium 145.0.7632.6 by running this page's converter with its default setting (AVIF) on each file. The photos and scans are CC0 or public-domain files from Wikimedia Commons; the HEICs are made by pillow-heif (libheif with the x265 encoder) at quality 50 from the named file, not shot on an iPhone. Sizes are shown as the tool shows them (1 KB = 1,024 bytes).
