Skip to content
Toolew.com

Video to GIF

Turn a video clip into an animated GIF with custom start, length, frame rate, width, colours and dithering.

This tool sends a request to jsDelivr CDN (one-time engine download). This tool downloads a larger processing engine the first time you use it.
Loading tool…

Tool guide

What this tool does

Video to GIF converts a section of an MP4, WebM, MOV or MKV file into a looping animated GIF. It builds an optimised 256-colour palette from your clip first, so skin tones and gradients look far cleaner than a one-pass conversion, and it lets you trade quality against file size with frame rate, width and colour settings.

GIFs still work in places that refuse video: README files, documentation, email newsletters, chat apps and many issue trackers. The catch is that the GIF format is old. Each frame can hold at most 256 colours and there is no inter-frame compression of the kind modern codecs use, so a careless conversion produces either banded, speckled colours or a file of 30 MB for ten seconds of footage.

This converter runs a WebAssembly build of FFmpeg inside your browser. It samples your clip to generate a palette tuned to that footage (palettegen), then maps every frame onto that palette with the dithering method you choose (paletteuse), and only redraws the rectangle that changed between frames. The video never leaves your device; the only download is the engine itself, about 31 MB the first time, which your browser then caches.

How to use Video to GIF

  1. Drop a video file onto the upload area or click to choose one.
  2. Play the preview and use “Set start to current time” and “Set end to current time” to mark the clip, or type Start time and End time in seconds.
  3. Pick a preset (Small, Balanced, High quality) or set Frame rate, Width, Colours and Dithering yourself.
  4. Leave “Loop forever” on for a classic repeating GIF, or switch it off to play once.
  5. Click Create GIF and watch the progress bar; use Cancel if you want to change settings.
  6. Preview the animation, compare the file size, then click Download.

Tips for better results

  • Width has the biggest effect on size: halving the width roughly quarters the number of pixels per frame.
  • 10 to 12 fps looks smooth for screen recordings and reactions; 20 fps or more is only worth it for fast motion.
  • Use “None” dithering for flat UI captures and diagrams, and Sierra for footage with skies or skin gradients.
  • Keep clips under about 15 seconds. If you need longer, a muted MP4 is usually a tenth of the size and plays almost everywhere.

Common use cases

  • Showing a software feature in a GitHub README or a help-centre article.
  • Making a reaction GIF from a short phone video.
  • Adding a product demo loop to an email campaign where video is not supported.
  • Turning a screen recording into an animated step for a tutorial.

Common mistakes to avoid

  • Converting a whole minute of 1080p video: the result can exceed 50 MB and many platforms reject GIFs over 10 to 15 MB.
  • Using 256 colours and high frame rate together for a chat sticker, when 64 colours at 10 fps looks almost identical at a fraction of the size.
  • Expecting sound: the GIF format has no audio track, so any audio in the video is discarded.

Frequently asked questions

Why does the first conversion take longer?

The FFmpeg engine (about 31 MB) is downloaded from the jsDelivr CDN the first time you convert. After that it is served from your browser cache. Your video is processed locally and is not uploaded.

How can I make the GIF smaller?

Reduce the width first, then the frame rate, then the number of colours. A 480-pixel-wide clip at 12 fps with 128 colours is a good balance; 320 pixels at 10 fps with 64 colours suits chat apps.

What does dithering do?

Because a GIF frame can only show 256 colours, dithering mixes neighbouring pixels to simulate in-between shades. It hides banding in gradients but adds noise, which slightly increases file size. Flat graphics usually look best with no dithering.

Which video formats can I use?

Any format the bundled FFmpeg build can decode, including MP4 (H.264 or H.265), WebM (VP8 or VP9), MOV, MKV and AVI. If your browser cannot preview a file you can still type the start and end times manually.

Related articles

Feedback & suggestions

Help us improve Video to GIF. We read every message.

Rating (optional)
Necessary
Required for security, language and theme preferences. Always on.