Guide · Images
How to open and convert HEIC photos
By NREX Group · Published · Sources last checked: · 8 min read
Drafted with AI assistance and checked against the sources listed at the end.

A phone saves a photo as HEIC to keep the file small, and then the photo meets a form, a laptop or a chat app that wants JPG. This guide looks at what is inside a HEIC, what the usual conversions cost in bytes, what can go wrong with colour and rotation, and why the order of a convert-then-compress job matters. It uses one set of generated test files, so every number below can be repeated, and it says where the tests stop.
Why a HEIC will not open
HEIF is a container. The Library of Congress description quotes the point that it is not an image encoder, so what a file looks like depends on the encoder that wrote it.[2] A .heic file holds pixels coded with HEVC, and a program needs a decoder for that to show it. Apple’s documentation dates its own support to iOS 11 and macOS High Sierra 10.13, and says other devices handle such media with limitations.[1] MDN’s guide to image file types for the web does not list HEIC, so a page that takes only web image types has no reason to accept one.[4]
Two settings change the problem at the source. On an iPhone, Camera, Formats, Most Compatible makes new photos JPEG; and when photos go to a Mac or a PC over USB, Apple says they might be converted to JPEG unless Keep Originals is set.[1] Both leave old photos as they are, so conversion is still needed for the ones already taken.
What is inside the file
A HEIF file is a sequence of boxes. We parsed the box structure of the 4032 × 3024 test file, which macOS wrote with the brands heic, mif1 and miaf. It holds 49 items: 48 coded tiles of 512 × 512 pixels and one “grid” item that tells a reader how to lay them out as 8 columns by 6 rows. Properties list the pixel size, an 8-bit 4:2:0 HEVC configuration, a colour box and a rotation property. The 400 × 300 test file held a coded image plus an Exif item, and a rotation property of 90 degrees.
Two consequences follow. The picture is stored in tiles, so a converter has to decode and stitch 48 pieces. And the rotation is an instruction next to the pixels, not a change to them, so a converter that ignores it returns a sideways picture. The library behind the tools applied it: the 400 × 300 file came out as 300 × 400 with the white corner marker moved from top left to top right, a quarter turn clockwise.
What each conversion costs in bytes
All rows come from the same test picture and the library’s own decode. The tools use the settings shown: HEIC to JPG starts at quality 90, HEIC to PNG has no setting, and HEIC to PDF embeds a quality-90 JPEG.
| Output | Bytes | Against the HEIC |
|---|---|---|
| HEIC (macOS default quality) | 1,232,168 | 1.00× |
| PNG | 7,339,702 | 5.96× |
| JPG, quality 90 | 1,338,514 | 1.09× |
| JPG, quality 75 | 752,718 | 0.61× |
| JPG, quality 50 | 447,510 | 0.36× |
| PDF, one page (JPG 90 inside) | 1,339,466 | 1.09× |
The PDF is the JPG plus 952 bytes: the page wrapper adds almost nothing, because the JPEG data goes in as it is. The page is 4032 × 3024 points, which is 56 × 42 inches; the PDF guide explains why that is harmless on screen and matters in print.
These pictures are generated, and a real photo has its own mix of detail, so only the pattern carries over: PNG is several times the HEIC, and a JPG near quality 90 lands close to the HEIC while lower settings go below it. Apple says HEIF gives the same visual quality as JPEG at smaller sizes,[1] which is consistent with the JPG at 90 not being smaller here.
Check the colours and levels
Two things were measured against macOS’s own decode of the same files, which we treat as the reference.
Levels. In our test on November 14, 2026, with heic2any 0.0.4, the PNG for the test picture differed from the source by 26.7 dB PSNR, against 42.9 dB for macOS’s decode. On average its red, green and blue values were 5.6, 7.0 and 7.6 levels higher than macOS’s. The difference matches a stretch of the 16 to 235 range onto 0 to 255: after applying that stretch to macOS’s result the two agreed at 45.0 dB, and a neutral grey of 128 came back as 130. Dark values below 16 therefore end at 0 and bright values above 235 at 255. The test files were written by macOS and flag their data as full-range, which is consistent with a decoder that reads every file as video range.
After the correction (November 14, 2026). The site’s HEIC tools now read the file’s full-range flag and undo that stretch before writing the PNG or JPG. In a second test on a generated 1600 × 1200 photo, PSNR against the source went from 28.4 dB with heic2any alone to 41.1 dB with the correction, against 43.05 dB for macOS’s decode. On a generated image with pure black and white blocks, a ramp and noise it went from 28.6 to 32.1 dB, against 30.7 dB for macOS. Channels the decoder had already clipped at 0 or 255 cannot be recovered. Both test sets were written by macOS and we had no photo straight from a phone, so we do not know whether a phone’s files behave the same way. The size and route figures elsewhere in this guide were measured before the correction and may differ slightly now.
Wide-gamut colour. A HEIC can carry an embedded profile. In a strip of swatches tagged Display P3, macOS’s decode returned the original numbers within 2 levels. The library’s PNG carried no colour chunk, only header, data and end,[5] so a viewer reads the numbers as sRGB. A tagged PNG sent through the browser’s canvas, which is the route the image tools use, was converted to sRGB the way macOS converts it. The tool’s own PNG keeps the profile’s numbers as they are, so a Display P3 photo is not converted to sRGB by the HEIC tools. Before the level correction the same swatches came back as 255, 130, 0 for the orange and 130, 130, 130 for the grey.
| Swatch | Source (P3) | Correct sRGB | HEIC tool PNG (corrected) | Tagged PNG via canvas |
|---|---|---|---|---|
| Orange | 255, 128, 0 | 255, 119, 0 | 255, 127, 0 | 255, 119, 0 |
| Magenta | 200, 40, 160 | 218, 0, 164 | 200, 40, 161 | 218, 0, 164 |
| Teal | 30, 200, 190 | 0, 204, 191 | 31, 200, 190 | 0, 204, 191 |
| Grey | 128, 128, 128 | 128, 128, 128 | 128, 128, 128 | 128, 128, 128 |
The practical reading: for a photo that matters, open the converted copy next to the original and look at shadows, highlights and saturated colours. If they differ, keep the HEIC, since it holds the original data.
Convert once, then compress once
A common sequence is HEIC to JPG, then the Image Compressor for a size limit. Each lossy save adds its own error, so we compared two routes to the same final quality setting. Route A converted at quality 90 and then compressed with the Image Compressor’s canvas calls. Route B converted straight from the HEIC at the final quality. PSNR is measured against the library’s own PNG of the picture.
| Final quality | A: bytes | A: PSNR | B: bytes | B: PSNR |
|---|---|---|---|---|
| 80 | 914,668 | 36.4 dB | 869,180 | 38.4 dB |
| 60 | 548,971 | 33.6 dB | 535,884 | 34.2 dB |
| 40 | 356,490 | 32.2 dB | 368,929 | 32.3 dB |
At 80 and 60, converting once gave the smaller file and the higher PSNR. At 40 the two-step route was 3.4% smaller and 0.1 dB lower, so the gap closes as the quality drops. Compressing twice at 60 (once from the quality-90 copy, once more from that) gave 548,787 bytes and 33.5 dB, nearly the same as one pass from the quality-90 copy. PSNR is a numeric measure, and it does not tell how a person sees the difference.
The rule that follows is modest: when the target size is known, pick the quality in the HEIC tool and skip the extra pass. The compressor stays useful for a JPG that already exists.
Going from JPG to PNG afterwards
JPG to PNG decodes the JPG onto a canvas and writes the pixels as PNG. On the quality-90 test JPG, 1,338,514 bytes, the PNG was 6,516,229 bytes, 4.9 times as large, and not one of its 36,578,304 colour values differed from the decoded JPG. The step is lossless, so it preserves the JPG’s blocking and removes none of it. It is useful when software demands PNG, or before further editing that should not add a lossy save, and it is the wrong step for saving space.
Questions
Why does a HEIC photo not open on my computer?
HEIC is a HEIF file with HEVC-coded pixels. Apple says support arrived in iOS 11 and macOS High Sierra 10.13, and that other devices can view, edit or duplicate such media only with limitations. Software without a HEIF and HEVC decoder cannot show the picture, which is why a copy in a widely supported format helps.[1]
Is a HEIC the same as a HEIF?
Closely related. HEIF is the container standard, ISO/IEC 23008-12, and HEIC is a subtype that holds HEVC-coded images. The Library of Congress description stresses that HEIF is a container, not an encoder, so quality depends on the encoder that wrote the file.[2]
Which output keeps the most information from a HEIC?
PNG keeps every decoded pixel, but it cannot restore detail the HEIC had already dropped, and in our test it was about six times the size of the HEIC. A JPG at a high quality is the smaller choice for sharing.
Does a converted copy keep the location and the date?
The library's documentation says no metadata is copied from the original file, and the PNG and JPG from our test held none. Check a converted copy in a viewer that lists metadata before relying on either answer.[3]
Sources
Every link below was opened and checked on November 14, 2026. The measurements were made for this guide with the files and scripts described above; they come from generated test pictures written by macOS, not from phone photos.
- Apple Support, Using HEIF or HEVC media on Apple devices. Support starting with iOS 11 and macOS High Sierra 10.13, the claim that HEIF and HEVC compress better than JPEG and H.264 at the same visual quality, the Most Compatible setting, and the note that media imported over USB might be converted to JPEG unless Keep Originals is on. Accessed November 14, 2026.
- Library of Congress, Format Description: HEIF (ISO/IEC 23008-12). HEIF as an international standard defined by MPEG-H Part 12, first published in 2017, and the Nokia summary that it is a media container format and not an image or video encoder. Accessed November 14, 2026.
- heic2any, project README. A client-side library that converts HEIC and HEIF files to JPEG, PNG or GIF in the browser; the HEIC tools on this site use it. Accessed November 14, 2026.
- MDN, Image file type and format guide. The list of image formats for the web; HEIF appears there only as the container that AVIF uses, and HEIC is not listed. Accessed November 14, 2026.
- W3C, Portable Network Graphics (PNG) Specification. The ancillary chunk that holds an embedded ICC profile (iCCP) and the priority order of the colour chunks, which a PNG without them leaves unused. Accessed November 14, 2026.