HEIC to PNG
Convert HEIC/HEIF images (iPhone photos) to PNG.
GET
1 credit
/v1/convert/heic-to-png
curl -OJ "https://convert.toolkitapi.io/v1/convert/heic-to-png?url=https://toolkitapi.io/photo.heic"
import httpx
resp = httpx.get(
"https://convert.toolkitapi.io/v1/convert/heic-to-png?url=https://toolkitapi.io/photo.heic",
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/v1/convert/heic-to-png?url=https://toolkitapi.io/photo.heic", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response
200 OK
Binary PNG file streamed as a download (Content-Type: image/png)
Description
Convert HEIC/HEIF images (iPhone photos) to PNG.
How to Use
1
1. GET this endpoint with the HEIC `url`.
2
2. Save the streamed PNG.
About This Tool
Converts HEIC/HEIF images — the format iPhones use by default — into PNG. HEIC offers excellent compression but isn't universally supported; PNG works everywhere.
Metadata (EXIF, orientation) is preserved, and the image is auto-rotated according to its orientation tag so the output looks correct without further processing.
Why Use This Tool
- Web uploads — Normalize iPhone uploads so all users see consistent images
- Email — Share iPhone photos with recipients whose clients don't support HEIC
- Archival — Store photos in a widely-supported format for the long term
- Printing — Many print services don't accept HEIC; convert first
Frequently Asked Questions
Is EXIF preserved?
Yes — EXIF metadata, including date/time and camera info, is retained in the output PNG.
What about Live Photos?
Only the still-image component is converted. The motion portion is discarded.
Are HEIC collections (bursts, albums) supported?
No — only a single-image HEIC file is supported per call.
Start using HEIC to PNG now
Get your free API key and make your first request in under a minute.