Why HEIC Breaks Browser Image Tools & How to Fix
In this article
HEIC files break browser image tools because most browsers cannot decode the HEIC format natively, so they refuse to display or process the image at all. To fix it, you must convert the HEIC file to a web-compatible format like JPEG or PNG before uploading it to a browser-based tool.
What Is HEIC and Why Do Browsers Reject It?
HEIC (High Efficiency Image Coding) is a container format based on the HEVC (H.265) video compression standard. Apple adopted HEIC as the default photo format on iPhones and iPads starting with iOS 11 in 2017. The format uses advanced compression to store the same visual quality as JPEG in roughly half the file size, which is why Apple chose it for saving storage space.
However, HEIC is not a web standard. The HTML specification and the major browser vendors—Chrome, Firefox, Safari, and Edge—have not agreed on a common codec for HEIC. Safari on macOS and iOS can display HEIC because Apple provides its own decoder, but Chrome, Firefox, and Edge on Windows, Android, and Linux generally do not support it. Even when a browser technically supports HEIC (like Safari), many third-party image tools that run in the browser—such as online editors, compressors, or uploaders—do not include a HEIC decoder in their JavaScript code. As a result, the file appears as a broken image icon, an error message, or is simply ignored.
Why Browsers Can’t Just “Add” HEIC Support
Adding HEIC support to a browser is not a simple matter of enabling a checkbox. The underlying HEVC codec is patent-encumbered, meaning companies that implement it must pay licensing fees to patent holders. Mozilla and Google have both publicly declined to support HEVC in their browsers due to these licensing costs and the lack of a royalty-free alternative. Instead, they have pushed for AVIF, a newer format based on the open AV1 codec, which offers similar compression efficiency without the patent fees. Safari has supported HEIC since macOS High Sierra and iOS 11, but that support is tied to Apple’s own hardware and operating system, not to a cross-platform standard.
Even if a browser did support HEIC, the image tools themselves would need to add decoding logic. Most browser-based image editors rely on the browser’s built-in image decoding capabilities. If the browser cannot decode HEIC, the tool cannot access the pixel data, so it cannot display, crop, resize, or compress the image. This is why you might see a tool that works fine with JPEG but fails with HEIC even in Safari.
How to Fix HEIC Files for Browser Use
The only reliable fix is to convert HEIC to a format that browsers support universally: JPEG, PNG, or WebP. Here are the most common methods:
- On an iPhone or iPad: Go to Settings > Photos > Transfer to Mac or PC and select “Automatic.” This makes the device convert HEIC to JPEG when you transfer photos via USB or when you use AirDrop to a non-Apple device. You can also change the camera capture format to “Most Compatible” in Settings > Camera > Formats, which makes the camera save JPEG directly.
- On a Mac: Open the HEIC file in Preview, then go to File > Export and choose JPEG or PNG. You can also drag a batch of HEIC files into Preview and export them all at once.
- On Windows: Windows 10 and 11 require the “HEIF Image Extensions” and “HEVC Video Extensions” from the Microsoft Store to view HEIC files. Once installed, you can open the file in the Photos app and use “Save As” to convert it to JPEG. If you don’t want to install those extensions, use a free online converter.
- Online converters: Websites like CloudConvert, Convertio, or HEICtoJPEG.com let you upload a HEIC file and download a JPEG. These services run the conversion on their servers, so they work on any device with a browser. Be mindful of privacy—do not upload sensitive images to an unknown service.
- Desktop software: Free tools like GIMP (with the HEIF plugin) or paid tools like Adobe Photoshop can open HEIC and save as JPEG. For batch conversion, you can use a script with ImageMagick or a dedicated app like iMazing HEIC Converter (free for Mac).
What About HEIF and HEVC? The Format Family
HEIC is a specific type of HEIF (High Efficiency Image File Format). HEIF is a container that can hold images, image sequences, and metadata. HEIC is the Apple-specific implementation that uses HEVC compression. There is also HEIF with AV1 compression, which is called AVIF. AVIF is supported by Chrome, Firefox, and Edge (and Safari 16.1+), but it is not the same as HEIC. When you see a file with the .heic extension, it is almost certainly HEVC-compressed. When you see .heif, it could be either HEVC or AV1, but in practice, Apple uses .heic for HEVC and .heif for AV1 (rarely).
This distinction matters because some tools that claim to support “HEIF” may only support AVIF, not HEIC. For example, many online converters that list “HEIF” actually convert AVIF, not HEIC. Always check the file extension and the tool’s documentation to ensure it specifically supports HEIC.
Choosing the Right Replacement Format
When you convert HEIC, you need to decide which format to use. Each has trade-offs:
- JPEG: Universal compatibility, small file size, but lossy compression. Good for photos and web uploads. Quality loss is minimal at high quality settings.
- PNG: Lossless compression, supports transparency, but file sizes are much larger than JPEG. Best for graphics, logos, or images with text.
- WebP: Modern format supported by all major browsers, offers better compression than JPEG with similar quality. Good for web use, but some older tools may not accept it.
- AVIF: Excellent compression and browser support (except older Safari), but not as widely supported by third-party tools. Use if you need the smallest file size and your target platform supports it.
For most browser-based tools, JPEG is the safest choice because it has been the web standard for decades. If you need transparency, use PNG. If you are optimizing for web performance and the tool accepts WebP, that is a good compromise.
Common Problems and Misconceptions
One common misconception is that renaming the file extension from .heic to .jpg will make it work. This does not change the underlying data; the browser still sees the HEVC codec and fails to decode it. You must actually re-encode the image.
Another issue is that some online tools claim to accept HEIC but then fail silently. This often happens because the tool relies on the browser’s native support (which is absent) or because the server-side converter does not handle HEIC correctly. If a tool fails, try a different one or convert locally.
Also, note that emailing a HEIC file to yourself does not convert it—it just sends the HEIC file. Some email services (like Gmail) automatically convert attachments to JPEG when you send from a mobile device, but this is not guaranteed. To be safe, convert before sending.
Frequently Asked Questions
Can I make my browser support HEIC?
On Windows, you can install the “HEIF Image Extensions” and “HEVC Video Extensions” from the Microsoft Store, which allows the Photos app and some browsers (like Edge) to decode HEIC. On Chrome or Firefox, there is no official way to enable HEIC support; you must use a converter. Safari on macOS and iOS supports HEIC natively, but only if the file is opened directly in Safari—not necessarily in every web tool.
Is HEIC better than JPEG?
HEIC offers better compression, meaning smaller file sizes at the same quality, and it supports features like image sequences and depth maps. However, JPEG is universally compatible and has no patent issues. For personal storage on Apple devices, HEIC is great; for sharing and web use, JPEG is more practical.
Why does my iPhone send HEIC instead of JPEG?
Your iPhone is set to “High Efficiency” format in Settings > Camera > Formats. To send JPEG, you can change that setting to “Most Compatible,” or you can use the “Automatic” transfer setting when moving photos to a computer. Alternatively, when sharing from the Photos app, you can choose “Most Compatible” in the share sheet options (iOS 13 and later) to send a JPEG copy.
Does converting HEIC to JPEG lose quality?
Yes, JPEG is lossy, so converting from HEIC (which is also lossy) will result in some quality loss. However, if you export at high quality (e.g., 90% or higher), the difference is usually imperceptible. For archival purposes, consider keeping the original HEIC file and exporting a JPEG copy for sharing.
Are there any free offline converters?
Yes. On Windows, you can use the built-in Photos app after installing the HEIF extensions. On Mac, Preview can export to JPEG. For batch conversion, you can use ImageMagick (command line) or a free app like iMazing HEIC Converter (Mac only). GIMP with the HEIF plugin is also free and works on Windows, Mac, and Linux.