Initializing... drag & drop files here
Supports: APNG, PNG
An animated PNG keeps every frame lossless, so a short loop can easily run tens of megabytes — and most social platforms, messengers, and video editors will not accept an .apng file at all. Converting to MP4 (H.264) shrinks the same animation dramatically and turns it into a video that autoplays and loops on essentially every phone, browser, and editing app. The one honest trade-off: MP4 has no alpha channel, so any APNG transparency is flattened onto a solid background color (black by default here, switchable to white or any color you pick).
.apng onto the page or click "Upload" to pick it. You can add several files at once.| Property | APNG (input) | MP4 / H.264 (output) |
|---|---|---|
| Compression | Lossless | Lossy (visually near-identical at high quality) |
| Typical file size | Large — often 5-20x bigger | Small |
| Alpha transparency | Yes (8/16-bit alpha) | No — flattened onto a background color |
| Color depth | Up to true color + alpha | 8-bit 4:2:0 (standard H.264) |
| Audio track | No | Optional (none added from a still APNG) |
| Built-in loop flag | Yes | No native loop flag |
| Plays on social / messengers | Rarely accepted | Widely accepted, autoplays |
| Browser support | Chrome, Edge, Firefox, Opera, Safari | All modern browsers and players |
APNG is lossless and H.264 is lossy, so technically yes — but at the "Very High" Quality Preset the difference is hard to see on normal footage. Where it shows most is on hard-edged graphics, single-color flat areas, and sharp text, which H.264 can soften slightly. If you need a sharper result, raise the quality or convert to APNG to WebP instead, which keeps an alpha channel and compresses well.
MP4 has no alpha channel, so transparency is flattened onto a single solid color during conversion. By default that color is black; set Background Color to white (or any color) so the flattened background matches the page or app where the video will play. There is no way to keep true transparency in an MP4 — if you must preserve it, stay on APNG or use WebP.
APNG carries a loop flag in the file; MP4 does not. The animation plays once unless the player or webpage is told to loop it. On the web, add the loop (and usually autoplay muted) attributes to your <video> tag; in a social post the platform's player normally loops short clips automatically.
It depends on the content, but the reduction is usually large — lossless APNG stores full frame data, while H.264 only encodes what changes between frames. In our testing, a 1080p 3-second APNG loop of about 9 MB converted to a roughly 300-500 KB MP4 at the default quality. Lowering the resolution or Quality Preset shrinks it further.
Pick MP4 for the smallest file and the widest playback on social and video editors, accepting the loss of transparency. Choose APNG to GIF when you need a single file that auto-loops everywhere but can tolerate 256-color banding. Choose APNG to WebP when you want small size and to keep an alpha channel for the web.