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

# Convert PNG to WebP API

Convert PNG files or image URLs to WebP. Get binary output or a signed URL for browser-friendly image delivery and storage.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/image/png/webp/url` | What it does Converts a PNG image available at a publicly accessible URL into a WebP image. It retu… | 30 |
| POST | `/convert/image/png/webp/file` | What it does Converts an uploaded PNG image to WebP and returns the resulting file as binary data.… | 30 |
| POST | `/convert/image/png/webp/file/url` | What it does Converts a PNG image uploaded as multipart form data into a WebP file and returns a UR… | 30 |
| POST | `/convert/image/png/webp/url/file` | What it does Converts a publicly accessible PNG image at the provided URL into a WebP file and retu… | 30 |

## About

## What it does
PNG to WebP Converter turns a PNG image into a WebP file. Send either a publicly accessible PNG URL or a PNG file upload, and get back either a binary WebP download or a signed URL, depending on the endpoint you choose.

Use the URL-based endpoints when your source image already lives on the web. `POST /url/link` returns a `data` field containing a URI for the converted file, while `POST /url/download` returns the converted file as binary content. If you already have the image in your request, `POST /multi-part/link` accepts a binary `image` and returns a `data` URI, and `POST /multi-part/download` returns binary WebP output.

This is useful for image optimization workflows where you need smaller, web-friendly assets without changing the source pipeline. For example, you can convert product images, thumbnails, or uploaded PNGs to WebP before storing them in your CDN or serving them to browsers.

The request schemas are minimal: the URL endpoints require `url`, and the multipart endpoints require `image`. Each endpoint also accepts an optional `output` query parameter.

## Usage

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