Turn an animated GIF into an MP4, WebM or MOV video, or convert between the three animated picture formats: GIF, animated WebP and APNG (animated PNG).
Why turn a GIF into a video?
A GIF stores every frame as a picture with at most 256 colours and weak compression. The same animation as an H.264 MP4 is usually much smaller, has full colour, and is accepted by video players, editors and sites that don't take GIFs, or turn them into videos anyway.
How it works
- Upload the GIF, animated WebP or APNG (up to 100 MB).
- Choose the output. For videos, choose how many times the animation plays, or a minimum length (for places that refuse very short videos).
- Download the result.
Timing, looping and transparency
- Timing: a video needs a steady frame rate, while animations can give every frame its own delay. The video uses a frame rate that fits all the delays (for example 25 fps for delays of 40, 80 and 120 ms), so each frame stays on screen as long as before. When the delays share no common step, they are rounded to 1/50 s and the result says so.
- Looping: a GIF can loop forever, but a video plays once; players and pages decide whether it repeats. Choose 2 to 10 plays, or a minimum length, to repeat it inside the video.
- Transparency: WebM keeps transparent areas (VP9 with an alpha channel), and so does "MOV with transparency" (ProRes 4444, which video editing programs read). MP4 and H.264 MOV can't be transparent, so transparent pixels are filled with a colour of your choice.
GIF, animated WebP and APNG
Each of the three can be converted to the other two. Frame delays and the loop count stay as they are, and so does transparency (in a GIF it is on or off per pixel, so soft edges become hard). GIFs get a palette made for the animation. Animated WebP can be lossless (every pixel kept; GIFs usually get smaller) or lossy for photographic content.
Limits
Up to 100 MB, 5,000 frames and 4096 pixels per side; videos made by repeating an animation can be up to 5 minutes long.