How to Convert Video to GIF for Free in 2026

GIFs are everywhere — Slack messages, GitHub pull requests, tutorials, social media, and documentation. They auto-play without a click and work everywhere images work. The trick is creating GIFs that look good without being enormous. Here's how to convert any video to a GIF for free with methods for every skill level.

Method 1: Online GIF Makers (Easiest)

Ezgif.com (Best Free Online Tool)

Ezgif is the gold standard for free online GIF creation:

  1. Go to ezgif.com/video-to-gif
  2. Upload your video (up to 100MB) or paste a URL
  3. Set the start and end time for your GIF
  4. Choose frame rate (10fps is good for most uses, 15fps for smooth motion)
  5. Set the output size (smaller = smaller file)
  6. Click "Convert to GIF"
  7. Download your GIF, or use their optimizer to reduce file size further

Pros: Feature-rich, add text/effects, optimize file size. Cons: Video is uploaded to their servers, 100MB upload limit.

Giphy (Best for Sharing)

Giphy converts videos to GIFs and hosts them for easy sharing. Great if you want a shareable link, but your GIF becomes public on Giphy's platform (unless you use a business account).

Method 2: Screen Record to GIF

For capturing something on your screen as a GIF, it's often easier to record directly to GIF format rather than recording video and converting:

  • ShareX (Windows, free): Built-in GIF recording mode. Select an area and record directly to GIF.
  • LICEcap (Windows/Mac, free): Simple GIF screen recorder. Minimal interface, records directly to .gif files.
  • Kap (Mac, free): Elegant screen recorder that exports to GIF, MP4, WebM, and APNG.
  • Peek (Linux, free): Simple GIF screen recorder for Linux.

Tip: For longer or higher-quality recordings, use Tools Oasis Screen Recorder to capture video first, then convert the best clip to GIF using one of the methods in this guide.

Method 3: FFmpeg (Best Quality, Command Line)

FFmpeg is the most powerful (and free) video tool available. Creating GIFs with FFmpeg produces the best quality-to-size ratio:

Basic conversion:

ffmpeg -i input.mp4 -vf "fps=10,scale=480:-1" output.gif

High-quality with color optimization:

ffmpeg -i input.mp4 -vf "fps=12,scale=600:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif

This two-pass method generates an optimal color palette first, then applies it. The difference in quality is dramatic compared to basic conversion.

Extract a specific clip:

ffmpeg -ss 00:00:05 -t 3 -i input.mp4 -vf "fps=10,scale=480:-1" output.gif

This starts at 5 seconds in and captures 3 seconds.

Method 4: Desktop Software

  • GIMP (Free): Open a video as layers (File > Open as Layers), then export as GIF with animation settings.
  • Photoshop: File > Import > Video Frames to Layers, then File > Export > Save for Web as GIF.
  • ScreenToGif (Windows, Free): Captures screen regions and exports as optimized GIFs with a built-in editor.

Optimizing GIF File Size

GIFs get large fast. An unoptimized 5-second GIF can easily exceed 10MB. Here's how to keep sizes manageable:

OptimizationFile Size ImpactQuality Impact
Reduce dimensions (e.g., 800px to 480px)-50 to -75%Moderate
Lower frame rate (15fps to 10fps)-30 to -40%Slightly choppy
Shorten durationProportionalNone
Reduce color count (256 to 128)-20 to -40%Slight banding
Use lossy GIF compression (Gifsicle)-30 to -50%Minor artifacts

Target sizes:

  • Slack/Discord: under 8MB (ideally under 4MB)
  • GitHub issues/PRs: under 10MB
  • Email: under 2MB
  • Web pages: under 3MB (consider using video instead for larger animations)

When to Use Video Instead of GIF

GIFs have significant limitations compared to modern video formats:

  • GIF is limited to 256 colors; video supports millions
  • GIF files are 5-10x larger than equivalent MP4/WebM videos
  • GIF has no audio; video does
  • GIF frame rates are typically 10-15fps; video can be 60fps

For web use, consider using an MP4 video with autoplay and loop attributes — it looks like a GIF to the user but loads much faster. Many platforms that "support GIFs" (like Twitter) actually convert them to video automatically.

Try It Free — Your Data Stays Private