Testing

APNG: Browser Support, Features, Use Cases

APNG works in Chrome 59+, Edge 79+, Firefox 3+, Safari 8+, Opera 46+, and Samsung Internet 7.2+. Learn APNG browser support, features, and known issues.

Author

Prince Dewani

May 1, 2026

APNG (Animated Portable Network Graphics) extends the PNG file format with multi-frame animation, 24-bit color, and full alpha transparency. It works in Chrome 59+, Edge 79+, Firefox 3+, Safari 8+, Opera 46+, and Samsung Internet 7.2+, while Internet Explorer and the legacy non-Chromium Edge never supported it.

This guide covers what APNG is, the browsers that support it, the key features, how APNG compares to GIF and WebP, the production use cases, and the known issues.

What is APNG?

APNG extends the W3C Portable Network Graphics (PNG) standard with multi-frame animation. Mozilla engineers Stuart Parmenter and Vladimir Vukićević created the format to add animated UI graphics to the web. APNG adds three chunks to a base PNG and falls back to the first frame in any decoder without animation support.

Which browsers does APNG support?

APNG works in every modern browser, including Chrome, Edge, Firefox, Safari on macOS and iOS, Opera, and Samsung Internet. Internet Explorer and the legacy EdgeHTML browser never added native APNG support and only display the first frame.

Loading browser compatibility data...

APNG compatibility in Chrome

Chrome supports APNG from Chrome 59 on Windows, macOS, Linux, ChromeOS, and Android. Chrome 1 to 58 did not play APNG animations and rendered only the first frame as a static PNG. Once enabled, APNG plays through the standard <img> tag with no flag, no extension, and no JavaScript decoder.

APNG compatibility in Edge

Microsoft Edge supports APNG from Edge 79 on Windows, macOS, and Linux, the first Chromium-based release. Legacy EdgeHTML versions (Edge 12 to 44) and Edge Mobile never added native APNG support. Microsoft tracked APNG as a community feature request in the Edge Developer issues board until the Chromium switch closed the gap.

APNG compatibility in Firefox

Firefox supports APNG from Firefox 3 on Windows, macOS, Linux, and Android, the first major browser to ship the format. Mozilla engineers built APNG, so every Firefox release since version 3 plays APNG through the standard <img> tag without flags or extensions. Firefox for Android inherits the same support across the GeckoView line.

APNG compatibility in Safari

Safari supports APNG from Safari 8 on macOS and iOS, the same release that landed the WebKit animated PNG renderer. Apple uses APNG inside iMessage for animated stickers, so the format is part of the iOS image pipeline. Safari 3 to 7 on macOS and iOS 3 to 7 only display the first frame.

APNG compatibility in Opera

Opera supports APNG from Opera 46 on Windows, macOS, and Linux, the first Chromium-based Opera release with native APNG. The legacy Presto-based Opera (versions 9.5 to 12.1) also supported APNG, but Opera 15 to 45 dropped it during the Chromium transition. Opera Mini does not support APNG on any version.

APNG compatibility in Samsung Internet

Samsung Internet supports APNG from version 7.2 on Galaxy phones and tablets. The browser is built on Chromium, so it inherits Chrome's APNG renderer and plays APNG animations through the standard <img> tag. Samsung Internet versions 1 to 7.0 only display the first frame.

APNG compatibility in Android Browser

Chrome for Android supports APNG from Chrome 59, the same release as desktop Chrome. The legacy stock Android Browser shipped on Android 4.3 and earlier never added APNG support and shows only the first frame. On modern Android phones, use Chrome, Firefox for Android, or Samsung Internet for APNG playback.

APNG compatibility in Internet Explorer

Internet Explorer never supported APNG in any version from IE 5.5 through IE 11. Microsoft tracked APNG as a feature request for years but never shipped a renderer. Anyone visiting an APNG page in IE sees only the first frame, since IE treats the file as a regular static PNG and ignores the animation chunks.

Note

Note: APNG breaks across older Safari, iOS 7, and Internet Explorer. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!

What are the key features of APNG?

APNG offers six features that set it apart from regular PNG and animated GIF: multi-frame animation, full color depth, alpha transparency, lossless compression, backward compatibility, and a stable MIME type. Together, they let teams ship sharp animated graphics without the color banding or jagged edges that GIF produces.

  • Multi-frame animation: APNG stores multiple frames in a single .apng or .png file using three chunks (acTL, fcTL, and fdAT). Each frame can have its own delay, position, and disposal mode.
  • 24-bit color: APNG supports the full RGB color space with 16.7 million colors, while GIF caps out at 256 colors per frame. The wider palette removes the need for dithering.
  • 8-bit alpha transparency: APNG encodes per-pixel opacity for smooth, anti-aliased edges and partial transparency. GIF only supports binary on or off transparency.
  • Lossless compression: APNG uses the same DEFLATE compression as PNG, so re-saving an APNG never degrades quality. Optimizers like Zopfli squeeze APNG further with no quality loss.
  • Backward compatibility: Any PNG decoder that does not understand the APNG chunks renders the first frame as a static PNG, so the file never breaks the page on older browsers.
  • Standard MIME type and extension: The MIME type is image/apng and the file extension is .apng or .png. Browsers detect APNG by reading the acTL chunk in the file header.

