---
title: Convert PNG to WebP API
slug: convert-png-to-webp
url: https://apyhub.com/apyhub/service/convert-png-to-webp
provider: ApyHub
categories: [File Conversion]
tags: [conversion, images, png, webp]
auth: api_key
---

# Convert PNG to WebP API

Convert PNG images to WebP from an upload or a URL. Get a binary file or a signed result link for web delivery and asset pipelines.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/image/png/webp/file` | What it does Converts an uploaded PNG image to WebP and returns the converted file as a binary resp… | 30 |
| POST | `/convert/image/png/webp/file/url` | What it does Converts an uploaded PNG image to WebP using a multipart request and returns a JSON ob… | 30 |
| POST | `/convert/image/png/webp/url/file` | What it does Converts a PNG image from a publicly accessible URL into a WebP file and returns the c… | 30 |
| POST | `/convert/image/png/webp/url` | What it does Converts a PNG image from a publicly accessible URL into WebP format. The response ret… | 30 |

## About

## What it does
PNG to WebP Converter turns PNG images into WebP files from either an uploaded binary image or a publicly accessible PNG URL. You can receive the converted image as a binary download or as a signed URL, depending on the endpoint you choose.

Send a PNG file in the `image` field for multipart requests, or send a source PNG `url` for URL-based requests. In both flows, the optional `output` query parameter lets you set the output name. The service returns either a WebP binary response or an object containing a `data` URI, so it fits both direct download workflows and systems that need a hosted result link.

Use PNG to WebP Converter when you need smaller image files for web delivery, asset pipelines, or automated media processing. It is a straightforward format conversion service: provide the source image, get WebP back, and move the result into your storage or application flow.

## Usage

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