MP4 to GIF Converter

Turn MP4, MOV, or WebM clips into GIFs: trim the moment, set frame rate and size, loop forever. Runs in your browser, free, no watermark.

A three-second clip is worth a thousand words in a README, a bug report, or a group chat. Trim the exact moment from any MP4, MOV, or WebM file, set the frame rate and dimensions, and export a loop-ready GIF — no upload, no watermark, no account.

Because conversion is local, you can turn screen recordings of internal tools into documentation GIFs without those clips ever leaving your machine.

100% in-browser · no upload · no signup · nothing you paste or drop here leaves your device

🎞️
Creator & Video/Video to GIF Converter

Video to GIF Converter

Convert video segments to animated GIFs with palette optimization. 100% in-browser.

LOCAL · FFMPEG.WASMTrim segment3 quality levelsPalette optimization100% local
🎞️
Drop a video here, or click to browse
MP4, WebM, MOV, AVI, MKV (max 500 MB)
Max 30 seconds. GIFs longer than 10s may create very large files.

Upload a video, select a segment, and convert it to an animated GIF

Data Source & Legal Disclaimer
Effective: 2026Last updated: 8 months agoUpdate: Manual review

Video to GIF conversion runs entirely in your browser using ffmpeg.wasm. Your video file is never uploaded to any server.

How video-to-GIF conversion works — illustrated

A GIF is an 8-bit image format: every frame can reference at most 256 colors. Converting video therefore has two jobs. First, frame sampling — ffmpeg trims the clip (-ss start -t duration) and decimates it to a low frame rate (10/15/24 fps) while scaling down to a small width (320/480/640), because both directly multiply the number of pixels you pay for. Second, color quantization: the tool runs palettegen to study all sampled frames and pick the 256 most representative colors, then paletteuse maps every frame to that palette. A two-pass palette dramatically reduces banding and file size compared with a naive global conversion.

Trim → frame sampling → 256-color palette → palette-mapped GIF
Video clip-ss start -t durationmax 30 sSample10/15/24 fps320/480/640 pxPalette genpalettegen picks256 key colorsPalette usepaletteuse mapsframes → .gifEach frame stores a palette index, not full RGBtwo-pass palette = less banding, smaller fileLanczos scaling keeps edges cleanfps × duration = frame count · longer than 10 s at high quality quickly balloons the fileGIF is limited to 256 colors — gradients may band; flat-color clips convert best

Frame count = fps × duration, and each frame stores a palette index rather than full RGB. Smaller width, lower fps, and a well-chosen palette are what keep the GIF light.

A loopable trick shot — Sam's golf GIF

Sam films a one-take golf trick shot on his phone and wants a tight, loopable GIF for his group chat.

  1. Trim the clip:He sets start at 0.5 s and duration 3 s, capturing exactly the moment the ball drops in the hole
  2. Sample frames:Medium quality (480 px, 15 fps) yields 45 frames from the 3-second window — a good size/fluidity balance
  3. Build the palette:ffmpeg runs palettegen over those 45 frames and distills them down to 256 dominant colors
  4. Map & share:paletteuse renders every frame against the palette; the ~2.1 MB output loops cleanly in the chat

About this MP4 to GIF converter

This page covers make a gif from video, video to gif online free, convert mp4 to gif no watermark, clip to gif converter — all the same underlying task as MP4 to GIF converter. The tool above is FreeToolHub's video to gif embedded in full: every feature works right here, and nothing you process is uploaded to any server.

Frequently asked questions

How do I turn a video clip into a GIF?

Drop in the video, set the start point and duration (a few seconds is usually right), pick 10–15 frames per second and a width around 480 px for chats, and convert. The GIF downloads instantly and loops automatically in every viewer.

Why is my GIF larger than the video?

GIF stores every frame as a full image with 256 colors, so it is wildly less efficient than video codecs. Keep clips under 5 seconds, reduce frame rate to 10–12 fps, and shrink the width to keep GIFs under Discord and Slack limits — or use a short muted MP4 where the platform allows it.

Joke of the Day
Sep 6

What do you call a crab that plays baseball?

100% Free, Forever

Keep Tools Free for Everyone

No paywalls, no signups, no data sold. Built by a solo developer who believes useful tools should be accessible to everyone.

Support me on Ko-fi— keep tools free

100% of proceeds go towards hosting & building more free tools.