How to Convert MP4 to GIF Free Online

GIFs are ideal for short looping animations in chat apps, documentation, and social media — no play button needed. Converting a video clip to a GIF is quick and free, but keep GIF’s limitations in mind: no audio, 256 colors, and large file sizes for longer clips.


GIF vs Video: When to Use Each

Use caseBest format
Short looping animation in chat/SlackGIF
Quick reaction or memeGIF
Documentation step (short)GIF
Anything over 10 secondsVideo (GIF will be huge)
Content with audioVideo (GIF has no audio)
Animation for web pages you controlAnimated WebP (60–70% smaller)

Method 1: Ezgif.com — Best Online Tool

  1. Go to ezgif.com/video-to-gif.
  2. Upload your MP4 and set start/end time.
  3. Set FPS (12–15 is best for most GIFs) and Size (480px wide max).
  4. Click Convert to GIF.
  5. Use the Optimize tab to reduce file size by 30–50% before downloading.

Method 2: FFmpeg (High Quality, Command Line)

# Basic GIF from video clip (seconds 2–7, 12fps, 480px wide)
ffmpeg -i input.mp4 -ss 00:00:02 -to 00:00:07 -vf "fps=12,scale=480:-1" output.gif

# High quality with palette optimization (reduces color banding)
ffmpeg -i input.mp4 -ss 00:00:02 -t 5 \
  -vf "fps=12,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \
  output.gif

Reducing GIF File Size

  • Reduce FPS: 24fps → 12fps (barely noticeable)
  • Reduce width to 480px maximum
  • Clip to essential 2–4 seconds
  • Run through Ezgif’s Optimizer tab

Frequently Asked Questions

Why do my GIFs look grainy?

GIF is limited to 256 colors. Complex color gradients look worse as GIF. Use the FFmpeg palette optimization command (above) for the best quality.

What FPS should I use?

12–15fps is the sweet spot. Fast action: 20–24fps. Slow motion: 8–10fps. Higher FPS = larger file size.

Why does my GIF have no audio?

GIF is an image format — it doesn’t support audio. For animated content with sound, use a short MP4 video loop (browsers autoplay muted videos as GIF-style loops).

Leave a Comment