Video to APNG Converter

Convert video clips into high-quality animated PNG (APNG) files.

Select Video File

Drop your video here or click to upload

Not playable in this browser

This format cannot be previewed, but it can still be converted: set the start and the end below.

Settings

Conversion complete!
Animated APNG

Rate this tool

How useful was this tool?

Video to APNG Converter

Choose a video under Select Video File, or drop it on the page, and pick the part you want. Then set the animation under Settings:

  • Width (pixels): 100 to 800, starting at 480.
  • Frames per second: 1 to 24, starting at 12.
  • Colours: Full colour (lossless), 256 colours (much smaller) or 64 colours (smallest).
  • Compression: Normal, Fastest (larger file) or Smallest (slower).
  • Playback speed: 0.5×, 1× (normal), 1.5×, 2× or 3×.
  • Loop: Forever, 3 times or Play once.
  • Boomerang: play forward, then backward.

Click Create APNG, and Download APNG when it’s done. Cancel stops a conversion that’s taking too long.

Everything runs in your browser. The video is never uploaded.

Which videos work

You can choose MP4, M4V, MOV, MKV, WebM, AVI, WMV, FLV, MPG, MPEG, 3GP, TS and OGV files, or any other file your browser recognises as video. A sound-only file is refused with “This file has no picture, so it is not a video this tool can use.”

Files up to 2 GB can be processed. A bigger one is refused with a message such as “This file is 2.3 GB. Files up to 2.00 GB can be processed in the browser.” The whole file is held in memory, so the real limit on a phone or an older computer may be lower. For a long video, cut out the part you want first with the Video Trimmer.

What an APNG is

APNG, short for animated PNG, is an ordinary PNG image with extra frames inside. Every current browser plays it: Chrome, Edge, Firefox and Safari. And because it’s still a PNG, software that doesn’t understand the animation simply shows the first frame as a normal picture. That’s better than a broken image or a missing file.

Like PNG, it’s lossless: every frame keeps its pixels exactly, in full colour. That’s its strength for screen recordings, interface demos, text and graphics. It’s also why the files are large. Each frame is stored whole, as a complete picture, which is why the width stops at 800 pixels and the frame rate at 24. Those are lower limits than on the Video to WebP page.

Example

A 4-second piece of a video, 320 pixels wide at 12 frames per second, with 256 colours and the boomerang on, gives:

320 × 240 · 12 fps · 8.0 s · 96 frames · 256 colours · boomerang · 612.4 KB

The boomerang plays the 4 seconds forward and back, which makes 8 seconds. At 12 frames per second, that’s 96 frames. The summary shows the colour setting when it isn’t full colour. It also shows speed, boomerang and loop whenever they’re not left at normal speed and forever.

Colours: the biggest saving

Colours What it does
Full colour (lossless) Every pixel kept exactly, with millions of colours. The largest file.
256 colours (much smaller) Each frame limited to 256 colours, stored as a palette PNG.
64 colours (smallest) Even fewer colours, the smallest file.

A palette is the single most effective way to shrink an APNG. In testing, the 256-colour file came out at well under half the size of the full-colour one. The file really is a palette PNG, not just a full-colour picture with fewer shades in it.

What it costs depends on the footage:

  • Screen recordings, interfaces, cartoons, logos and text often use only a few hundred colours anyway. They look the same at 256 colours, and often at 64.
  • Camera footage, with skin, skies and soft shadows, has far more. At 256 colours, gradients can break into visible steps. Keep it in full colour, or use Video to WebP, whose lossy setting suits filmed footage much better.

Compression never touches quality

PNG compression is lossless, so all three Compression settings give exactly the same picture. They only trade time against size:

  • Normal is the right choice most of the time.
  • Fastest (larger file) finishes quickest, for trying things out.
  • Smallest (slower) works harder to squeeze the file. It’s worth it for the final version.

Choosing the part, width and frame rate

Most videos show a preview, so you can find the moment you want and set where the animation starts and ends. Some formats, such as AVI, can’t be played by your browser. The page then says Not playable in this browser, and you type the Start time (seconds) and End time (seconds) instead. The video still converts.

Width runs from 100 to 800 pixels, and the height follows the video’s shape. The animation is never made wider than the video itself: a 320-pixel clip stays 320 pixels wide, whatever the slider says. A phone video filmed on its side comes out upright.

Frames per second runs from 1 to 24.

Since every frame is stored whole, both settings matter even more here than for GIF or WebP. The defaults, 480 pixels at 12 frames per second, are a good upper end. 320 pixels and 8–12 fps keep most APNGs reasonable, and interface demos often look fine at even fewer frames. Very low rates, 1 to 5 frames per second, suit step-by-step demos, where each frame should stay on screen for a moment.

Speed, loop and boomerang

Playback speed changes the timing before the frame rate is applied. At 2×, a 4-second piece becomes 2 seconds with half the frames. At 0.5×, it becomes 8 seconds with twice the frames.

Loop is stored as the number of plays: Forever, 3 times or Play once. “3 times” means exactly three.

Boomerang: play forward, then backward plays the piece forward and then in reverse, so the animation ends where it began and loops without a jump. It doubles the length and the frames, and when the piece is longer than ten seconds, the tool warns:

The boomerang plays the piece forward and back, so the APNG is twice as long; keep the piece short.

Told before it gets too big

When the animation would run past 200 frames, the tool warns before you convert, with the real count filled in. A 20-second piece at 24 frames per second gives:

About 480 frames: an APNG stores every frame whole, so this will be a very large file. A shorter piece, fewer frames per second, a smaller width, fewer colours or a higher speed keeps it small.

That’s a lower threshold than the 300 frames on the GIF and WebP pages, for the same reason: every frame is stored whole. Both warnings can show at once. On a long boomerang, the first one then reads “About 960 frames”.

GIF, WebP or APNG?

  GIF WebP APNG
Colours 256 Millions Millions, or a 256/64 palette
Quality Lossy Lossy or lossless Lossless
Typical size Large Smallest Large, smaller with a palette
Where it plays Everywhere, even old email programs Every modern browser Every modern browser; elsewhere, shows the first frame
Best for Email, chat, old software Websites, especially filmed footage Crisp screen recordings, UI demos, graphics

For animated stickers, APNG is also the format some messaging apps ask for, such as LINE.

FAQ

Why is my APNG so much bigger than a GIF or WebP?

Every frame is stored whole and without loss, so nothing is thrown away. Use 256 colours, a smaller width and fewer frames per second. For filmed footage, Video to WebP will usually be much smaller.

Will it play everywhere?

In every current browser, yes. Programs that don’t support animated PNG, including many email programs, show the first frame as a still picture. For those, a GIF from Video to GIF plays more widely.

Does compression lower the quality?

No. PNG compression is lossless. Smallest (slower) only takes longer to find a smaller way to store the same pixels. Quality changes only with the Colours setting.

Why isn’t my animation as wide as I set?

It’s never made wider than the video itself. A video only 320 pixels wide gives a 320-pixel animation, whatever the slider says.

Does the animation have sound?

No. Animated images can’t carry sound. To keep the sound, keep the clip as a video: the Video Compressor and Video Speed Controller work on videos.

Is my video uploaded?

No. The conversion runs in your browser, and the video never leaves your device.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us