Testing

HEIF: Browser Support, Features, Known Issues

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.

Author

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.

What is HEIF?

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.

Which browsers does HEIF support?

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.

Loading browser compatibility data...

HEIF compatibility in Chrome

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.

HEIF compatibility in Edge

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.

HEIF compatibility in Firefox

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.

HEIF compatibility in Safari

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.

HEIF compatibility in Opera

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.

HEIF compatibility in Samsung Internet

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.

HEIF compatibility in Android Browser

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.

HEIF compatibility in Internet Explorer

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.

What are the key features of HEIF?

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.

  • Small file size: HEIF stores a photo at about half the size of an equivalent-quality JPEG, because HEVC compresses still frames more aggressively than JPEG's DCT.
  • Multiple codec profiles: The same container can carry HEVC (HEIC), AV1 (AVIF), AVC (AVCI), JPEG, JPEG 2000, JPEG XR, and JPEG XS. Apps choose the codec without changing the container.
  • Multi-image storage: One HEIF file can hold a burst, a focal stack, a panorama, a Live Photo, or a derived edit alongside the original. The container preserves the relationship between frames.
  • Derived images and non-destructive edits: HEIF stores edit instructions, such as crop, rotate, and overlay, as separate metadata so the original pixels stay intact.
  • Auxiliary data: The container holds depth maps, alpha masks, and segmentation data, which Portrait mode and Magic Eraser tools read for blur and cutouts.
  • Wide color and HDR: HEIF supports 10-bit color, BT.2020 wide gamut, and HDR10 metadata when the codec inside is HEVC or AV1.
  • Alpha transparency: HEIF carries an 8-bit alpha channel, which makes it a JPEG replacement for icons and overlays where PNG was the only option.
  • ISOBMFF foundation: The container reuses the ISO Base Media File Format that powers MP4 and MOV, so HEIF inherits the same boxing model and parser ecosystem.
...

What is the difference between HEIF and HEIC?

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.

DimensionHEIFHEIC
DefinitionISO/IEC 23008-12 container for still images and image sequencesHEIF profile where the image data is HEVC
File extension.heif, .heifs (.HIF on some Canon cameras).heic, .heics
MIME typeimage/heif, image/heif-sequenceimage/heic, image/heic-sequence
Codec insideHEVC, AV1, AVC, JPEG, JPEG 2000, JPEG XR, JPEG XSHEVC only
Apple usageGeneric term Apple uses in documentationDefault save format for iPhone Camera and iCloud Photos
Browser supportSafari 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 licensingContainer itself is openHEVC frames need an HEVC patent license through Via LA or Access Advance
Best fitContainer choice for AV1 or AVC image dataStorage of iPhone photos, Live Photos, and Portrait mode shots
Note

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!

How do you enable HEIF in your browser?

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.

  • Safari on macOS: Update to Safari 17 on macOS Sonoma or later. HEIC rendering is built in with no flag to flip.
  • Safari on iOS and iPadOS: Update the device to iOS 17 or iPadOS 17 or later. Safari, Safari View Controller, and WKWebView all show HEIC.
  • Chrome and Chromium browsers: No native HEIF setting exists. Even on macOS, Chrome does not call into the OS HEIC decoder for img tags. Use a JPEG, WebP, or AVIF fallback.
  • Edge on Windows: Install HEIF Image Extensions from the Microsoft Store to view HEIC in File Explorer, Photos, and Paint. The extension does not enable HEIC inside Edge web pages.
  • Firefox: No native setting and no plugin. The Mozilla bug for HEIF support is at priority P5 with no shipping plan.
  • JavaScript workaround: Use libheif-js or heic2any to decode HEIF in the browser through WebAssembly and convert each frame to a JPEG, PNG, or WebP blob you can paint into an img or canvas.
  • Picture element fallback: Serve HEIC inside a picture element with AVIF, WebP, and JPEG sources after it. Browsers that cannot read image/heic skip ahead to the next source.

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>

What are the known issues with HEIF?

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.

  • iPhone-default but web-broken: iPhone Camera saves photos as HEIC by default, yet Chrome, Firefox, Edge, Opera, and Samsung Internet cannot show HEIC images. A user uploading a HEIC selfie to a non-Safari browser sees a broken image icon unless the site decodes the file in JavaScript.
  • HEVC patent licensing: HEVC, the codec inside HEIC, has two patent pools, Via LA and Access Advance, with overlapping but separate license fees. The cost and complexity is the main reason Chrome, Firefox, and Edge cite for not adding HEIF support.
  • OS-level decoding does not reach the browser: macOS, Windows 11, and Android can decode HEIF at the system level, but Chrome, Edge, and Firefox do not pipe that decoder into their img rendering path. Installing HEIF Image Extensions on Windows fixes File Explorer, not Edge web pages.
  • CMS uploads reject .heic files: WordPress, Drupal, and many headless CMSes block .heic uploads by MIME type allowlist, because their renderers cannot show the file. Editors get a rejection error from the upload form.
  • Email clients drop HEIC inline previews: Gmail web, Outlook web, and most webmail clients cannot render HEIC inline. The recipient sees the file as a download attachment instead of a preview.
  • Server tooling is uneven: Sharp, ImageMagick, and Cloudinary support HEIF only when built with libheif and a paid HEVC license. Default Linux distributions ship without libheif, so a server that worked yesterday can refuse HEIC after a deploy.
  • Conversion is the common workaround: Most pipelines transcode HEIC to JPEG, WebP, or AVIF on upload. The conversion adds CPU cost, can lose HDR or depth data, and breaks Live Photos or burst metadata.
  • File extension confusion: The same file may be .heif, .heifs, .heic, .heics, .avci, .avcs, or .HIF, depending on the codec inside and the camera that wrote it. Allowlists and analytics dashboards often miss the long tail.
  • Internet Explorer never supported it: IE never added HEIF support, and Microsoft has retired the browser. Anyone on IE needs a JPEG or PNG fallback in the picture element.

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.

...

Citations

All HEIF version numbers and platform notes in this guide come from these primary sources:

Author

Prince Dewani is a Community Contributor at TestMu AI, where he manages content strategies around software testing, QA, and test automation. He is certified in Selenium, Cypress, Playwright, Appium, Automation Testing, and KaneAI. Prince has also presented academic research at the international conference PBCON-01. He further specializes in on-page SEO, bridging marketing with core testing technologies. On LinkedIn, he is followed by 4,300+ QA engineers, developers, DevOps experts, tech leaders, and AI-focused practitioners in the global testing community.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Frequently asked questions

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests