HEIF works in Safari 17+ on macOS and iOS 17+. Chrome, Firefox, Edge, and Opera lack support. Learn HEIF browser compatibility, features, and known issues.

Prince Dewani
May 6, 2026
HEIF is the High Efficiency Image File Format, an ISO/IEC 23008-12 container the Moving Picture Experts Group built to store still images and image sequences with HEVC, AV1, AVC, or JPEG codecs. It works in Safari 17+ on macOS and Safari on iOS 17+, while Chrome, Firefox, Edge, Opera, Samsung Internet, and Internet Explorer never added native HEIF support inside img tags.
This guide covers what HEIF is, the browsers that show it, the key features of the format, the difference between HEIF and HEIC, how to enable HEIF, and the known issues to plan around.
HEIF stands for High Efficiency Image File Format. The Moving Picture Experts Group published it as ISO/IEC 23008-12, also known as MPEG-H Part 12. The container stores still images, bursts, image sequences, derived images, depth maps, alpha masks, and metadata in one file. HEIF still images use the .heif extension and image sequences use .heifs, while the HEVC profile (HEIC) uses .heic and .heics. The same container also holds AV1 frames as AVIF and AVC frames as AVCI.
HEIF works only in Safari. Apple added HEIC rendering to Safari 17 on macOS and iOS, while Chrome, Firefox, Edge, Opera, Samsung Internet, Android Browser, and Internet Explorer still treat HEIF files as unknown.
Chrome does not render HEIF or HEIC images inside img tags in any version. Chrome 1 through Chrome 150 cannot decode HEIF on Windows, macOS, Linux, ChromeOS, or Android. Even on macOS, where the operating system can decode HEIC at the system level, Chrome does not pass HEIF data to its image pipeline. Chrome users need a JPEG, PNG, WebP, or AVIF fallback to view the same picture.
Microsoft Edge does not render HEIF inside img tags on any version. Edge 12 through Edge 147 cannot show HEIC on Windows, macOS, or Linux. Windows users can install HEIF Image Extensions from the Microsoft Store, which lets File Explorer, the Photos app, and Paint open HEIF files, but Edge web pages still cannot show HEIC inside img elements.
Firefox does not render HEIF or HEIC in any version. Firefox 2 through Firefox 153 cannot decode HEIF on Windows, macOS, Linux, or Android. Mozilla tracks the request as Bugzilla bug 1402293, which is still open at priority P5 with no assigned engineer. The blockers cited in the bug are HEVC patent licensing and the lack of broad cross-browser consensus around HEIF.
Safari supports HEIC images inside img tags from Safari 17 on macOS Sonoma and later. Safari on iOS 17 and iPadOS 17 also shows HEIC inside web pages, and the same support extends to Safari View Controller and WKWebView. Safari 1 through Safari 16.6 did not render HEIC inside web pages, even though macOS High Sierra 10.13 and iOS 11 added system-level HEIF decoding for the Photos app and Preview.
Opera does not render HEIF inside img tags in any version. Opera 9 through Opera 131 cannot decode HEIC on Windows, macOS, Linux, or Android. Opera Mobile 10 through Opera Mobile 80 also lacks support. Opera shares its image pipeline with Chromium, so it inherits the same HEIF gap as Chrome.
Samsung Internet does not render HEIF in any version. Samsung Internet 4 through Samsung Internet 29 cannot show HEIC inside web pages, even on Galaxy phones where Android can decode HEIF natively. Samsung Internet is built on Chromium, so it carries the same HEIF gap as Chrome for Android.
Chrome for Android does not render HEIF in any version. The legacy stock Android Browser, last shipped in Android 4.4 KitKat, also never added HEIF support. Firefox for Android up to Firefox 150 does not support HEIF either. Android can decode HEIF at the OS level from Android 8 onward, but the browsers still need a JPEG or WebP fallback inside a picture element.
Internet Explorer does not support HEIF in any version. IE 5.5 through IE 11 never added HEIC decoding, and Microsoft has retired Internet Explorer as a supported browser. Anyone still on IE needs a JPEG, PNG, or WebP fallback inside a picture element.
HEIF combines a flexible ISOBMFF container with modern codec support, multi-image storage, and rich metadata. The features below decide whether HEIF fits a project beyond the iPhone camera.
HEIF and HEIC describe the same underlying file but at different levels. HEIF is the generic ISO container, and HEIC is the specific HEIF profile that holds HEVC frames. Most files saved by iPhone or iPad carry the .heic extension because the data inside is HEVC. The table below maps the differences side by side.
| Dimension | HEIF | HEIC |
|---|---|---|
| Definition | ISO/IEC 23008-12 container for still images and image sequences | HEIF profile where the image data is HEVC |
| File extension | .heif, .heifs (.HIF on some Canon cameras) | .heic, .heics |
| MIME type | image/heif, image/heif-sequence | image/heic, image/heic-sequence |
| Codec inside | HEVC, AV1, AVC, JPEG, JPEG 2000, JPEG XR, JPEG XS | HEVC only |
| Apple usage | Generic term Apple uses in documentation | Default save format for iPhone Camera and iCloud Photos |
| Browser support | Safari 17+ on macOS, Safari on iOS 17+. None in Chrome, Firefox, Edge, Opera, Samsung Internet, or IE. | Same as HEIF, since iPhone files are HEIC |
| Patent licensing | Container itself is open | HEVC frames need an HEVC patent license through Via LA or Access Advance |
| Best fit | Container choice for AV1 or AVC image data | Storage of iPhone photos, Live Photos, and Portrait mode shots |
Note: HEIF support breaks across Chrome, Firefox, Edge, and pre-Safari 17 builds. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!
There is no flag or setting that turns on HEIF in Chrome, Firefox, Edge, Opera, or Samsung Internet. The only browser path to HEIF is updating to Safari 17 or later. For every other browser, the practical option is to ship a fallback inside a picture element or decode HEIF in JavaScript.
The picture element pattern below covers Safari 17+, Chrome and Firefox through AVIF and WebP, and ancient browsers through the final JPEG src:
<!-- Picture element fallback chain for HEIC photos.
Safari 17+ shows the HEIC source. Chrome, Firefox, Edge,
and Opera fall through to AVIF, WebP, then JPEG. -->
<picture>
<source type="image/heic" srcset="hero.heic" />
<source type="image/avif" srcset="hero.avif" />
<source type="image/webp" srcset="hero.webp" />
<img
src="hero.jpg"
alt="Studio portrait, served as HEIC for Safari and JPEG everywhere else"
width="1200"
height="800"
loading="lazy"
/>
</picture>HEIF is the default photo format on the most popular phone in the world, and almost every browser still cannot show it. The mismatch creates real failures across uploads, email, content management, and analytics.
In my experience, the most surprising failure happens on macOS. The operating system can decode HEIC for Preview and Quick Look without breaking a sweat, yet Chrome and Firefox on the same machine still refuse to render HEIC inside img tags. Engineers assume the OS-level decoder is enough, ship HEIC URLs to production, and only catch the gap when a non-Safari user reports a broken hero image.
All HEIF version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance