APNG to GIF Converter
Turn an animated PNG into a still GIF of its first frame, in your browser.
or drop files here
APNG Format
Animated Portable Network Graphics
An extension of PNG, originally proposed by Mozilla, that stores multiple frames in one file. It keeps PNG's lossless compression and full alpha transparency.
- lossless compression
- alpha transparency
- animation
- backward compatible with PNG viewers
GIF Format
Graphics Interchange Format
A raster image format introduced by CompuServe in 1987. It uses LZW compression, a palette of at most 256 colors per frame, and supports simple animation.
- 256-color palette per frame
- lossless LZW compression
- animation
- 1-bit transparency
How to convert APNG to GIF
Follow these steps to convert APNG to GIF online.
Choose your APNG file, or several at once.
Wait while the converter turns each file into GIF.
Download each new GIF file. Your original file isn't changed.
Related Tools
ARW to GIF
Convert ARW images to GIF format
BMP to GIF
Convert BMP images to GIF format
CR2 to GIF
Convert CR2 images to GIF format
CUR to GIF
Convert CUR images to GIF format
DIVX to GIF
Convert DIVX files to GIF format
DNG to GIF
Convert DNG images to GIF format
FLV to GIF
Convert FLV files to GIF format
HEVC to GIF
Convert HEVC files to GIF format
HTML to GIF
Convert HTML to GIF: a picture of the page, 1280 px wide. External images and stylesheets aren't loaded, and scripts don't run.
JPG to GIF
Convert JPG images to GIF format
M2TS to GIF
Convert M2TS files to GIF format
M4V to GIF
Convert M4V files to GIF format
MAC to GIF
Convert MAC to GIF format
MJPEG to GIF
Convert MJPEG files to GIF format
MKV to GIF
Convert MKV video to animated GIF
MPEG to GIF
Convert MPEG files to GIF format
MPEG2 to GIF
Convert MPEG2 files to GIF format
MPG to GIF
Convert MPG files to GIF format
MTS to GIF
Convert MTS files to GIF format
OGV to GIF
Convert OGV files to GIF format
RMVB to GIF
Convert RMVB files to GIF format
SWF to GIF
Convert SWF files to GIF format
TS to GIF
Convert TS files to GIF format
VOB to GIF
Convert VOB files to GIF format
What to know before converting APNG to GIF
- Only the first frame is converted. The GIF is a still picture, not an animation.
- A GIF frame holds at most 256 colors, so gradients can band.
- GIF has no partial transparency, so soft alpha edges cannot stay soft.
- EXIF, ICC profiles and XMP are not copied.
- For an animated GIF, use apng2gif, FFmpeg or ImageMagick.
About APNG files
What is an APNG file?
APNG stands for Animated Portable Network Graphics. Mozilla introduced it as an animated extension of PNG. Each frame is compressed without loss and can carry full color and an alpha channel. Animation control and frame control chunks tell a player how often to repeat, how long to show each frame and how to compose it. The W3C's third edition of the PNG specification, published in June 2025, includes animation.
An APNG can end in .apng or in .png, which is why people often do not know they have one. The PNG specification defines image/apng as its media type. People use the format for animated stickers and graphics, and for animations that need smooth transparency.
A decoder that does not process animation can show the default PNG image instead. That keeps an APNG visible in a plain viewer, and it also means a file cannot be told apart from an ordinary PNG by its name alone.
Programs that open APNG files
Windows, Mac, Linux and Web
- Firefox: plays animated PNG. Mozilla lists support from Firefox 3.
Windows, Mac and Linux desktops
- XnView MP: lists APNG among the animated formats it opens.
Web
- Chrome: displays APNG in web content, with support listed from Chrome 59.
Mobile
- Safari: Mozilla lists support from Safari 8.
- Mozilla's Firefox for Android: plays APNG in web pages.
APNG and GIF compared
- Extensions and media types: .apng or .png with image/apng, against .gif with image/gif.
- Color: APNG carries full color. Each GIF frame draws from a palette capped at 256 entries.
- Transparency: APNG has a full alpha channel. GIF has a single transparent color with no partial opacity.
- Compression: both are lossless, but GIF compresses its palette image with LZW. CompuServe introduced it in 1987.
- Animation: both can animate, and GIF's animation is simple.
On this page the difference goes one step further. The browser decoder gives the page one frame, so the result is a still GIF of your first frame, with the colors reduced to a palette. The motion stays in the APNG.
The path is short. Your browser decodes the file into 8-bit RGBA pixels, the page hands those to ImageMagick, and ImageMagick writes the GIF. Nothing is uploaded. If your browser has no decoder for the file, the page says it cannot open it. What you download starts with your APNG's name and ends in .gif. The APNG itself stays as it was. Several APNGs chosen together each become a separate GIF.
Other ways to convert APNG to GIF
- apng2gif (command line): run apng2gif.exe anim.png anim.gif on Windows, or use the installed program name elsewhere. It keeps the source delays and loop count, and the -t threshold and -b background options handle partial transparency.
- FFmpeg (command line): run ffmpeg -i input.apng output.gif. It reads the frame sequence and writes an animated GIF.
- ImageMagick (command line): run magick apng:input.apng output.gif. The apng: prefix names the input format, and ImageMagick's format list says that reading it needs FFmpeg installed.
All three aim at an animated GIF, unlike this page. Check the result, since a GIF palette may change colors that looked smooth in the APNG.
If a still is all you need, such as a preview image or a poster frame, this page does that job in one step and costs nothing. If you need the motion, one of the three tools above is the better choice.
Problems with APNG files
- It looks like a still image: a viewer that does not process animation shows the default PNG image. Open the file in Firefox or Chrome to see the motion.
- The still does not match the first frame: the default image is not required to belong to the animation, so a plain PNG viewer may show a different picture.
- Leftovers from earlier frames: wrong blend or disposal handling can leave remnants of earlier frames in an animation. Try another viewer.
- The file is invalid: wrong frame sequence numbers signal an invalid APNG stream, and a tool may refuse it.
- A decode error appears: the page could not read the file. Download it again or export it again from the source.
- The page says the browser cannot open the file: your browser has no decoder for it. Try a current Chrome, Edge, Firefox or Safari.
Frequently Asked Questions
Everything you need to know about our converter
Will the GIF be animated?
Why do I get only one frame?
How can I make an animated GIF from an APNG?
What happens to the colors?
What happens to soft, semi-transparent edges?
How do I tell whether a PNG is animated?
Is the metadata copied over?
Can I turn several APNGs into GIFs at once?
What does the Image decode failed message mean?
Does my APNG leave my computer?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.