HEIC to PNG

Published Updated

Convert your HEIC or HEIF photo to a lossless PNG file and download the result — free, private, and processed entirely in your browser.

Expect a file many times larger than the HEIC

PNG is and an iPhone's HEIC photo is lossy, so converting one to the other grows the file. An iPhone photo of 4032 × 3024 pixels has 12,192,768 pixels. Stored as raw RGB that is about 36.6 MB, and PNG's compression of camera noise only removes part of it. The HEIC you started with is typically a few megabytes.

Apple notes that HEIF gives better compression than JPEG at the same visual quality (Apple Support). PNG gives up that efficiency in exchange for storing the decoded pixels without loss, and it will not add detail the HEIC had already dropped.

What is inside a HEIC, and what this page makes of it

HEIF, the format behind .heic, is a container standard (ISO/IEC 23008-12, also called MPEG-H Part 12). It can hold one image, a set of images or a sequence, and the pixels are coded with a video-style codec such as HEVC. The Library of Congress description stresses that HEIF is a container and not an encoder, so picture quality depends on the encoder that wrote the file (Library of Congress).

This page decodes the file in your browser with heic2any, whose documentation says it copies no metadata from the original (heic2any). In the test below, run through the page's own conversion code in Chromium 153 (Playwright build, not Google Chrome), the PNG that came back was an 8-bit image with an alpha channel the photo does not use (every alpha value was 255), and it held only the three required chunk types: header, image data and end marker. There was no EXIF block and no colour-profile chunk, so the file does not say which colour space its numbers are in. In Firefox 155 and Playwright's WebKit build (not the Safari app), the same file carried extra chunks.

Some HEIC files, including the ones macOS wrote for our tests, mark their YCbCr values as full range (0 to 255), while heic2any 0.0.4 decodes as video range (16 to 235), which stretches levels and clips shadows and highlights. This page reads the flag in the file and undoes that stretch before it writes the PNG. In our test on a generated photo written by macOS, PSNR against the original was 41 dB with the correction and 28 dB without. Pixels the decoder had already clipped at pure black or white cannot be recovered, and the correction is not applied when the file does not mark full range.

Where the bytes go for a 12 MP photo

RepresentationSizeNote
Pixels (4032 × 3024)12,192,768Same in HEIC and PNG, no resizing happens.
Raw RGB, 3 bytes per pixel36.6 MBUpper reference point before any compression.
Raw RGBA, 4 bytes per pixel48.8 MBMemory your browser uses while it works.
HEICa few MBLossy HEVC compression, set by the phone.
PNGabout 6 to 24 MB in our Chromium testsLossless, so photographic detail limits the saving.

Measured: two 12-megapixel test files

Two synthetic 4032 × 3024 images were generated with Python, smooth tones plus Gaussian noise that is strong in one and faint in the other, and saved as HEIC with macOS sips at its default quality. They were then converted with the page's own conversion code (heic2any 0.0.4 plus the level correction, which these files trigger because macOS marks them full range), with the same options (PNG output, several images allowed) in Chromium 153. The JPEG column is the same code at 90%, the default of HEIC to JPG. Sizes are decimal.

Test fileHEICPNG from this pageJPEG at 90%
Noisy, like fine sensor grain3.96 MB24.1 MB (6.1 times the HEIC)2.70 MB
Smooth tones, little noise161 KB6.39 MB (40 times the HEIC)411 KB

The PNG is not a fixed multiple of the HEIC. It follows how much fine detail the picture holds: the noisy file needed 66% of the 36.6 MB of raw RGB values, the smooth one 17%. Timing on one Mac in Chromium: the noisy file took about 3.6 seconds for the PNG after about 3.7 seconds for the 50% preview that appears first, and the smooth one 1.9 and 1.5 seconds. The page decodes the file twice, so a large photo keeps it busy for several seconds, and slower phones take longer.

Converting, step by step

  1. Step 1

    Add a HEIC or HEIF photo

    One file per run. The page decodes a low-quality preview first, which also confirms the file is readable.

  2. Step 2

    Press Convert to PNG

    There is nothing to configure, because PNG is lossless. The photo is decoded at its full pixel size.

  3. Step 3

    Compare sizes and download

    The result card shows the HEIC size next to the PNG size. If the file held several images, it tells you only the first was converted.

One image, first image only

HEIF files can hold more than one image: a burst, a bracketed set or a photo with alternates. The decoder reads all of them, but this page saves the first one and shows a notice with the count, so you know something was left out.

Each run takes a single file. The preview you see while loading is a 50% quality JPEG made only for display, and the PNG is decoded again from the original file, so the preview does not affect the result.

When not to use this

If you only need to attach or upload the photo, PNG is the wrong target, and HEIC to JPG is the better one. A HEIC of a few megabytes can turn into a PNG above 20 megabytes, which will hit email and form limits that a JPG would not.

HEIC to PNG, answered

Why is the PNG so much bigger than my HEIC?

HEIC is a lossy format built to be small, while PNG stores every pixel without lossy compression. A 12-megapixel photo is about 36.6 MB as raw RGB, and photographic detail does not compress well in PNG, so in our two test files a 12-megapixel HEIC became a 6.39 MB and a 24.1 MB PNG, against 161 KB and 3.96 MB for the HEICs (details are further down the page).

Does converting to PNG lose quality?

The PNG step is lossless, but the HEIC already discarded detail when the phone saved it, and that detail does not come back. The PNG keeps the decoded pixels without further loss, but it is not an improvement.

Are the location and date of the photo kept?

No. The PNG is written from decoded pixels, so EXIF data such as GPS position and capture time is not copied. That can be useful before sharing.

What happens to a burst or a Live Photo?

Only the first image in the file is converted, and the page says so when the file held more. A Live Photo's video is a separate file and is not touched.

Should I convert to PNG or JPG?

Choose JPG when you want a small, widely accepted copy; HEIC to JPG does that. Choose PNG when the next step is editing and you want no extra lossy generation.

Why do two 12-megapixel photos give PNGs of such different sizes?

PNG size follows detail and noise, not just pixel count. Two files of 4032 × 3024 pixels gave PNGs of 24.1 MB and 6.39 MB, because the first carried fine grain that PNG cannot compress well. A photo with fine grain, like the noisy test file, gives the larger file.

Why did my iPhone photos reach my PC as JPG files?

Apple says that when you import HEIF media from an iPhone over USB into Photos, Image Capture or a PC, it might be converted to JPEG. Settings > Apps > Photos > Keep Originals stops that. Those JPG copies are already converted, so you only need a PNG step if you want one.

How long does a 12-megapixel photo take?

On one Mac in Chromium 153, about 4 seconds for a noisy photo and 2 seconds for a smooth one, after a similar wait for the preview. The page decodes the file twice. A phone or an older computer can take noticeably longer, so leave the tab open until the result card appears.

Can I stop my iPhone saving HEIC?

Yes. Under Settings > Camera > Formats, pick Most Compatible and new photos are saved as JPEG (Apple Support). Existing photos stay HEIC.

Related guides

JPG, PNG, WebP, HEIC and SVG: which image format to use. The guide puts the size of a lossless PNG next to the HEIC it came from, with raw-pixel arithmetic for a 12 MP photo.

How to open and convert HEIC photos. The guide compares PNG with the HEIC and JPG sizes on one test picture and reports November 14, 2026 tests of how the PNG levels compared with macOS's decode before and after the tool's full-range correction (28.4 dB to 41.1 dB on one generated photo, macOS-written test files only).

Related Tools