From iPhone HEIC to AVIF: Smaller Photos for the Web
Why HEIC photos cause trouble outside Apple devices, why AVIF is a better web format than JPEG, and how to convert batches privately in your browser.

From iPhone HEIC to AVIF: Smaller Photos for the Web
iPhones have saved photos as HEIC for years. The format is efficient, but outside Apple's world it is still a nuisance: many websites reject it, Windows needs an extension, and online shops and blogs often cannot use it. The common answer is converting to JPEG, which works everywhere but makes files larger. For the web there is a better choice, AVIF, and the free HEIC to AVIF converter makes the switch on your own device.
What HEIC and AVIF have in common
Both formats store images using techniques from modern video codecs. HEIC uses HEVC, the codec in many 4K videos, which carries patent licensing that limits its adoption on the web. AVIF uses AV1, an open, royalty-free codec developed by the Alliance for Open Media, whose members include Apple, Google, Microsoft and Mozilla. Every major browser now displays AVIF, which is why many websites serve it.
Why not just use JPEG?
JPEG is universal but old. At the same visual quality, AVIF files are often much smaller than JPEG, which means faster pages, less mobile data and better scores in page speed tools. AVIF also handles gradients such as skies with fewer blocky artefacts.
How the converter works
Browsers generally cannot decode HEIC, so the converter uses a decoder that runs in the page to turn each photo into pixels, then compresses them with libavif, the reference AVIF encoder compiled to WebAssembly. The encoder is about 3.5 MB and downloads once. Your photos are never uploaded.
Settings that matter
- Quality: about 50-60 gives files that look like the original for web use; 70-80 keeps more detail.
- Speed: lower values take longer but squeeze out a little more size; 6 is a good balance.
- Resize: phone photos are 4,000 pixels or more wide. For a website, 1,600 to 2,048 pixels on the long side is plenty and cuts both file size and encoding time.
Try a few photos first, compare the previews and the size summary, then run the whole batch.
Privacy bonus
Photos from phones carry EXIF metadata such as GPS location, date and phone model. The AVIF files produced here do not include it, which is sensible before posting online. If you want to remember dates, the converter can put the capture date in each file name.
Practical workflow for a shop or blog
Export product or post photos from your phone, convert them in batches of 20-40, download the ZIP and upload the AVIF files to your site. Keep the originals in your photo library, since AVIF output is meant for publishing rather than archiving.
AVIF on your website
Most website builders and content management systems now accept AVIF uploads, and WordPress has supported AVIF since version 6.5. If your platform rejects AVIF, it may need an update or a plugin. For maximum compatibility, some sites serve AVIF with a JPEG fallback using the picture element, letting older browsers pick the JPEG. Check the pages on a phone and a desktop browser after uploading.
When to keep HEIC or use JPEG instead
Keep the original HEIC files as your archive, since they contain metadata, depth information and sometimes HDR data that AVIF output does not. Use JPEG when sending photos to people or systems that might not handle AVIF, such as older email clients, printers or government upload forms.
Limits
Very large batches need lots of memory on phones. Live Photos and bursts are converted from their first image, and HDR and wide colour may not be preserved exactly. Convert only photos you have the right to use.


&c=%237c3aed&k=images)
