Skip to content

Guide

What is a HEIC file?

HEIC is the format iPhones save photos in by default. It takes less space than JPG, but outside Apple’s world it often won’t open. Here is what it is, where it works, and how to get a JPG instead.

By Mark Stoumann ·

HEIF, HEIC and HEVC

Three similar abbreviations, three different things:

  • HEIF (High Efficiency Image File Format) is a container, standardised as ISO/IEC 23008-12. Like a ZIP file for pictures, it says how images and their details are stored, not how they are compressed.
  • HEVC, also called H.265, is a video codec. Here it compresses each picture as if it were a single frame of video.
  • HEIC is a HEIF file holding HEVC-compressed pictures, with the extension .heic. That is what an iPhone saves.

Because HEIF is a container, one file can hold more than one picture: a burst of photos, a small thumbnail, a depth map used for portrait blur, or a large picture split into tiles. It also stores the same kind of EXIF metadata as a JPG, location included. AVIF is a close relative: the same container, with pictures compressed by the AV1 codec instead.

Why your iPhone uses it

Apple switched with iOS 11 and macOS High Sierra in 2017. On an iPhone 7 or later, the camera saves photos as HEIC and videos as HEVC whenever the camera format is set to High Efficiency, which is the default. The reason is space: Apple says these formats compress better than JPEG and H.264, so the same photo library takes up less of your phone and your iCloud storage.

Apple doesn’t promise a number, and the saving depends on the photo. The other side of the deal is compatibility, which is where most people first meet the format: a photo that opened fine on the phone arrives somewhere else as a file nothing can open.

HEIC compared to JPG

To see what that means in practice, we converted a 12-megapixel iPhone photo of a flower bed to JPG with the same browser encoder TinyPixr uses:

VersionFile sizeCompared to the HEIC
HEIC from the iPhone2.7 MB100%
JPG, 90% quality3.1 MB117%
JPG, 85% quality2.5 MB93%
JPG, 80% quality2.1 MB79%
WebP, 80% quality1.6 MB58%

A converted JPG is not automatically huge: around 85% it lands near the size of the HEIC. That isn’t a fair test of the formats, though. The JPG is a copy of a picture HEIC has already compressed, and lower settings shrink the file by throwing away more detail on top of what was lost the first time. The real comparison is the camera’s own: for the same picture quality, HEIC needs fewer bytes. How lossy compression and the quality setting work is covered in lossy vs lossless compression.

Where HEIC opens, and where it doesn’t

WhereOpens HEIC?
iPhone and iPad (iOS 11+)Yes
Mac (macOS High Sierra+)Yes
Windows 10 and 11Only with two Microsoft Store extensions
Android 9 and laterUsually; support is up to the phone maker
Safari 17+Yes
Chrome, Edge, Firefox, Samsung InternetNo

Windows needs the free HEIF Image Extensions and the HEVC Video Extensions, which cost $0.99 in the Microsoft Store. Microsoft says you need both, even if you only want to look at photos, because the pictures inside a .heic file are compressed with the video codec.

Browsers are the bigger gap. Only Safari, from version 17, shows HEIC images. caniuse.com notes that licensing costs make HEIC hard for browsers to support, so this is unlikely to change. In practice that means many websites and upload forms reject HEIC, or accept the file and then fail to show it. For how the newer, licence-free formats compare, see WebP, AVIF and JPEG XL support.

Make your iPhone shoot or send JPG

To shoot JPG from now on: open Settings › Camera › Formats and choose Most Compatible. New photos are saved as JPG, and videos as H.264. Photos you already took stay HEIC, and the photo library will grow faster. Choose High Efficiency to switch back.

To get JPG when copying to a computer: under Settings › Apps › Photos, the Transfer to Mac or PC setting decides what a cable import gets. Automatic lets the iPhone convert photos to JPG for computers that may not handle HEIC; Keep Originals always sends the HEIC files. Apple notes the conversion applies to imports into Photos, Image Capture or a PC.

When sharing: AirDrop, Messages and email might send a JPG on their own if the receiving device doesn’t support HEIF, but Apple doesn’t promise it. For a file you upload to a website or send as a document, convert it first.

Convert HEIC with TinyPixr

The HEIC to JPG converter turns iPhone photos into JPG files at 90% quality, several at a time. The image converter also saves them as PNG or WebP. Exactly what happens:

  • Nothing is uploaded. Safari opens HEIC by itself. In other browsers, TinyPixr first downloads an open-source decoder, libheif compiled to WebAssembly (about 0.5 MB, once), and runs it on your device.
  • One picture per file. TinyPixr saves the file’s main picture. Extra pictures such as depth maps, and the video half of a Live Photo, are not included.
  • Upright, standard colors. The rotation stored in the file is applied, and the iPhone’s wide Display P3 colors are converted to sRGB, so the JPG looks right on any screen.
  • No metadata. Location, camera model and date taken are not copied into the new file. That is good for sharing; keep the HEIC if you want those details. More in how to remove location data from photos.

Files can be up to 50 MB each. If the result is too big for an upload form, lower the quality or set a maximum file size in the compressor.

Frequently asked questions

Is HEIC the same as HEIF?

Nearly. HEIF is the container format, standardised as ISO/IEC 23008-12. HEIC is the name for a HEIF file whose pictures are compressed with the HEVC (H.265) codec, which is what iPhones make. The .heif extension is used for HEIF files in general.

Is HEIC better quality than JPG?

It compresses better: Apple says HEIF takes less storage than JPEG for the same photo. Whether a given HEIC looks better than a given JPG depends on how strongly each was compressed. Converting a HEIC to JPG can’t add quality; at a high JPG setting it keeps what is there.

Does converting HEIC to JPG lose quality?

A little, because JPG is lossy too. At 85–90% quality the difference is very hard to see, and the JPG is about as large as the HEIC or slightly larger. Keep the HEIC original if you might want to edit the photo later.

Why does my iPhone sometimes send JPG and sometimes HEIC?

Apple says that when you share by AirDrop, Messages or email, a photo might be sent in a more compatible format such as JPEG if the receiving device doesn’t support HEIF. Cable transfers to a computer can also convert, depending on the Transfer to Mac or PC setting under Photos.

Will Chrome support HEIC?

There is no sign of it. caniuse.com lists no support in Chrome, Edge, Firefox or Samsung Internet, and notes that HEIC is hard for browsers to adopt because of licensing costs. Browsers have put their effort into AVIF and JPEG XL instead.