Video to GIF
Pick a stretch of up to 30 seconds from a video and turn it into a looping GIF.
Drag video here or click to select
MP4, WEBM, MOV supported (max 100MB)
Loading library...
Upload a video, choose a start and an end, and the tool captures that stretch frame by frame and packs the frames into one GIF. The video is not uploaded and is processed on this page. Only the gif.js library is fetched from the jsDelivr CDN.
Say you convert 12.0 to 15.0 seconds of a 1280x720 phone video with the defaults, 480px width and 10 FPS. The width is 480 and the height follows the original ratio, 270. The frame count is the length times FPS, 3 seconds x 10 = 30 frames, each shown for 100ms. When it finishes you get a preview, the file size in MB, and Download GIF saves video.gif.
FPS and width drive the file size
A GIF stores a whole picture per frame, so it is much larger than a video of the same length.
| Length | FPS | Width (16:9 source) | Frames | Pixels per frame |
|---|---|---|---|---|
| 3 s | 5 | 320 x 180 | 15 | 57,600 |
| 3 s | 10 | 480 x 270 | 30 | 129,600 |
| 5 s | 24 | Original 1920 x 1080 | 120 | 2,073,600 |
The last row has 8 times the frames of the first. For chat, try 480px at 10 FPS first, then lower the settings if the result is big.
Videos can be up to 100MB and the GIF up to 30 seconds. A GIF holds only 256 colors per frame and has no sound. "Library loading failed" means a work network or ad blocker is blocking jsdelivr.net. If an iPhone HEVC video will not open, convert it to MP4 (H.264) first.