What is APNG?
APNG (Animated Portable Network Graphics) was created by Stuart Parmenter and Vladimir Vukićević at Mozilla in 2004 as an extension to the PNG format. The specification adds three new chunks to the PNG file format: acTL (Animation Control Chunk) — number of frames and loops. fcTL (Frame Control Chunk) — per-frame delay, position, and disposal method. fdAT (Frame Data Chunk) — compressed image data for each frame. APNG is designed to be backward-compatible with PNG: a software that doesn't understand APNG will display the first frame of the animation as a static PNG (unlike GIF, where non-animated GIF displays fine but animated GIF in an unsupported viewer shows a broken image). APNG uses the same DEFLATE compression as PNG for each frame. This means APNG files are significantly larger than GIF for the same animation length, but with much higher quality. APNG supports: full 24-bit RGB colour (16.7 million colours vs GIF's 256), true transparency with full alpha channel (vs GIF's binary transparency), lossless compression per frame, and arbitrary frame timing. Browser support: Chrome (since 2017), Firefox (since 2007), Safari (since 2014), Edge (since 2017). Internet Explorer never supported APNG. Android (since Android 9). iOS (since iOS 8 via Safari). Server-side: most image processing libraries support APNG.
APNG pros and cons
Advantages
- Full 24-bit colour (no 256-colour palette limit like GIF)
- True alpha transparency with smooth edges
- Lossless compression per frame
- Backward-compatible with PNG viewers (shows first frame)
- Universal browser support (Chrome, Firefox, Safari, Edge)
- Better quality than GIF at similar file sizes for colourful animations
Limitations
- Larger file sizes than GIF for simple animations
- No hardware acceleration for decoding (unlike video formats)
- Not supported in Internet Explorer
- Less universal than GIF in non-browser contexts
- Large APNG files can cause performance issues (no hardware video decode)
- Lossy WebP animation often achieves better compression for complex animations
When should you convert APNG files?
Use APNG for animated graphics on websites where you need better-than-GIF quality: animated icons, stickers, simple animated illustrations, and any animated content with transparency. Convert from GIF to APNG for better quality at similar file size. For animated photos or video-like content: use video (MP4 or WebM) or animated WebP instead — they achieve much better compression. Convert from APNG to WebP animation if you need the smallest possible file size for animated content with lossy quality acceptable.
Convert APNG files
All FormatDrop conversions run entirely in your browser — no file upload, no server processing. Your files stay on your device.
APNG FAQ
Is APNG better than GIF?
Can I use APNG in email?
How do I create an APNG?
More formats