How to Convert Video to GIF
- Upload an MP4 or WebM video using the file picker or drag-and-drop. A preview player appears.
- Set the Start time and Duration to capture the exact clip you want. Keep clips under 5 seconds for shareable file sizes.
- Adjust the Width and FPS — lower values produce smaller GIFs.
- Click Create GIF. The animated GIF is generated in your browser and downloads automatically.
How It Works — Browser-Based GIF Generation
This tool uses a pure JavaScript GIF encoder. The browser plays the video element silently, seeks to the start time, and captures frames at the chosen frame rate by drawing each one onto a hidden Canvas element. The pixel data from each frame is fed into the GIF encoder, which builds the LZW-compressed GIF file entirely in memory. When the clip ends, the encoder finishes writing the GIF byte stream and triggers a download.
No video data is uploaded. Processing happens entirely in your browser using the File API and Canvas API. Supported input: any video format your browser can play — typically MP4 and WebM.
Frequently Asked Questions
Why is my GIF file so large?
GIF uses palette-based compression, so longer clips, higher resolutions, and more FPS all increase file size significantly. Keep clips under 5 seconds, reduce width to 400px or less, and use 10–15 FPS for social-media-friendly sizes.
What video formats are supported?
Any format your browser can play — MP4 (H.264) works in all major browsers. WebM, MOV, and OGG are supported in most browsers too.
Can I control which part of the video is converted?
Yes. Use the Start and Duration fields to capture exactly the clip you need. Shorter clips produce smaller, faster-loading GIFs.
Related Tools