🖼️

Animated PNG to GIF Converter

Convert a static or animated PNG (APNG) into an animated GIF online — set output width, FPS, and capture duration with private in-browser processing using the gifenc encoder, no upload required.

Animated PNG to GIF Converter

Convert a static or animated PNG (APNG) into an animated GIF right in your browser — no upload, no account, no server required. APNG supports full color and alpha transparency, while GIF is universally supported across every email client, messaging app, and social platform. To convert an animated WebP instead, use the WebP to Animated GIF Converter. To build a GIF from scratch, try the Animated GIF Maker. Or explore the full GIF Maker category.

Upload PNG / APNG

Choose, paste, or drag and drop a PNG or APNG file here:

No file chosen

or drag & drop · or paste (Ctrl+V)

Direct .png or .apng links only. If the server blocks CORS, download and upload above.

PNG and APNG files (static or animated)

Max file size: 50 MB

All processing happens in your browser — nothing is uploaded to any server.

Export settings

GIF

Output estimate

Resolution480 × 480 px
FPS10
Duration5 s
Total frames50
FormatAnimated GIF

GIF result

Your converted GIF will appear here after conversion.

What this tool does

This Animated PNG to GIF converter turns any PNG or APNG image into an animated GIF file entirely inside your browser — no server upload, no account, no waiting. APNG (Animated Portable Network Graphics) is the modern successor to GIF, offering full 24-bit color, 8-bit alpha transparency, and precise per-frame timing. GIF remains the universal animated image format — supported by every email client, social media platform, messaging app, and browser on earth.

Common use cases include converting APNG stickers into GIF for sharing in apps that do not support APNG, embedding animations in older email templates, or producing a simpler GIF from an APNG banner. For converting animated WebP instead, use the WebP to Animated GIF Converter. To build a GIF from individual frames, use the Animated GIF Maker.

How it works

After loading the PNG/APNG file as a browser image element, the tool samples the rendered image at your chosen FPS by drawing it to a hidden Canvas at regular time intervals using setTimeout. For animated APNG files the browser plays the animation natively and the tool captures each frame as a pixel snapshot. Each snapshot is colour-quantized to a 256-entry palette using gifenc's perceptual quantizer and written into the GIF byte stream.

Once all frames are encoded, the finished GIF is assembled in memory and made available for instant download — the file never leaves your device. To control output quality and size, adjust the output width, FPS, and capture duration before converting. Lower FPS = fewer frames = smaller file; lower width = smaller pixels = smaller file.

Worked example

Suppose you have a 2-second animated APNG sticker (180 KB) you want to share in a chat app that only accepts GIF. Upload it — the preview shows the animation playing. Set the output width to 320 px, FPS to 12, and duration to 2 seconds. The output estimate shows 24 frames at about 83 ms per frame. Click Convert — the tool captures those 24 frames, quantizes each to 256 colors, and assembles the GIF. Typical result: a 300–600 KB animated GIF that works in every app.

For a web banner APNG you want to embed in an email campaign, leave width at 480 px, set FPS to 10, and capture duration to 3 seconds — producing 30 frames. If the result is too large, halve the width to 240 px and the file size drops by roughly 75 %. GIF compression is most efficient for flat-color graphics with few unique colors per row.

Frequently asked questions

Does this tool upload my PNG to a server?

No. All conversion happens entirely in your browser using the Canvas API and the gifenc encoder. Your file is never sent to any server — the GIF is built locally and downloaded directly to your device.

What is an APNG (Animated PNG)?

APNG is an extension of the PNG format that supports multi-frame animation. It was developed as a successor to GIF and supports 24-bit color, alpha transparency, and smooth frame timing. Most modern browsers (Chrome, Firefox, Safari, Edge) display APNG natively.

Does this work with regular (non-animated) PNG files?

Yes. A static PNG produces a single-frame GIF that plays as a still image and is a valid .gif file openable in any browser, email client, or image viewer.

Why does the GIF look different from the original APNG?

GIF supports a maximum of 256 colors per frame with no true alpha transparency. APNG supports full 24-bit color and 8-bit alpha. Gradients, soft edges, and highly detailed images will look posterized in the output GIF — this is a fundamental limitation of the GIF format, not a defect in the tool.

How do I set the right FPS and duration?

Match the FPS and duration to your APNG animation. For example, if your APNG is 2 seconds long and plays at roughly 15 FPS, set FPS to 15 and duration to 2 seconds. If you are unsure, start with 10 FPS and 3–5 seconds — that works well for most short animations.

Why is the output GIF so large?

GIF uses LZW lossless compression on top of a 256-color palette — it compresses well for flat graphics but poorly for photographic or complex images. Reduce the output width or lower the FPS and capture duration to produce a smaller file.

Can I load a PNG from a URL?

Yes. Paste a direct link to a .png or .apng file and click Load PNG. If the server blocks cross-origin requests (CORS), the browser cannot fetch it — download the file manually and upload it directly instead.

Related tools

Continue your GIF and animation workflow with these tools.

Explore the full GIF Maker category, or browse Image Converter and Image Resize & Compression Tools for more image utilities.

Explore This Tool in Context

Animated PNG to GIF Converter is part of the GIF Maker collection. If you want a broader view of similar workflows, open the GIF Maker category page or browse all QuickTools categories.

Common next steps after this tool include Video to GIF Converter, Animated GIF Maker and GIF to MP4 Converter.

More in GIF Maker

View category hub →