FormatDrop
How-To Guide

How to Make a GIF from a Video

Creating a GIF from a video clip is one of the most popular media conversion tasks — for reaction GIFs, short tutorials, social media posts, or embedding animations in documentation. This guide shows the best methods for different use cases: browser tool for quick conversions, FFmpeg for precise control, and Photoshop for professional results.

Step-by-step instructions

  1. 1

    Plan your GIF

    GIFs over 5-10 seconds or 640px wide become impractically large. Before converting: decide the clip duration (1-5 seconds for good quality), target dimensions (320-640px wide for sharing, up to 480px for email), and whether you need looping. GIF has no audio — plan the visual to work silently.

    Go to converter
  2. 2

    Method 1: Browser converter

    Go to formatdrop.com → Video Converter. Drop your video clip. Select GIF output. Download the animated GIF. Best for quick conversions when you just need a basic GIF from a short clip.

  3. 3

    Method 2: FFmpeg (best control)

    High-quality GIF from video: first generate a colour palette: ffmpeg -i input.mp4 -vf 'fps=15,scale=480:-1:flags=lanczos,palettegen' palette.png. Then generate GIF: ffmpeg -i input.mp4 -i palette.png -filter_complex 'fps=15,scale=480:-1:flags=lanczos[x];[x][1:v]paletteuse' output.gif. The palette step dramatically improves GIF colour quality.

  4. 4

    Method 3: ezgif.com (online, simple)

    Upload video to ezgif.com/video-to-gif → set start time and duration → resize → set frame rate → convert. ezgif is the most feature-rich free online GIF creator — it handles trimming, resizing, and frame rate adjustment in one workflow.

Why convert MP4 to GIF?

GIFs remain culturally ubiquitous despite their technical limitations. For reaction content, quick demos, and animation previews in documentation or GitHub READMEs, GIF still makes sense because of universal compatibility. The key is keeping GIFs short and small — a 3-second, 320px wide GIF is typically 1-5MB. The palette generation technique in FFmpeg significantly improves GIF quality by optimizing the 256-colour palette for your specific content.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

Why does my video-to-GIF conversion produce a huge file?
GIF file size depends on: frame rate (more fps = more frames = bigger file), resolution (wider = larger), duration (longer = more frames), and colour variation (highly varied colours use more palette entries). To reduce GIF file size: reduce frame rate to 10-15 fps (still looks smooth), reduce width to 320-480px, keep clips to 2-5 seconds, reduce colour count. The FFmpeg two-step palette method produces smaller files than simple conversion because it optimizes the palette for the content.
How do I trim a video before making a GIF?
In FFmpeg: add -ss (start) and -t (duration) flags: ffmpeg -ss 00:00:10 -t 3 -i input.mp4 -vf fps=15,scale=480:-1 output.gif (starts at 10 seconds, takes 3 seconds). Online: ezgif and many other tools let you set start/end time before converting. Adobe Premiere, DaVinci Resolve, and iMovie all export GIF from trimmed sequences.
Convert MP4 to GIF Now — Free

No account. No upload. Works in any browser.