Video to GIF

Convert video clips to animated GIFs with trim — no upload

🔒 Files never leave your browser
Files never leave your browser

Drop a video file here or click to browse

Supports MP4, WebM, MOV and other browser-supported formats

How to Use Video to GIF

Upload video

Upload an MP4, WebM, or MOV video file.

Configure

Set start/end time, FPS, and output width.

Convert

Click Convert and download the generated GIF.

Why Choose AllTools Video to GIF?

  • 🎥 Convert MP4, WebM, and MOV to GIF
  • ✂️ Trim start and end time before converting
  • 🎮 Adjustable FPS control (5-24 frames per second)
  • 🔄 Resize output width for smaller file sizes
  • 🎨 Quality slider for file size vs sharpness control
  • 📊 Real-time conversion progress indicator
  • 👁️ Preview video before converting
  • 📥 One-click download of generated .gif file
  • 🔒 Files never leave your browser — 100% private
  • 📱 Works on desktop and mobile browsers
  • 🆓 Completely free with no watermarks or limits

Why Use This Tool

  • No file uploads — video processing happens entirely in your browser
  • Completely free with no watermarks or time limits
  • No account or registration required
  • Trim and resize before converting to control file size
  • Works on desktop and mobile browsers

How Video to GIF Conversion Works in the Browser

Converting video to GIF in the browser uses the HTML5 Canvas element and gif.js library. The process works by playing your video frame-by-frame using a hidden video element, capturing each frame as a canvas image at your specified FPS rate, and then encoding those frames into the GIF89a format using gif.js Web Workers. The trim feature limits which portion of the video gets frame-captured, and the width setting scales each canvas frame before encoding. Lower FPS means fewer frames are captured per second, resulting in a smaller file. The GIF format uses LZW compression and a 256-color palette per frame, which is why GIFs are best for short clips, screen recordings, and simple animations rather than long high-resolution video. All processing runs on your device using JavaScript and Web Workers — no server upload, no cloud processing, no privacy concerns with your video content.

Tips for Creating High-Quality GIFs from Video

The three main levers for GIF quality and file size are duration, frame rate, and resolution. Keep clips under 10 seconds for manageable file sizes — a 5-second clip at 10 FPS and 480px width typically produces a 2-5 MB GIF. For social media and messaging, aim for under 8 MB. Use 10-12 FPS for smooth-looking movement; 5-8 FPS works for slower content like presentations or tutorials. Reduce width to 320-480px for web use — most platforms resize GIFs anyway. For the best visual quality, start with a high-resolution source video and let the tool downscale. Screen recordings and UI demos make excellent GIFs because they have flat colors and limited motion, which GIF compression handles efficiently. For clips with lots of color gradients or fast motion, consider trimming to the most essential moment. After creating your GIF, use the Image Compressor if you need to reduce file size further.

Related Resources

Frequently Asked Questions

What video formats can I convert to GIF?
MP4, WebM, MOV, and any other format your browser can natively play. Most modern browsers support a wide range of video codecs.
Does my video get uploaded to a server?
No. The entire conversion happens in your browser using Canvas frame capture and gif.js. Your video file never leaves your device.
Can I trim the video before converting?
Yes. Set a start time and end time to convert only a specific clip from your video, which also keeps the GIF file size smaller.
How can I reduce the GIF file size?
Lower the FPS (5-8 is good for most uses), reduce the output width, and trim to a shorter clip. These three factors have the biggest impact on file size.
What FPS should I use for a smooth GIF?
10-12 FPS looks smooth for most content. 5-8 FPS works for slow-motion or presentations. 20-24 FPS produces video-like smoothness but much larger files.
Is there a file size or duration limit?
No strict limit. Processing happens in your browser, so capacity depends on your device memory. Shorter clips convert faster.
Does this work on mobile phones?
Yes, but conversion may be slower on mobile devices due to limited processing power. Desktop browsers deliver faster results.
Which browsers are supported?
All modern browsers including Chrome, Firefox, Safari, Edge, and Opera on both desktop and mobile.
Can I control the GIF quality?
Yes. Use the Quality slider to balance sharpness and file size. Lower values produce smaller files with fewer colors, higher values produce sharper GIFs. The default of 10 is a good balance.
Why is my GIF larger than the original video?
GIFs use lossless LZW compression per frame, while videos use temporal compression across frames. A 5-second GIF can be 5-10x larger than the equivalent MP4. Reduce width, FPS, or duration to shrink file size.

Related Articles

Related Tools

Video

Screen Recorder

Record your screen with optional audio — private

Video

Video to MP3

Extract audio from any video file — no uploads, 100% private

Image

Image Compressor

Compress images with presets and before/after preview

Image

GIF Maker from Images

Create animated GIFs from images — custom delay and loops

Video

Video Trimmer

Cut and trim videos right in your browser — no upload needed

Video

Video Compressor

Reduce video file size without leaving your browser