Video to GIF Converter
Convert any video to animated GIF with custom FPS and size settings
Drop a video file here or click to select
Video to GIF Features
Professional GIF conversion with full control over quality and size
Set frames per second from 5 to 30 for the perfect balance between smoothness and file size.
Specify start time and duration to convert just the portion you need.
Set output width to reduce file size while maintaining aspect ratio automatically.
Key Takeaways
- Conversion uses the HTML5 video element and Canvas API when supported, with performance depending on video length, codec support, and device memory.
- You control four settings: frames per second (5 to 30, default 15), output width in pixels (height follows automatically to keep the aspect ratio), and a start time plus duration to capture only the segment you want.
- Expect the GIF to be larger than the source video because GIF uses an older lossless LZW format with a 256-color palette; reducing width is the strongest way to shrink the file, followed by lowering FPS and shortening the clip.
- The tool depends on your browser's built-in video decoding, so use an MP4 with H.264 if a file fails to load, and trim long or high-FPS clips since each frame is seeked and encoded one at a time, which can be slow on mobile.
How to Convert a Video to an Animated GIF
Load your video
Drag a video file onto the drop zone or click Select Video. The file is read with a hidden HTML5 video element when supported. For sensitive videos, confirm the active workflow before processing.
Set FPS, width, and clip range
Choose frames per second (5 to 30), an output width in pixels (height follows automatically to keep the aspect ratio), and a start time and duration in seconds so only the segment you want becomes a GIF.
Convert and download
Click Convert to GIF. The tool seeks to each frame, draws it to a canvas, then encodes a GIF89a file in JavaScript. A preview appears with frame count, dimensions, and size, ready to download.
What Each Setting Controls
Four settings shape both the look and the size of your GIF. Because GIF uses a 256-color palette and lossless LZW compression, width and frame count have the biggest effect on file size.
| Setting | Range / Default | Effect on output | Effect on file size |
|---|---|---|---|
| FPS | 5 to 30, default 15 | Higher values look smoother; lower values look choppier | Each extra frame adds size, so more FPS means a larger file |
| Width (px) | Default 480 | Sets output resolution; height is computed to keep aspect ratio | Strongest lever; halving width roughly quarters pixel count |
| Start time (s) | Default 0 | Picks where the clip begins within the source video | No direct effect; pairs with duration to bound the clip |
| Duration (s) | Default 10 | How many seconds are captured from the start point | Total frames equal duration times FPS, so shorter is smaller |
| Color palette | 256 colors, automatic | Each frame is quantized to a 256-color table | Fixed by the format; flat or simple scenes compress best |
Choosing Settings for Your Use Case
Social media reaction clip
Keep it short and snappy. Try 15 FPS, a width near 480 px, and a duration of 2 to 4 seconds. This stays smooth while keeping the file small enough to share easily.
Product or UI demo
Clarity matters more than smoothness. Use a wider output and 12 to 15 FPS, and trim with start time and duration so the GIF shows only the action you want to highlight.
Smallest possible file
Reduce the width first, then drop FPS to 8 to 10, and keep the duration under 5 seconds. Scenes with flat colors and little motion compress best under GIF's palette.
Smooth motion
For fast action, raise FPS toward 24 to 30 and accept a larger file. Pair a higher frame rate with a moderate width so the file stays manageable on the receiving end.
Common Problems and Fixes
The GIF is much larger than the original video
This is expected. GIF uses an older lossless LZW scheme and is far less efficient than modern video codecs. Lower the width, reduce FPS, and shorten the duration to bring the size down.
Colors look banded or washed out
Each frame is reduced to a 256-color palette, so gradients and photographic scenes can show banding. Clips with simpler, flatter colors reproduce more accurately than rich, detailed footage.
Conversion is slow or the tab feels stuck
Frames are extracted by seeking the video one frame at a time and encoding in JavaScript, so long clips, high FPS, or large widths take longer. Trim the clip and lower FPS or width, especially on mobile.
Error loading video or nothing happens
The tool relies on your browser's built-in video support, so a codec the browser cannot decode will fail. Try an MP4 with H.264, and confirm the file is recognized as a video before converting.
How to Convert Video to GIF
Converting video to GIF is simple with our free online tool. Upload your video, adjust settings like FPS and width, then download your animated GIF instantly.
Frequently Asked Questions
Which video formats can I convert to GIF?
Our tool supports MP4, AVI, MOV, WebM, MKV, and most other common video formats.
The conversion uses browser media and Canvas APIs when supported.
No video is uploaded to any server - your files stay on your device.
What FPS should I use for my GIF?
For smooth animation, use 15-24 FPS. For smaller file size, use 10-12 FPS.
Social media GIFs typically use 15 FPS for a good balance.
Very slow GIFs (under 10 FPS) can look choppy but have much smaller file sizes.
How do I reduce the GIF file size?
Reduce the width, lower the FPS, and keep the duration short.
A 480px wide GIF at 10 FPS for 5 seconds is typically under 2MB.
After converting, you can also use our GIF Compressor tool to reduce the size further.
Is there a video length limit?
Practical limits depend on video length, file size, browser support, and device memory.
However, very long videos will create large GIFs. We recommend keeping GIFs under 30 seconds.
Use the start time and duration settings to select just the clip you need.
Why is my GIF larger than the original video?
GIF is an older format that uses LZW compression, which is less efficient than modern video codecs.
A 10-second MP4 might be 1MB, but the same content as GIF could be 5-10MB.
This is normal - reduce dimensions and FPS to manage GIF file size.
Can I convert a GIF back to video?
Yes! Use our Video Converter tool to convert GIF back to MP4 or other video formats.
GIF to video conversion is useful for adding audio or editing in video software.
The resulting video will maintain the original GIF frame rate.
Does this tool work on mobile?
Yes, the tool works on modern mobile browsers including Chrome and Safari on iOS and Android.
Processing is done on-device so performance depends on your device's hardware.
For large videos, a desktop browser will generally produce faster results.
Is my video data private?
Completely. Your video stays on your device.
browser-side workflows use built-in browser APIs and keep the file on your device.
You can use this tool offline once the page has loaded.
Sources and References
Format and tool details on this page are based on the official specifications and documentation below.
- Media container formats- MDN Web Docs
- FFmpeg documentation
- GIF image type- MDN Web Docs
- Graphics Interchange Format (GIF)- Library of Congress