When PNG is the right answer
Most people converting an iPhone photo want a JPG, and our HEIC to JPG page is the one for that. This page exists for the other case: the image is going into work rather than into a photo album.
Choose PNG when the file is heading for a design tool, when it will be edited and re-exported several times, when it needs to sit on a transparent background, or when something in your pipeline refuses compressed input. In all of those, a lossless intermediate saves you from stacking JPEG artifacts every time you save.
Choose JPG for anything that is simply a photograph on its way somewhere. If you came here to convert HEIC to PNG for a phone camera roll, JPG is almost certainly what you actually want.
What lossless actually buys you
Not quality. This is the part that catches people out. A HEIC file is already lossy: it stores its pixels as an HEVC frame, and whatever that encoder discarded is gone before this page ever sees the file. PNG preserves exactly what the HEIC decodes to, artifacts included.
So the PNG is a faithful copy, not an improved one. What it gives you is a stopping point. From here nothing further is lost, however many times you crop, adjust and re-save.
The size, which is the real cost
Expect five to ten times the original. A 2 MB HEIC routinely becomes a 10 to 20 MB PNG. That is because PNG spends its bytes on exactness while HEIC got small by throwing away detail nobody would notice, and photographs are the worst case for lossless compression: there is almost no flat colour for it to exploit.
For a graphic with large areas of solid colour the ratio is far kinder. For a beach photo it is not.
What comes through
The primary image, at full resolution, correctly rotated, with any alpha channel intact. Live Photo motion, portrait-mode depth maps and HDR gain maps are not carried over, because PNG has nowhere to store them.
Everything runs on your own device. The decoder is libheif compiled to WebAssembly, downloaded once and then cached, and it works in a background thread so the page stays responsive while a batch of full-resolution photos goes through.