Initializing... drag & drop files here
Supports: MPEG2
MPEG-2 is the codec behind DVDs, digital broadcast TV, and older camcorder captures — built for long, full-resolution video. Turning a short slice of one into an APNG (animated PNG) gives you a single looping image that drops anywhere a PNG works — chat, docs, wikis, README files — with lossless frames, 24-bit color, and smooth 8-bit alpha that a GIF cannot match. Because APNG stores every frame in full, the trick is keeping the clip short and the framerate low so the file stays manageable.
.mpeg2 (or .mpg/.m2v) clip onto the page, or click "Upload" to pick it from your device. The file is sent over an encrypted connection and deleted from our servers automatically after a few hours.| Property | APNG | GIF | Animated WebP |
|---|---|---|---|
| Color depth | 24-bit (16.7M) | 8-bit (256) | 24-bit (16.7M) |
| Transparency | 8-bit alpha (smooth) | 1-bit (hard edge) | 8-bit alpha (smooth) |
| Frame compression | Lossless | Lossless, 256-color | Lossy or lossless |
| Typical file size | Larger than GIF | Baseline | Smallest of the three |
| Browser support | 94.7% (Chrome 59+, FF 3+, Safari 8+, Edge 79+) | Universal | ~96% |
| Fallback when unsupported | Shows first frame as static PNG | n/a | Broken image |
| Best for | Lossless logos, UI, transparency | Maximum compatibility | Smallest size on the web |
MPEG-2 uses inter-frame compression — most frames are stored only as the difference from a nearby frame — while APNG stores every frame as a full lossless image. A short DVD-resolution (720x480) clip can therefore expand into an APNG many times the size of the source. In our testing, a 5-second 720x480 MPEG-2 clip at 10 FPS produced an APNG several megabytes large, and dropping to 8-bit color with dither cut that back sharply. Keep it small by lowering the framerate to 10 FPS, shrinking the resolution, or reducing the palette in "Colors" before converting.
APNG stores every frame, so duration times framerate equals total frames, and frames drive the file size — a few seconds is the sweet spot. A full DVD chapter or broadcast capture will produce an enormous file. For anything longer than a short loop, drop the framerate and resolution first, or keep it as video and use our MPEG2 to MP4 converter instead.
Animated PNG has 94.7% global browser support per caniuse — Chrome 59+, Firefox 3+, Safari 8+, Edge 79+, and Opera. In a viewer that does not support it (Internet Explorer and Opera Mini), the file falls back to showing the first frame as a static PNG, so nothing breaks; it just stops animating.
Pick APNG when you need lossless quality, more than 256 colors, or smooth alpha — gradients, UI recordings, and detailed footage look far cleaner. Pick GIF when universal compatibility matters more than fidelity, such as an old email client or platform that chokes on APNG. If you want a GIF instead, use our MPEG2 to GIF converter.
Yes — the biggest levers are framerate (10 FPS), resolution, and the "Colors" reduction-with-dither setting. If you need the smallest possible animated file for the web, animated WebP usually wins; convert with our MPEG2 to WebP converter instead. To squeeze an existing APNG further, run it through our APNG compressor.