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
- Each file is checked for a genuine HEIC or HEIF brand in its header before any decoder runs.
- 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.
- 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.
- 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
- Preserved: the pixel dimensions, the upright orientation (the rotation is applied to the pixels), and an alpha channel if the HEIC has one. iPhone camera photos normally do not.
- Not written: Exif. This converter writes no metadata chunks, so GPS location, camera model and capture time are not in the PNG. If you need the date to survive, convert to JPG with the Exif option instead.
- Not 16-bit: the PNG is 8 bits per channel. HDR and 10-bit detail in the original is reduced to 8-bit.
- Colour profile: on the built-in decoder path the output is plain sRGB without applying the HEIC's Display P3 profile, so some colours may look a little flatter. Native Safari decoding is colour managed.
Common mistakes
- Expecting a PNG to improve a photo. It cannot restore detail the HEIC compression already removed.
- Converting hundreds of megabytes at once. The limit is 40 files, 25 MB and 50 megapixels each, to keep the browser responsive.
- Assuming a screenshot saved as HEIC is a photo. Screenshots are better as PNG, and this tool is a quick way to get there.
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
- Library of Congress: HEIF format description — describes the HEIF container (MPEG-H Part 12) that HEIC files use (retrieved 2026-10)
- W3C: Portable Network Graphics (PNG) Specification, Third Edition — PNG is lossless and carries 8-bit RGBA, which is what the PNG output uses (retrieved 2026-10)
- MDN: HTMLCanvasElement.toBlob() — how the canvas encodes JPEG with a 0 to 1 quality value and PNG losslessly (retrieved 2026-10)
- MDN: createImageBitmap() — the browser-native decode path and its imageOrientation option (retrieved 2026-10)
- libheif (strukturag) — the open-source HEIF/HEIC decoder used when your browser cannot decode HEIC itself; LGPL-3.0; source code (retrieved 2026-10)
- libheif-js — the unmodified WebAssembly build of libheif (version 1.19.8) that this page loads on demand (retrieved 2026-10)
- GNU Lesser General Public License v3.0 — licence text for libheif and the decoder bundle (retrieved 2026-10)
- Apple: Capture formats on iPhone, iPad and Mac (HEIF/HEVC and Most Compatible) — confirms iPhones save HEIF by default and can be switched to JPEG with Most Compatible (retrieved 2026-10)
Runs entirely in your browser. Your files are not uploaded, stored or sent anywhere.