🧩

GIF to APNG

Convert an animated GIF to animated PNG.

GET 1 credit /v1/convert/gif-to-apng
curl -OJ "https://convert.toolkitapi.io/v1/convert/gif-to-apng?url=https://toolkitapi.io/animated.gif"
import httpx

resp = httpx.get(
    "https://convert.toolkitapi.io/v1/convert/gif-to-apng?url=https://toolkitapi.io/animated.gif",
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/v1/convert/gif-to-apng?url=https://toolkitapi.io/animated.gif", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
Binary APNG file streamed as a download (Content-Type: image/apng)

Description

Convert an animated GIF to animated PNG.

How to Use

1

1. GET this endpoint with the GIF `url`.

2

2. Save the streamed APNG.

About This Tool

Converts an animated GIF into an animated PNG (APNG). APNG supports 24-bit color and full alpha, so converting up from GIF generally produces a smoother-looking animation — though file size may increase.

Per-frame delays are preserved. The output uses PNG extensions that are understood by modern browsers.

Why Use This Tool

Frequently Asked Questions

Will older browsers display the result?
Modern browsers (Chrome, Firefox, Safari, Edge) support APNG. Very old browsers will show only the first frame.
Is file size better?
Usually larger than GIF due to 24-bit color and full alpha. Use WebP for smallest animated payloads.
Is frame timing preserved?
Yes — per-frame delays carry over.

Start using GIF to APNG now

Get your free API key and make your first request in under a minute.