Video to GIF: Make an Animated GIF From a Video File
Pick a video file, choose the seconds you want and save a looping GIF. Trim on a thumbnail strip, set the frame rate, width, crop and speed, and see the file size first. The video stays on your device.
Your file is ready
- Files stay on your device. Nothing is uploaded.
- Free, no sign-up, no daily limit.
- Works with Wi-Fi off once the page has loaded. Check it yourself
Updated by Khokhar Sab
How do I turn a video into a GIF?
Press Choose a video, or drop a file on the page, and drag the two sliders on the thumbnail strip to pick the seconds you want. Set the frames per second and the width, check the estimated file size, then press Make GIF and Download. Your browser reads the frames and builds the file, and nothing is uploaded.
- Press Choose a video or drop a file on the page. The video opens in your browser and a strip of thumbnails shows the whole clip.
- Drag the Start and End sliders. The highlighted part of the strip is the part that becomes the GIF, and the preview shows the first or last picture of it.
- Choose the frames per second, the width, a crop and the speed. Watch the frame count, the pixel size and the estimated file size change.
- Press Make GIF. A progress bar shows each frame being read; Cancel stops it. Then press Download.
The default clip is the first 6 seconds. At 10 frames per second that is 60 frames, and at 2x speed the same 6 seconds plays in 3 seconds with 30 frames. Crop keeps the largest area of the shape you pick, from the middle unless you slide it: on a 1920 x 1080 video, 1:1 keeps a 1080 x 1080 square starting 420 pixels from the left, and 9:16 keeps a 608 x 1080 tall strip. A width of 640 on the whole 1920 x 1080 picture gives a 640 x 360 GIF, and 480 on the square gives 480 x 480. To change a GIF you already have, use GIF Maker, and to pull one still picture out of it use GIF to PNG.
What is the best fps and size for a GIF?
For screen recordings and short clips, 10 to 15 frames per second at 320 to 480 pixels wide keeps motion readable and the file modest. Use 20 to 30 frames per second only for fast action, and a width above 480 only when detail matters. Every step up in either one adds bytes, as the tables below show.
| Frames per second | Frames | File size | Per frame |
|---|---|---|---|
| 5 | 10 | 77 KB | 7.7 KB |
| 10 | 20 | 151 KB | 7.6 KB |
| 15 | 30 | 228 KB | 7.6 KB |
| 20 | 40 | 307 KB | 7.7 KB |
| 30 | 60 | 451 KB | 7.5 KB |
| Width | Size in pixels | File size |
|---|---|---|
| 160 pixels | 160 x 90 | 51 KB |
| 240 pixels | 240 x 135 | 102 KB |
| 320 pixels | 320 x 180 | 151 KB |
| 480 pixels | 480 x 270 | 265 KB |
| 640 pixels | 640 x 360 | 395 KB |
The tool reads the frame rate as a count of frames per second of the finished GIF, then picks the video moments for it: at 10 frames per second, frame 1 sits 0.1 second into the GIF. A GIF stores each delay in hundredths of a second, so 15 frames per second cannot be written exactly. The tool spreads the rounding across frames instead (delays of 7, 6, 7, 7, 6, 7 hundredths for the first six frames), so the clip plays for its true length. The test clip is a bouncing ball over a gradient, so a real video with more detail will land higher. The estimate on the page is the better guide for your file.
Why is a GIF larger than the video it came from?
A video codec stores a few full pictures and, for the frames between them, only what changed. A GIF stores every frame as a complete picture, squeezed with a lossless method and limited to 256 colors. Gradients and camera noise compress poorly in that format, so the GIF weighs more than the same clip as video.
MDN's codec guide describes how modern video codecs predict each frame from earlier ones, and the web.dev article on replacing animated GIFs with video explains the same gap for web pages. In our test, one 320 x 180 frame is 225 KB as raw pixels, and the GIF spent about 7.6 KB on each frame at 10 frames per second. A GIF still has the edge in one place: it plays anywhere an image can go, with no player, no sound and no click to start. If you control the page it will sit on, a short video is the smaller choice.
Which video formats work in the browser?
The tool opens whatever your browser can play. H.264 video in an MP4 file plays in every current major browser, and WebM with VP8 or VP9 plays in current Chrome, Edge and Firefox. Other codecs, such as HEVC in some MOV files, depend on the browser and the device. If a file will not open, the page says so.
A video file has two parts: the container (MP4, WebM, MOV) and the codec inside it (H.264, VP9, HEVC). MDN's container and codec guides list which browsers support each, and support for HEVC in particular varies by browser and by device. The page asks your browser whether it can play the file's type, tries to open it either way, and shows a plain message if it cannot, with the container named. Re-saving the video as H.264 MP4 or WebM in any video app fixes the usual case. For the MP4 case on its own, see MP4 to GIF.
How do I make a GIF smaller?
Use fewer frames first, a narrower width second, and a shorter clip third. Lowering the frames per second or raising the speed cuts the frame count, and the width sets the pixels per frame. Fewer colors and switching dithering off trim a little more. The page re-estimates the size each time you change a setting.
| Colors in the palette | File size |
|---|---|
| 256 | 151 KB |
| 128 | 139 KB |
| 64 | 141 KB |
| 32 | 147 KB |
| 16 | 122 KB |
Colors help less than frames and width here: 16 colors came to 122 KB, 19 percent under 256 colors, while 5 frames per second came to 77 KB, 49 percent under 10. Dithering added 19 percent (151 KB against 127 KB) but smooths the sky gradient, and the sizes do not fall in a straight line with the color limit because dithering adds fine grain at small palettes. Speed 2x halves the frames: 10 frames came to 77 KB. Ping-pong order plays forward and back, so a 20-frame clip became 38 frames and 288 KB, against 151 KB in order.
Limits
- Frames: up to 300 per GIF. A longer plan uses the first 300 frames and the page says so.
- Pixels: frames times width times height stays under 40 million on a laptop and 16 million on a phone, so the browser does not run out of memory. A plan over the limit is made narrower and the page says so.
- File size: a video up to 600 MB on a laptop or 120 MB on a phone.
- Sound: a GIF has no audio, so the sound is dropped.
- Colors: 256 per GIF at most, chosen once for the whole clip.
- Formats: the ones your browser can play. The page names the container when it cannot open a file.
- Frames come from seeking: the tool jumps to each moment and draws it, so a long clip at a high frame rate takes a little while. Cancel stops it at any point.
Frequently asked questions
Is the video to GIF tool free?
Yes. There is no sign-up and no watermark. The limits are the frame and pixel caps listed above.
Is my video uploaded?
No. Your browser opens the video, draws the frames and writes the GIF. The page has no upload step, so the file never leaves your device.
Can I make a GIF from a video on my phone?
Yes. Choose the video from your photo library or files. A phone gets a lower pixel budget and a default width of 320 pixels, and videos up to 120 MB open.
Does the GIF keep the sound?
No. The GIF format has no audio track, so the GIF is silent.
Can I add text, reverse the clip or loop it a set number of times?
Yes. Type a caption, choose Reversed or Ping-pong for the play order, and set the loop to forever or a number of plays.
Can I make a GIF from a picture series instead?
Yes, with GIF Maker, which builds a GIF from still pictures.
Related PDF tools
How this tool was built and tested
- MDN Web Docs: Media container formats (file types): MP4, WebM, MOV and how containers differ from codecs
- MDN Web Docs: Web video codec guide: H.264, VP9 and HEVC, how codecs store frames, and browser support
- MDN Web Docs: HTMLMediaElement canPlayType(): how the page asks the browser whether it can play a file type
- web.dev: Replace animated GIFs with video for faster page loads: why a short video is smaller than the same GIF
- W3C: Graphics Interchange Format, Version 89a (1990 specification): the delay in hundredths of a second, color tables of at most 256 entries
- Test method: synthetic 2 second clip, a ball bouncing across a sunset gradient, drawn as vector art at 640 x 360, frames chosen by this tool's planning code and encoded with this site's GIF code, each file decoded again to confirm it is intact, in src/tools/videogif/videogif.bench.test.ts, 2026-10-18