---
title: Convert HEIC to JPEG/PNG API
slug: convert-heic-heif-to-jpeg-or-png
url: https://apyhub.com/apyhub/service/convert-heic-heif-to-jpeg-or-png
provider: ApyHub
categories: [Media Kit]
tags: [heic, png, jpeg, images]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 4
atoms: 300
mcp: true
alias: image-converter-heic-jpeg-png
---

# Convert HEIC to JPEG/PNG API

HEIC to JPG API: convert iPhone HEIC and HEIF photos to JPG or PNG from an upload or URL, returned as a file or signed link. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/download` | What it does Converts an uploaded HEIC/HEIF image to a downloadable JPEG or PNG file. The converted… | 300 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/link` | What it does Uploads a HEIC/HEIF image as multipart form data and returns a signed URL pointing to… | 300 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/download` | What it does Converts a HEIC/HEIF image fetched from a public URL into a downloadable JPEG or PNG f… | 300 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/link` | What it does Converts a HEIC/HEIF image fetched from a public URL into a JPEG or PNG and returns a… | 300 |

## Endpoint reference

### Convert HEIC/HEIF to JPEG or PNG (multipart upload, download file)

`POST https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/download` · 300 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `image` | body | string (binary) | yes | HEIC/HEIF file to convert. |
| `output` | query | string | no | Example: `my-image.png`. |

#### Quickstart

Upload a HEIC/HEIF image to convert it and receive the converted file in response.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/download" \
  -H "apy-token: $APY_TOKEN" \
  -F "image=@/path/to/image.heic"
```

#### What you'll get back

Returns a binary file not a JSON object.

### Convert HEIC/HEIF to JPEG or PNG (multipart upload, return signed URL)

`POST https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/link` · 300 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `image` | body | string (binary) | yes | HEIC/HEIF file to convert. |
| `output` | query | string | no | Example: `my-image.png`. |

#### Quickstart

Upload a single HEIC/HEIF image and get back a signed URL for the converted file.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/multi-part/link" \
  -H "apy-token: $APY_TOKEN" \
  -F "image=@/path/to/image.heic"
```

#### What you'll get back

Returns a JSON object with a `data` string field — a signed URL for the converted image.

```json
{
  "data": "https://..."
}
```

### Convert HEIC/HEIF to JPEG or PNG (fetch by URL, download file)

`POST https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/download` · 300 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | URL of the HEIC/HEIF image to convert. Example: `https://assets.apyhub.com/samples/sample.heic`. |
| `output` | query | string | no | Example: `my-image.png`. |

#### Quickstart

Convert a public HEIC/HEIF image by sending its URL in the JSON body.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.heic"}'
```

#### What you'll get back

Returns a binary file response which is the converted image content.

### Convert HEIC/HEIF to JPEG or PNG (fetch by URL, return signed URL)

`POST https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/link` · 300 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | URL of the HEIC/HEIF image to convert. Example: `https://assets.apyhub.com/samples/sample.heic`. |
| `output` | query | string | no | Example: `my-image.png`. |

#### Quickstart

Convert a HEIC/HEIF image from a public URL and get back a signed URL for the converted file.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-heic-heif-to-jpeg-or-png/url/link" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.heic"}'
```

#### What you'll get back

Returns a JSON object with a `data` string field — a signed URL of the converted image.

```json
{
  "data": "https://..."
}
```

## About

## What it does
The HEIC to JPG API converts HEIC and HEIF images, the default photo format on iPhones, into JPG or PNG. Upload the file as `image` with the multipart endpoints (up to 100 MB), or send a public `url` and let the API fetch it. Get the result back as a binary download from `/download`, or as a signed URL in the `data` field from `/link`.

Output is JPG by default. To get a PNG, set the `output` query parameter to a filename ending in `.png`, such as `photo.png`. The same parameter sets the name of the returned file. Signed links expire after 15 minutes, so download or store the image if you need it longer.

Use the HEIC to JPG API to accept iPhone photos in upload forms, normalize images in a CMS or asset pipeline, show HEIC uploads in browsers that can't display them, or convert HEIF files to PNG for design tools. It handles HEIC to JPG and HEIC to PNG conversion on the server, so you can skip native image libraries in your stack.

Shrink the converted photos with the [Image Compression API](https://apyhub.com/apyhub/service/compress-images), turn them into web-ready files with the [JPEG to WebP API](https://apyhub.com/apyhub/service/convert-jpeg-to-webp), or combine them into a document with the [Image to PDF API](https://apyhub.com/apyhub/service/convert-image-to-pdf).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-heic-heif-to-jpeg-or-png
