March 22, 20265 min read

How to Create a GIF from a Video

Step-by-step guide to converting video clips to animated GIFs in your browser — including FPS, width, and time range settings for the best results.

gifvideoconversiontutorial

Why convert video to GIF?

GIFs loop automatically, play without sound, and work everywhere — no video player or codec required. They're ideal for reaction clips, product demos, social media posts, and documentation. The trade-off is file size: a 3-second GIF is typically 5–20× larger than the equivalent MP4 clip.

Step 1: Pick the right clip

The shorter the clip, the smaller the GIF. Aim for 2–5 seconds for reactions, 5–10 seconds for demos. Anything over 15 seconds will produce a very large GIF that's slow to load.

Trim your source video first if possible. GifMash's Video to GIF tool has built-in start/end time inputs so you don't need external software.

Step 2: Set the output width

File size scales roughly with the square of the width. Halving the width quarters the file size.

  • 320 px — small, fast-loading, good for chat and reactions
  • 480 px — balanced quality for most uses
  • 640 px — best quality; use only when you need detail

Step 3: Choose the frame rate

GIF frame rate directly controls file size: 15 FPS is exactly twice the data of 7–8 FPS for the same clip.

  • 8–10 FPS — looks fine for most content; half the file size of 15–20 FPS
  • 12–15 FPS — smoother motion; good for fast action clips
  • 20–24 FPS — near-video quality; only worth it for very smooth animations

Many classic internet GIFs are 10–12 FPS. Viewers rarely notice the difference between 10 and 24 FPS in a looping clip.

Step 4: Compress the result

After converting, run the output GIF through GifMash's compressor. The Video to GIF encoder doesn't apply color reduction or inter-frame optimization. A compression pass typically reduces the file by an additional 20–40%.

Platform-specific tips

  • Twitter/X: Compress under 5 MB, 640 px wide
  • Discord: Under 8 MB for free accounts, 25 MB for Nitro
  • Slack: Under 1 MB for inline preview
  • Email: Under 1 MB; many clients block the animation anyway

Convert video to GIF

GifMash's Video to GIF tool converts MP4, WebM, and MOV clips directly in your browser.

Try it free