Why phones save HEIC
HEIC is short for High Efficiency Image Container. It is a version of HEIF, a file format that wraps pictures compressed with HEVC, the video codec also known as H.265. HEVC finds more of the repetition in a picture than the JPG method from the early 1990s does, so a HEIC photo takes noticeably less space than a JPG of similar look. On a phone that holds thousands of pictures, that adds up.
iPhones have saved photos this way since iOS 11, whenever the camera’s format is set to High Efficiency, which is the default. The file name usually ends in .HEIC, and a file ending in .heif is the same kind of file. A HEIC file can also hold more than one picture: thumbnails, a depth map or a whole series of images can sit beside the main image in one container.
Where HEIC doesn’t open
Apple’s own devices read HEIC without help. Elsewhere it is patchy, which is why a photo copied off an iPhone can show up as a blank icon or an error.
- Windows shows HEIC only after two extensions from the Microsoft Store are added: one for HEIF and one for HEVC, and the HEVC one isn’t always free. A computer without them shows no preview and may not open the file at all.
- Android reads HEIC on recent versions, but older phones and many apps don’t, so a photo sent as a file can arrive as something the gallery can’t show.
- Websites and upload forms often list JPG and PNG only, and turn away a HEIC photo even when the computer itself can open it.
- Older programs, printers and photo kiosks are usually limited to JPG.
Ways round it on the iPhone
Two settings change what the phone hands over:
- Settings → Camera → Formats → Most Compatible makes the camera save new photos as JPG. Photos already taken stay HEIC, and the new JPG files take more space.
- Settings → Photos → Transfer to Mac or PC → Automatic converts photos to JPG when they are copied to a computer over a cable. Copies sent another way may still be HEIC. For photos that are already HEIC, converting the files is the direct route.
Worked examples
These use the sample files of HEIC to JPG: iphone-photo.heic, a photo of 480 × 320 px and 8.3 KB, and rotated.heic, a photo of the same size stored with a note to turn it a quarter. Select Try a sample on the tool to convert the first one. Sizes are rounded as the file cards show them.
An iPhone photo to JPG
Add iphone-photo.heic and the card reads HEIC → JPG · 480 × 320 px. The saved file is iphone-photo.jpg of about 15.9 KB at the default Quality of 90, almost twice the size of the HEIC, which is the space HEIC saves seen from the other side. With Save as set to PNG the same picture is about 87.2 KB, more than ten times the HEIC, because PNG keeps every pixel exactly.
A photo taken with the phone turned
A phone held upright usually still stores the picture the way the sensor sees it, on its side, and adds a note saying how far to turn it. rotated.heic is stored 480 × 320 px with such a note. HEIC to JPG applies the turn before saving, so the card reads HEIC → JPG · 320 × 480 px and rotated.jpg, about 16.2 KB, is upright in any viewer, including ones that would ignore the note.
Photos that hold more than one picture
When a HEIC file holds several pictures, the tool saves only the main one, and the card says so with a line such as first of 3 images. The short video of a Live Photo is a separate file on the phone and isn’t part of the conversion. Each file gets its own card, so several photos can be added together and checked one by one.
Choosing between JPG and PNG
JPG is the format nearly every program, phone and form accepts, and the Quality slider, from 1 to 100, sets how much detail it keeps against how big the file is. PNG has no quality setting: it keeps every pixel as the HEIC was decoded, which suits a picture that will be edited again and costs a much larger file, as the first example shows.
What happens to the photo’s details
The JPG or PNG is made from the decoded pixels alone, so the camera model, the time and any GPS location stored in the HEIC aren’t carried into it. The first time a HEIC photo is added, the browser fetches the decoder that reads it from this site. The photo itself is converted in your browser and isn’t uploaded.