Convert

GIF to APNG

Details

How to use GIF to APNG

What the tool does, how to run it, and what to expect from the result.

What converting a GIF to APNG gets you

A GIF is limited to 256 colors per frame and to one fully transparent palette index. That is why gradients band, why soft shadows go blocky, and why a GIF with transparency shows a hard halo when it sits on a background it was not flattened for. APNG has neither limit. It stores full 24-bit color and a genuine 8-bit alpha channel, so a pixel can be half transparent instead of only on or off.

The conversion runs locally. The GIF is decoded frame by frame in your browser, passed through a scaler, and written back out as an animated PNG with the alpha channel intact. Nothing is uploaded, so a private capture stays private and a large GIF costs no upload time.

Support is the honest tradeoff. Every current desktop and mobile browser animates APNG without a plugin, which covers websites, docs sites, and web apps. Many email clients, forums, and older chat apps do not, and will show only the first frame as a still PNG. APNG is a format for the web, not a universal delivery format.

  • Choose one GIF or drop it on the page
  • Set the output width, and lower the frame rate if you want a smaller file
  • Convert locally and download the APNG

What the conversion preserves and what it cannot restore

Be clear about the direction of the gain. Converting an existing GIF cannot bring back colors the GIF already discarded. Banding that was baked in when the GIF was created stays baked in, because the converter faithfully carries across the 256-color frames it was handed. What you gain is everything after this point: the APNG survives further editing, compositing, and re-saving without a palette ceiling degrading it again.

The conversion is a re-encode, not a byte copy. Each frame is passed through the scaler with Lanczos resampling, and the output width and height are rounded to the nearest even number. If you leave the width at the source width and the source dimensions are already even, the result is visually identical frame for frame. An odd-width GIF loses or pads a single pixel column, which nobody will notice but which is worth stating plainly rather than calling the conversion lossless.

Transparency behaves the same way. APNG can hold partial alpha, but a GIF never had any, so what carries over is the same hard on-or-off transparency the GIF had. The benefit is that any new soft-edge work you do afterwards has somewhere to live.

Controlling file size and frame rate

File size can go either way. PNG compression is far more modern than the LZW compression inside a GIF, which helps, but full-color frames simply carry more data than palette frames, which hurts. Flat illustrations, screen recordings, and line art often shrink. Photographic or gradient-heavy animation usually grows.

Two controls move the number. Output width is the strongest lever, because pixel count scales with the square of the dimension: halving the width roughly quarters the data per frame. The frame rate selector is the second lever, offering 30, 20, or 12 frames per second against keeping the original timing. Screen recordings and UI animation read as smooth at 12 to 20 fps, so dropping the rate on that kind of source is close to free.

The animation loops continuously in the output, matching what a GIF pasted into a page normally does. If you need a smaller file for a chat or an email rather than a web page, keeping the original GIF or exporting an MP4 or WebM instead will usually beat an APNG on both size and compatibility.

  • Width is the biggest size lever, since data scales with pixel count
  • Drop to 12 or 20 fps for screen and UI animation
  • Flat art tends to shrink, photographic animation tends to grow
Tips

Getting a better result out of GIF to APNG

Specific settings and thresholds, not general advice.

  • If the original video or project file that produced the GIF still exists, convert from that instead. A GIF is already a degraded copy, and no converter can undo that.
  • Use APNG where it will be embedded in a web page and quality going forward matters. For sending to people, the GIF is still the safer attachment.
  • Keep both files. Treat the APNG as the better master and the GIF as the wide-compatibility delivery copy.
  • Leave the output width at the source width unless you want a smaller file. Changing it forces a real resample of every frame.
  • For screen and UI recordings, 12 to 20 fps looks smooth and cuts the frame count meaningfully. Save the original timing for genuinely fast motion.
  • If you want sound, or a much smaller file for a web page, convert the GIF to MP4 or WebM instead. Neither carries transparency, but both compress far better.
Limits

What GIF to APNG does not do

The honest boundary, so you do not lose time finding it yourself.

  • It is a re-encode, not a byte-for-byte copy. Output dimensions are rounded to even numbers, so an odd-width GIF shifts by one pixel column.
  • It cannot un-band a GIF. Colors discarded when the GIF was created are gone for good.
  • Transparency stays hard-edged, because a GIF has no partial alpha for the APNG to inherit.
  • Many email clients, forums, and chat apps show an APNG as a static first frame rather than animating it.
Reference

Terms used on this page

Short, plain-language definitions for the formats and settings above.

At a glance

Who GIF to APNG is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Anyone whose GIF looks banded or has ugly edges against a background

Ideal for

Rescuing an animation that GIF colour limits ruined

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Is this GIF to APNG converter free?

Yes. It runs in your browser with no signup, no watermark, and no account. There is no per-file charge and no paid tier gating the export.

Does my GIF get uploaded to a server?

No. Decoding and APNG encoding both run on your own device using an ffmpeg build compiled to WebAssembly. The image data never leaves the browser tab.

Is the conversion lossless?

Not literally. Every frame is re-encoded through a scaler rather than copied byte for byte, and output dimensions are rounded to even numbers. At the default width the result is visually identical, but calling it a pixel-perfect copy would be inaccurate.

Does APNG keep transparency?

Yes. The frames are encoded in RGBA, so the alpha channel survives. Because the source GIF only ever had hard on-or-off transparency, that is what carries over. APNG can hold partial alpha, but it cannot invent it.

Why does my APNG still look banded?

Because the banding happened when the GIF was made, not during this conversion. The GIF threw those colors away permanently. Only rebuilding the animation from the original video or project file will remove the banding.

Where will an APNG actually play?

Every current browser animates APNG natively, so websites, documentation, and web apps are safe. Many email clients, forums, and older chat apps render only the first frame as a still image, so check the destination before you commit.

Will the APNG be smaller than the GIF?

Sometimes. Flat illustrations, UI recordings, and line art usually shrink because PNG compression is more modern. Photographic or gradient-heavy animation usually grows, because full-color frames carry more data than 256-color palette frames.

Can I make the file smaller?

Lower the output width first, since data scales with pixel count. Then drop the frame rate to 20 or 12 fps, which screen recordings tolerate well. Both controls sit next to the drop zone.

Does the APNG loop?

Yes. The output is written with an infinite play count, so it loops continuously the way a GIF embedded in a page does.

How long does the conversion take?

Usually seconds for a typical GIF. The work is local, so there is no upload and no queue, but a very long or very large animation is limited by your own device rather than by a server.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon