HEIC to AVIF Converter
Upload a HEIC or HEIF image and download it as an AVIF file — fully client-side, private, and free.
Use the HEIC to AVIF Converter
Output preview
Convert to see preview
Summary
This tool converts HEIC and HEIF image files (commonly produced by iPhones and modern cameras) to the modern AVIF format directly in your browser. The heic2any library decodes the HEIC container in JavaScript, then a Canvas element re-encodes the result to AVIF. The returned MIME type is verified before download; if the browser cannot export a genuine AVIF file, the tool stops with an error instead of creating a mislabeled file.
How it works
- Click "Choose HEIC File" or drag and drop a .heic or .heif file onto the upload area.
- The heic2any library decodes the HEIC/HEIF container inside your browser — nothing is sent to a server.
- The decoded image is drawn onto a Canvas element.
- Canvas encodes the image as AVIF (image/avif). If the browser cannot produce a true AVIF file, the tool stops and asks you to use a browser with AVIF export support.
- Click "Download AVIF" to save the converted file to your device.
Use cases
- Convert iPhone HEIC photos to AVIF for use in modern web projects.
- Compress HEIC images into the highly efficient AVIF format for faster page loads.
- Convert HEIC files for platforms that accept AVIF but not HEIC.
- Prepare HEIC photos for social media or CMS platforms that support AVIF.
- Avoid installing desktop software just to convert a few iPhone photos.
- Ensure HEIC images from new iOS devices are web-compatible.
Frequently Asked Questions
Last updated: 2026-06-11 · Reviewed by Nham Vu