MP4 to GIF Converter

Convert MP4 video clips to animated GIF in your browser with FFmpeg. Control frame rate and size for optimized output.

Runs in your browser · Data never leaves your device

Loading video engine

Please wait while FFmpeg downloads and initializes. Tool actions are temporarily disabled.

⚠️ FFmpeg (~25 MB) loads in your browser. Keep clips short (under 30 s) for manageable GIF file sizes.
🎞️

Drop a video file here or click to browse

MP4, WebM, MOV · Recommend short clips for best GIF quality

✓ GIF created —

Output GIF

What is a MP4 to GIF Converter?

An MP4 to GIF Converter transforms a video clip into an animated GIF directly in your browser using FFmpeg WebAssembly — no upload required, no account needed. Animated GIFs are widely used for sharing short looping clips on social media, in documentation, in README files on GitHub, in chat platforms, and in presentations. Unlike video files, GIFs are universally supported in browsers, messaging apps, and emails without a media player. This tool lets you control the frame rate, scale, and time range of the conversion to balance quality against file size — all processed locally on your device.

How to use this tool

  1. Upload your MP4 video (or other supported format) using the file picker or drag and drop.
  2. Set the Start Time and Duration to select which segment of the video to convert.
  3. Choose the Frame Rate (fps) — lower rates (5–10 fps) produce smaller files; 15–24 fps looks smoother.
  4. Set the Width in pixels — GIFs scale proportionally; smaller widths produce smaller file sizes.
  5. Click Convert to GIF and wait for FFmpeg to process, then click Download GIF.

Common use cases

  • Creating a looping GIF demonstration for a GitHub README to showcase a feature or UI interaction
  • Converting a short screen recording to GIF for embedding in a Notion page, Confluence doc, or Slack message
  • Making an animated GIF from a memorable video moment for sharing in group chats or social media
  • Creating looping product demonstrations for e-commerce pages where autoplaying video is not allowed
  • Generating animated GIFs for email campaigns where video embeds are not supported by mail clients

Frequently asked questions

Why are GIF files so large?
GIF uses a lossless (or near-lossless) indexed color compression limited to 256 colors per frame, which is far less efficient than modern video codecs (H.264, VP9). A 5-second GIF can easily be 5–20 MB while the same clip as an MP4 might be 500 KB. To reduce file size, lower the frame rate, reduce the width, or shorten the clip duration.
What frame rate should I choose?
For a talking-head or slow motion clip, 10 fps is usually sufficient. For smooth UI animations or game clips, 15–24 fps looks better. Note that a higher frame rate dramatically increases GIF file size. A 3-second clip at 24 fps creates 72 frames; at 10 fps it creates only 30 frames.
Is there a better format than GIF for animated images?
Yes — WebP animated images are 20–30% smaller than GIFs with better quality. APNG (Animated PNG) supports full 24-bit color without the 256-color limit. For web use where compatibility is less of a concern, short looping MP4 (with autoplay, muted, loop attributes) is smaller and higher quality than GIF. Use GIF when broad compatibility is required.
Is my video uploaded to a server when using this tool?
No — all processing uses FFmpeg WebAssembly running in your browser. Your video file stays on your device and is never transmitted anywhere.

How to convert MP4 to GIF

  1. Upload your MP4 or video file.
  2. Set the clip range (start/end), frame rate, and output width.
  3. Click Convert to GIF — all processing is local using FFmpeg WASM.
  4. Download the animated GIF.