# Video to GIF — Make Animated GIFs Locally

> Turn an MP4 or MOV clip into an animated GIF right in your browser — pick the trim, frame rate, and width. No upload, no watermark, no 30 MB download.

Source: https://toolpantry.app/video-to-gif

## About

Turn an MP4 or MOV into a looping GIF — choose the seconds that matter, the frame rate, and the width. Everything runs on your device.

## Quick answer

How do I convert a video to GIF? Add the MP4, set the trim (5 seconds or less is the sweet spot), pick 12 fps and 480 px wide, and press Convert. Shorter, narrower, and fewer frames = smaller GIF — all three dials are in your hands, and nothing is uploaded.

## How the conversion works

The tool demuxes the MP4, decodes frames with the browser's media pipeline (WebCodecs), captures them at your chosen frame rate and size, and encodes a GIF locally with a palette of 256 colors per frame. No server, no watermark — you can watch the Network tab stay quiet after the page loads.

## The three dials that control GIF size

- **Duration** — halve the seconds, halve the file. Most great GIFs are 2–4 seconds
- **Width** — GIF size scales with pixel count: 480 → 320 px is about 55% fewer pixels, 640 → 320 is 75% fewer
- **Frame rate** — 10 fps vs 15 fps is a third fewer frames; for screen recordings 10 fps is usually fine, for sports and gestures use 15

## Honest limits

Input is MP4/MOV/M4V with H.264 or HEVC video (same as our [video compressor](https://toolpantry.app/compress-video.html)). WebM and MKV aren't supported yet. Clips are capped at 20 seconds and 300 frames — beyond that GIF files stop being shareable anywhere. There's no audio in GIF, by format; extract it separately with [video to MP3](https://toolpantry.app/video-to-mp3.html) if you need it. And if the destination is a chat app that supports video — Discord, Slack, iMessage all do — send the compressed video instead; it will look better and weigh less.

## Notes

GIFs are big by nature — every frame is a full image with a 256-color palette. A 5-second 480 px GIF usually lands at 1–4 MB. If the platform accepts video, the video is almost always smaller and smoother.

## FAQ

**How do I convert a video to GIF?**

Add an MP4 or MOV, choose the trim (start and duration — shorter is better), set the frame rate and width, and press Convert. The whole pipeline runs in your browser; nothing is uploaded.

**How do I keep the GIF small?**

GIF is an old format and it shows: keep clips under about 6 seconds, drop the width to 320 or 240, and use 10–12 fps. A 5-second 480 px GIF typically lands between 1 and 4 MB; halving the width cuts that roughly fourfold.

**Why is the GIF larger than the video?**

GIF stores every frame with a limited 256-color palette and no motion compensation — modern video codecs are simply far more efficient. That's why a 1 MB MP4 can become a 4 MB GIF. If the destination accepts video, send the video.

**Is there sound in the GIF?**

No — the GIF format has no audio at all. The audio track is ignored; if you need it, extract it as MP3 with the video to MP3 tool.
