---
title: Convert WebP to PNG API
slug: webp-to-png-conversion
url: https://apyhub.com/apyhub/service/webp-to-png-conversion
provider: ApyHub
categories: [File Conversion]
tags: [webp-conversion, png-conversion, image-transformation, image-format, file-conversion]
auth: api_key
version: 1.0
service_type: sync
endpoints: 4
atoms: 30
mcp: true
---

# Convert WebP to PNG API

Convert WebP images to PNG from file uploads or image URLs. Download the PNG directly or get a signed URL for the converted file.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/download` | What it does Converts an uploaded WebP file to PNG and returns the converted file as binary content… | 30 |
| POST | `https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/link` | What it does Uploads a WebP file as multipart form data, converts it to PNG, and returns a signed U… | 30 |
| POST | `https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/url/download` | What it does Converts a WebP image fetched from a public URL into a PNG file and returns the result… | 30 |
| POST | `https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/url/link` | What it does Fetches a WebP image from a public URL, converts it to PNG, and returns a JSON object… | 30 |

## Endpoint reference

### Convert WebP to PNG (multipart upload, download file)

`POST https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/download` · 30 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes |  |
| `output` | query | string | no | Example: `my-invite`. |

#### Quickstart

Upload a WebP file and optionally name the download via `output`.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/download?output=my-invite" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.webp"
```

#### What you'll get back

Returns a binary file (`string` with `format: binary`) containing the converted PNG output. Since the response is binary, there is no JSON object to sample here.

### Convert WebP to PNG (multipart upload, return signed URL)

`POST https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/link` · 30 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes |  |
| `output` | query | string | no | Example: `my-invite`. |

#### Quickstart

Upload a WEBP file to convert it to PNG, and optionally name the output via the `output` query parameter.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/multi-part/link?output=my-invite" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.webp"
```

#### What you'll get back

Returns a JSON object with a `data` string field containing the resulting file URI.

```json
{
  "data": "https://apyhub-outgoing.s3.eu-west-1.amazonaws.com/mono-go/image-processor/general/image_2026-08-07_a49e3037.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARJOHWS6LWTUUGYPI%2F20260807%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20260807T123841Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-content-disposition=inline&response-content-type=image%2Fpng&X-Amz-Signature=0af6a52eb5b6988238714ec9b6642783958e664bc3d0bffa061d02719fc147b1"
}
```

### Convert WebP to PNG (fetch by URL, download file)

`POST https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/url/download` · 30 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Publicly accessible URL of the WebP image to convert. Example: `https://assets.apyhub.com/samples/sample.webp`. |
| `output` | query | string | no | Example: `my-invite`. |

#### Quickstart

Convert a public WebP image URL to PNG by sending the image URL in the JSON body.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/url/download?output=my-invite" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.webp"}'
```

#### What you'll get back

Returns a binary file containing the converted PNG image.

### Convert WebP to PNG (fetch by URL, return signed URL)

`POST https://api.eu.apyhub.com/apyhub/webp-to-png-conversion/url/link` · 30 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Publicly accessible URL of the WebP image to convert. Example: `https://assets.apyhub.com/samples/sample.webp`. |
| `output` | query | string | no | Example: `my-invite`. |

#### Quickstart

Convert a public WebP image URL to PNG by sending its URL in the JSON body.

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

#### What you'll get back

Returns a JSON object with a `data` string field containing the PNG file URL.

```json
{
  "data": "https://apyhub-outgoing.s3.eu-west-1.amazonaws.com/mono-go/image-processor/general/image_2026-08-07_9203c793.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARJOHWS6LWTUUGYPI%2F20260807%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20260807T123933Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-content-disposition=inline&response-content-type=image%2Fpng&X-Amz-Signature=7795ee3653b3b30f79b8b2c3ba48568fb8a5c300076cbc4442a35163e243e125"
}
```

## About

## What it does
WebP to PNG Converter turns a WebP image into a PNG, either from a multipart file upload or from a publicly accessible image URL. You can choose to download the converted file directly or receive a signed URL in the response.

Use the multipart endpoints when you already have the image in your request body: send `file`, and optionally set `output` as a query parameter. Use the URL endpoints when the source image is already hosted elsewhere: send `url` in the body, plus the optional `output` query parameter. The download endpoints return binary PNG data. The link endpoints return an object with a `data` field containing a URI.

This is a fit for image pipelines that need PNG output for browser compatibility, design tooling, or downstream processing that does not handle WebP reliably. It is also useful when you need to convert remote assets without downloading and re-uploading them yourself.

## 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/webp-to-png-conversion
