FormatDrop
How-To Guide

How to Convert HEIC to AVIF

HEIC photos from your iPhone or iPad are efficient, but AVIF goes even further — it typically beats HEIC by another 20–30% in file size at the same visual quality. More importantly, AVIF is natively supported in Chrome, Firefox, Edge, and Safari 16+, making it the format of choice for modern web publishing, while HEIC remains largely Apple-only outside of native apps.

Step-by-step instructions

  1. 1

    Use FormatDrop (browser, any OS)

    Drag your HEIC file onto FormatDrop and select AVIF as the output. FormatDrop handles the Apple-proprietary HEIC decode step using its server-side pipeline and re-encodes to AVIF using libaom or libheif. Download the result. No software installation required — works directly in Chrome, Firefox, or Safari.

    Go to converter
  2. 2

    ImageMagick on Mac/Linux

    Install ImageMagick with HEIC and AVIF support: `brew install imagemagick` (Mac) or `sudo apt install imagemagick libheif-dev` (Ubuntu). Convert with: `magick input.heic output.avif`. For a quality setting: `magick input.heic -quality 60 output.avif` (AVIF quality 60 is roughly equivalent to JPEG quality 80 — AVIF's scale is not linear). Batch convert: `for f in *.heic; do magick "$f" "${f%.heic}.avif"; done`.

  3. 3

    FFmpeg (if installed with libheif and libaom)

    FFmpeg can decode HEIC if compiled with libheif: `ffmpeg -i input.heic output.avif`. Check support with `ffmpeg -codecs | grep heif` and `ffmpeg -codecs | grep aom`. The libavif encoder in FFmpeg uses libaom, which is slower but produces excellent compression. For speed: add `-cpu-used 8` for draft quality or `-cpu-used 4` for balanced.

  4. 4

    Python: pillow-heif + Pillow

    Install: `pip install pillow pillow-heif`. Script: `from pillow_heif import register_heif_opener; register_heif_opener(); from PIL import Image; img = Image.open('input.heic'); img.save('output.avif', quality=70)`. This leverages the libheif library under the hood. For batch processing, loop over glob results. Quality 70 in Pillow AVIF encoder is a good default — lower means smaller files.

Why convert HEIC to AVIF?

HEIC locks photos in Apple's ecosystem. AVIF delivers equal or better compression with open, browser-native support — essential for any web workflow that starts on iPhone.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

Is AVIF better than HEIC for web use?
Yes. AVIF has broader browser support (Chrome, Firefox, Edge, Safari 16+) while HEIC has essentially no browser support. AVIF also matches or beats HEIC in compression at equivalent visual quality. For web publishing, AVIF is strictly better — use HEIC only for Apple ecosystem storage.
Does HEIC to AVIF conversion lose quality?
Yes — both HEIC and AVIF are lossy formats (ignoring HEIC lossless mode), so transcoding from one lossy format to another introduces generation loss. The key is to convert at a quality setting where the AVIF output looks indistinguishable from the HEIC original. Using quality 70–80 in most encoders achieves this. If you have access to the original RAW or uncompressed source, encode from there instead.
Can browsers display AVIF files from iPhones?
Yes. Once converted from HEIC to AVIF, the resulting file displays natively in any AVIF-capable browser. AVIF is not iOS-specific — it's an open format from the Alliance for Open Media. Safari added AVIF support in version 16 (iOS 16/macOS Ventura), so nearly all modern devices display it natively.
Convert HEIC to AVIF Now — Free

No account. No upload. Works in any browser.