Video & Audio
Video to GIF & GIF to MP4
Turn a video clip into a high-quality animated GIF (with an optimized palette), or convert a GIF into a much smaller MP4.
How to use
- 1Add a video (or a GIF to convert to MP4).
- 2Choose start, length, width and frame rate, then press Convert.
Frequently asked questions
Why is my GIF so big?
GIFs store full frames with 256 colors. Keep them short (under 10 s), narrow (≤ 480 px) and at 10–15 fps.
Why convert a GIF to MP4?
An MP4 of the same animation is often 5–10× smaller and plays smoothly — most platforms convert GIFs to video anyway.
How is quality kept high?
A custom 256-color palette is generated from your clip, with light dithering for smooth gradients.
Why this runs FFmpeg twice over the same clip internally
GIF conversion uses a two-pass technique: the filter graph first runs palettegen on the clip to analyze its actual colors and build an optimized, clip-specific 256-color palette (rather than a generic fixed palette), then feeds that palette into paletteuse to map every frame onto it with bayer dithering smoothing out the transitions. This two-pass palette approach is specifically why GIFs made this way look noticeably better than a naive single-pass GIF export — generic palettes clash badly with footage that has colors outside their fixed set, while a palette generated from the actual clip can allocate its 256 colors exactly where your specific footage needs them.
Why GIFs are fundamentally larger than the video they came from
The FAQ's advice to keep GIFs short, narrow and low-frame-rate reflects a real structural limitation of the format: GIF has no concept of inter-frame compression the way video codecs do — H.264 and similar codecs only store what changed between frames, while GIF essentially stores something closer to a full image per frame, each limited to 256 colors total. That's why a 10-second clip that's a tiny MP4 can balloon into a multi-megabyte GIF, and why converting a GIF back to MP4 (the reverse direction this tool also supports) typically shrinks it 5-10× — the MP4 can finally exploit the fact that most pixels don't change much from one frame to the next, something GIF's format was never designed to take advantage of.
Why frame rate and width interact to determine file size more than either alone
Since every GIF frame is close to a full image, total file size scales roughly with width × height × frame count — which is why the practical levers for a reasonable file size are width (fewer total pixels per frame) and fps (fewer frames to store per second), not any kind of bitrate setting GIF simply doesn't have. Dropping from 25fps to 12fps roughly halves the number of frames that need storing for the same duration, while dropping width from 640px to 320px cuts the pixel count per frame to a quarter — which is why the width dropdown and fps slider are the two controls that actually matter here, rather than a quality or compression setting like other formats offer.
A GIF dropped here goes the other way, to MP4
The hint on the drop zone says a video becomes a GIF, or a GIF becomes an MP4. Start time begins at 0 seconds and can step by half a second. Length starts at 5 seconds, width at 480 pixels, and frame rate at 12. Those GIF controls show for a video; a GIF file uses the reverse path instead of those frame settings. The button still says Convert. A start past the end of the clip, or a length of zero, gives you nothing useful to download, so the length box is there to keep the GIF to a short slice rather than the whole file. Width is the GIF's width, not a crop of a region inside the frame.
Related tools
- Mute Video (Remove Audio)
Remove the sound from a video instantly — no re-encoding, no quality loss — and download the silent MP4.
- Video Compressor (Reduce MP4 Size)
Compress videos to share by email, WhatsApp or Discord — choose a quality level or a target size in MB, and optionally lower the resolution. Runs in your browser.
- Video & Audio File Size / Bitrate Calculator
Estimate a video or audio file's size from bitrate and duration — or find the bitrate you need to hit a target size (e.g. under 25 MB for Discord or email).
- Add Music to Video
Put a soundtrack on your video — replace the original sound or mix music underneath it, with volume controls and an automatic fade-out.
- APNG Maker (Animated PNG)
Make an animated PNG from a set of images, or convert an animated GIF to APNG. Full colour and smooth transparency, any frame delay and loop count, built in your browser.
- GIF Compressor & Optimizer
Make an animated GIF smaller without uploading it. Frames are cropped to what changes, unchanged pixels are reused, and you can cut colours, add lossy compression, shrink the size or drop frames, or just give a target size in KB.