Image tools · Lossless HEIC conversion

Convert HEIC to PNG without losing a pixel.

Choose the HEIC files, get lossless PNG copies of exactly the pixels the decoder produced. Everything happens in this browser tab, so the photos never leave your device.

When PNG is the right target for a HEIC photo

PNG and JPG solve different problems. JPG throws away detail to stay small. PNG keeps every pixel it is given and compresses without loss, which is why it is the format for screenshots, graphics, anything with text, and images you plan to edit several times without compounding quality loss. A HEIC photo converted to PNG is a faithful 8-bit copy of what the decoder produced from the HEIC.

Choose PNG when a design tool, game engine, sticker app or document template only accepts PNG, when you want to retouch before a final export, or when the picture has an alpha channel (transparency) that JPG cannot store. Choose JPG when you only need a small, shareable photo; use the HEIC to JPG converter for that.

How the conversion works

  1. Each file is checked for a genuine HEIC or HEIF brand in its header before any decoder runs.
  2. Your browser decodes it if it can (Safari, iPhone, iPad). Otherwise the page loads the libheif decoder once, from this site, and decodes inside the page.
  3. The decoded pixels are drawn onto a transparent canvas, so alpha is preserved, and encoded as PNG by the browser. The first bytes of the output are verified to be a real PNG signature before a download link is offered.
  4. Several files are bundled into an uncompressed ZIP, because PNG data is already compressed.

The tool runs in a sandboxed frame that cannot make network requests. Ads on this page sit outside the frame.

Expect large files

HEIC uses a modern video codec to shrink photos. PNG has no such tool for photographic detail, so a PNG made from a camera photo is typically several times larger than the HEIC and often larger than a high-quality JPG. A 12-megapixel photo has about 36 megabytes of raw 8-bit colour data before compression; PNG compresses that, but only by the amount the picture's patterns allow. That is not a fault of the converter. If a PNG turns out too big to send, convert to JPG instead, or reduce its dimensions with the image resizer.

What is and is not preserved

Common mistakes

HEIC decoding uses your browser's own decoder when it has one (Safari, iPhone, iPad and some Windows setups). Everywhere else this page loads libheif 1.19.8 (LGPL-3.0, unmodified, built to WebAssembly by libheif-js) as a separate file, and only after you choose a file that needs it. The file is checked against a fixed SHA-384 hash before it runs.

Frequently asked questions

Is the PNG really lossless?

The PNG encoding is lossless, so the PNG holds exactly the 8-bit pixels the decoder produced. It cannot recover detail already discarded when the phone saved the HEIC, and the decode to 8-bit can reduce HDR range.

Are my pictures uploaded to a server?

No. The decoder, the canvas and the PNG encoder all run in this page on your device, inside a sandboxed frame that blocks network requests.

Does the PNG keep transparency?

Yes, if the HEIC itself has an alpha channel. Photos taken with the iPhone camera normally have none, so they come out fully opaque.

Why is the PNG so much larger than the HEIC?

HEIC uses video-grade compression tuned for photographs. PNG compresses without loss, which saves far less on photographic detail. For a smaller file choose the JPG converter.

Does the PNG contain my location?

No. This converter does not write Exif or any other metadata into the PNG, so GPS, camera and timestamp details from the HEIC are not carried over.

Why did the first conversion take a moment?

Browsers other than Safari usually cannot decode HEIC, so a 1.4 MB decoder is loaded once after you choose a file. It runs locally and is verified by a fixed hash before it executes.

Will the picture be rotated correctly?

Yes. The rotation stored in the HEIC is applied to the pixels, so the PNG is upright in every viewer.

Sources

Checked

Runs entirely in your browser. Your files are not uploaded, stored or sent anywhere.

Advertisement
Advertisement