Learn why HEIC can't be created in a browser and use AVIF, the closest modern alternative to HEIC, for your JPG photos for free.
HEIC images are compressed with the HEVC (H.265) codec. Because HEVC is subject to patent licensing, Chrome, Safari and Firefox don't let web pages save HEIC, and there's no reliable HEVC encoder that runs in the browser. Many sites just change the file extension instead; those files aren't really HEIC and won't open on an iPhone. Rather than doing that, we recommend options that actually work:
An open format from the same generation as HEIC, using the same HEIF container family. iPhone (iOS 16+), Mac, Android and every modern browser open it; it's often as small as HEIC.
The most common modern format for websites. Files about 25–35% smaller than JPG.
On a Mac, open the photo in Preview and choose File → Export → Format: HEIC. On Windows and Linux, the free GIMP can export as HEIF/HEIC.
Convert iPhone photos to JPG, which opens on Windows and everywhere. This conversion really happens in your browser.
HEIC offers files 40-50% smaller than JPG at the same quality.
A format optimized for iPhone, iPad and Mac. Make your photos feel native on Apple devices.
Transparency support, live photos and better color depth.