What is HEIC?

The format your iPhone saves photographs in. About half the size of JPEG for the same quality — and the reason Windows keeps asking you to install something.

HEIC at a glance

Extensions
.heic, .heif
What it is
A HEIF container holding images encoded with HEVC (H.265).
Adopted by Apple
iOS 11, 2017. The default for iPhone photographs since.
Size
Roughly half a JPEG at similar visual quality.
Extras
Alpha, 10-bit+ depth, depth maps, image sequences, Live Photos.
Browser support
Safari only. Chrome and Firefox cannot decode it.
The obstacle
HEVC patent licensing, which is why adoption stalled outside Apple.
On this site
Not supported — browsers cannot decode it.

Understanding HEIC

HEIF, HEIC and HEVC

Three names that get used interchangeably and should not be.

HEIF is the container — a standardised file format that can hold images, sequences and metadata, and is agnostic about how the images inside are encoded.

HEVC, also called H.265, is a video codec.

HEIC is the combination: a HEIF container holding HEVC-encoded still images. That is what an iPhone writes.

The distinction matters because HEIF can hold other codecs — an AVIF file is, technically, a HEIF-derived container holding AV1-encoded images. The container is not the problem; HEVC is.

Why it is so much smaller

HEVC is a modern video codec, and it inherits everything that comes with that: variable block sizes, many prediction modes, and sophisticated filtering — a far larger search space than JPEG's fixed 8 × 8 blocks.

Applied to a single still frame, that produces a file roughly half the size of an equivalent JPEG. For a phone taking thousands of photographs, halving storage is a substantial win, which is why Apple switched.

Why the rest of the world did not follow

HEVC is encumbered by a complicated patent licensing situation involving multiple pools and licensors. That has made it expensive and legally awkward to implement, particularly for open-source browsers and free software.

It is the direct reason Chrome and Firefox do not decode HEIC, and the reason Windows historically charged for the HEVC extension needed to view iPhone photographs. It is also a large part of why AV1 — and therefore AVIF — was created as a royalty-free alternative.

So HEIC's limited reach is not a technical failure. The format is good. The licensing is what stopped it.

What this means in practice

Apple devices
Everything works. Photos, Preview and Safari all handle it natively.
Windows
Needs the HEIF extension from the Microsoft Store, and historically the HEVC extension as well, which was a paid item.
Chrome and Firefox
Cannot display it at all.
Web upload forms
Frequently reject it outright.
Sharing from iOS
Often converts to JPEG automatically, which is why HEIC files arrive as JPEGs more often than people expect.

Should you switch your iPhone to JPEG?

Only if compatibility is a recurring irritation. Settings → Camera → Formats → Most Compatible saves JPEG instead, at roughly double the storage.

Leave it on High Efficiency if you mostly stay within Apple's ecosystem or share through channels that convert automatically. Switch if you regularly move files to Windows machines or upload to systems that reject HEIC.

To convert an existing library: Preview on a Mac exports to JPEG, and Finder's Quick Actions handle batches. On Windows you will need the extensions installed first, or a converter that bundles its own decoder.

Why there is no HEIC tool here

These tools use the browser's own codecs, and Chrome and Firefox cannot decode HEIC. A HEIC page would therefore fail for the majority of visitors — silently, on the file they had just chosen.

Supporting it would mean shipping a WebAssembly build of libheif, well over a megabyte, to work around a licensing problem. That is a reasonable thing for a dedicated converter to do; it is not something to imply is already here. Convert on a Mac with Preview, or with desktop software that includes a licensed decoder.

Try it yourself

Everything below runs in your browser, so you can test any of this on your own files without uploading them.

  • Compress JPEG

    Shrink JPG and JPEG photographs with a quality slider or an exact target size.

    Open the tool
  • Resize image

    By pixels or percentage, aspect ratio locked, across a whole batch.

    Open the tool
  • Remove EXIF data

    Strip GPS coordinates, camera model and timestamps before you publish.

    Open the tool

Questions

Frequently asked questions

Every answer below is present in the page source, expanded, so it can be read without opening anything.

Why can't I open HEIC files on Windows?

Windows needs the HEIF Image Extensions from the Microsoft Store, and historically the HEVC Video Extensions as well, which was a paid item. The underlying cause is HEVC's patent licensing rather than any technical limitation.

Is HEIC better than JPEG?

Technically yes — roughly half the file size at similar visual quality, plus alpha, higher bit depth and depth maps. In practice it is worse wherever compatibility matters, because most software outside Apple's ecosystem cannot read it.

Should I switch my iPhone camera to JPEG?

Only if HEIC is causing you regular problems. It roughly doubles your storage use in exchange for files that open everywhere. Settings → Camera → Formats → Most Compatible makes the change.

How do I convert HEIC to JPG?

On a Mac, open the file in Preview and export as JPEG, or select several in Finder and use Quick Actions → Convert Image. On Windows you will need the Store extensions installed first, or a converter that bundles its own decoder.

Why can't I convert HEIC on this site?

Because Chrome and Firefox cannot decode HEIC, and these tools use the browser's own codecs. A HEIC page here would fail for most visitors, so rather than ship one that breaks silently, there isn't one.

Is HEIC the same as HEIF?

Not quite. HEIF is the container format; HEIC is specifically a HEIF container holding HEVC-encoded images. AVIF uses a related container with AV1 encoding instead, which is why it has no licensing problem.

From the blog

Related reading

Longer, more practical guides from the blog.

  • Practical Guides

    How to Compress Images for a Website Without Wrecking Them

    Resize before you compress. Measured on one photograph: half the width at quality 80 produced a 16.4 KB file, while full width at quality 40 produced 20.6 KB and looked far worse. The order of operations matters more than the settings.

    8 min read

  • Practical Guides

    How to Reduce Image Size for Email Without Sending a Blurry Mess

    Attachments are base64-encoded in transit, which inflates them by about a third. A 20 MB limit is really a 15 MB limit. Resize to 1600 pixels on the long edge and encode at quality 80, and a photograph lands near 150 KB.

    9 min read

  • Practical Guides

    How to Strip EXIF Data From Photos, and What Breaks When You Do

    A photograph from a phone can carry the coordinates of the place it was taken, the camera serial number and the exact timestamp. Removing that data is straightforward. Removing it carelessly rotates your photos sideways.

    9 min read