What is the difference between APNG, GIF, and WebP?

APNG, GIF, and WebP all support animated images on the web, but they differ on color depth, compression, transparency, file size, and browser reach. The table below compares the three formats across the dimensions that matter for shipping animations to production.

DimensionAPNGGIFWebP
Container originExtension of PNG with three new chunks (acTL, fcTL, fdAT)Standalone format from CompuServeStandalone format from Google, based on the VP8 codec
Color depth24-bit RGB, 16.7 million colors8-bit indexed, 256 colors per frame24-bit RGB, 16.7 million colors
TransparencyFull 8-bit alpha channelBinary on or off onlyFull 8-bit alpha channel
CompressionLossless, DEFLATELossless, LZWLossy and lossless
File size at same qualitySmaller than GIF, larger than lossy WebPLargest of the threeSmallest, often 70 to 80 percent smaller than GIF
Browser reachChrome 59+, Edge 79+, Firefox 3+, Safari 8+, Opera 46+, Samsung Internet 7.2+. No IE.Every browser, including IE 5+ and feature phonesChrome 32+, Edge 18+, Firefox 65+, Safari 14+, Opera 19+. Animated WebP needs newer builds.
Best fitLossless logos, UI animations, sticker-style graphics with sharp edgesMaximum compatibility, simple loops, legacy email clientsSmallest payload for modern audiences, large background animations

What are the use cases of APNG?

APNG fits any animation that needs sharp, lossless detail and full alpha transparency on a transparent background. The format pairs well with UI graphics, animated stickers, and short looping animations where image quality matters more than the smallest possible file size.

  • Apple iMessage animated stickers: Apple uses APNG inside iOS for sticker packs in iMessage, since APNG keeps alpha edges clean against any chat background.
  • Discord and Slack custom emoji: Discord and Slack accept APNG as a custom emoji upload format. The lossless quality keeps tiny 32x32 emojis sharp at native size.
  • Browser UI animations: Mozilla originally built APNG for throbbers and progress indicators inside the Firefox interface, and the same use case still applies for in-page UI animations and loading spinners.
  • Animated logos and badges: APNG handles animated logos and product badges where the brand color and alpha edge quality must stay pixel-perfect, with no GIF-style halo around the artwork.
  • Short looping animations: Any short loop that needs more than 256 colors or anti-aliased edges (a particle effect, a glow, a soft fade) fits APNG better than GIF.
  • Animated favicons: Modern browsers use APNG-aware decoders to render animated favicons in browser tabs, so a single APNG file replaces a JavaScript canvas animation.
...

What are the known issues with APNG?

APNG has the broadest reach of any animated image format after GIF, but a few real edge cases still trip up production sites. The biggest hits are missing IE support, larger files than WebP, and gaps in popular image-editing tools.

  • Internet Explorer never supported it: Every IE version (5.5 through 11) treats APNG as a static PNG and shows only the first frame. Sites that target IE need a separate animated GIF or static PNG fallback.
  • Larger files than WebP: APNG's lossless DEFLATE compression produces files about 2 to 3 times larger than the same animation in lossy WebP. For long animations, the file size gap matters on mobile networks.
  • Limited authoring tool support: Photoshop, GIMP, and most desktop image editors do not export APNG by default. Authors usually need APNG Assembler, ezgif, or a Node.js library like apngasm to encode APNG.
  • Older Safari only displays the first frame: Safari 3 to 7 on macOS and iOS 3 to 7 show only the first frame. iPhones still on legacy iOS need a fallback GIF or static PNG.
  • No native HDR or wide-gamut profile: APNG inherits PNG's sRGB-only color profile, so wide-gamut and HDR animations are out of scope. Use AVIF or HEIC for HDR animation work.
  • Frame rate cap: APNG frame delay uses a 1/100 second granularity per the spec, so smooth high-frame-rate animation above 100 fps is not possible inside one APNG file.
  • Larger than equivalent SVG for vector content: For purely vector-style animations, an SVG with SMIL or CSS keyframes ships fewer bytes than APNG. Use APNG only when the source art is raster.

In my experience, the most surprising failure happens with Photoshop's Save for Web. It accepts a multi-frame timeline but exports as a static PNG with no warning, leaving the developer to discover the missing animation only in QA. Always confirm the output file with a tool that reads the acTL chunk before shipping.

...

Citations

All APNG version numbers and platform notes in this guide come from these primary sources:

Author

Prince Dewani is a Community Contributor at TestMu AI, where he manages content strategies around software testing, QA, and test automation. He is certified in Selenium, Cypress, Playwright, Appium, Automation Testing, and KaneAI. Prince has also presented academic research at the international conference PBCON-01. He further specializes in on-page SEO, bridging marketing with core testing technologies. On LinkedIn, he is followed by 4,300+ QA engineers, developers, DevOps experts, tech leaders, and AI-focused practitioners in the global testing community.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Frequently asked questions

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests