MP4 to GIF
Turns an MP4 clip into an animated GIF at the frame rate and width you set. GIF maps everything to 256 colors.
What this does
An MP4 holds H.264 video that uses inter-frame compression: most frames only store what changed since the last one. This decodes that stream back into full pictures, samples them at the frame rate you set, scales each one to your chosen width, and trims the clip to the start and end you pick. Every sampled frame is then reduced to a 256-color palette, which is the most a GIF can store, and the frames are packed into one looping .gif.
Going from MP4 to GIF means giving up that compression: a GIF keeps each frame as its own palette image, with no motion encoding and no audio track. So the .gif comes out far larger than the source MP4, and the H.264 soundtrack is dropped. Smooth gradients may show banding once the colors are cut to 256.
How it works
- 1Drop your MP4 file here or pick it from your device.
- 2Set the frame rate and width, and trim with the start and end seconds if you want a shorter clip.
- 3Click Create GIF, check the looping preview, then download the .gif.
Built with open source
- Mediabunny — Converts and edits video and audio in the browser via WebCodecs. Add-on encoders cover MP3, AAC, and FLAC. · MPL-2.0
- gifenc — Fast GIF encoding with color quantization. · MIT
