Video to GIF

Cut a clip and turn it into a GIF with clean colours

Loadingโ€ฆ

Was this tool helpful?

About this tool

Cut a section out of a video and turn it into a GIF. GIF only supports 256 colours, which is why they often look blotchy - so this tool first collects the colours actually used in that clip, then paints with that palette. Leave the defaults as they are (start at 0s, 5 second length, 12fps, 480px wide) and it turns the first five seconds into a GIF at 12 frames a second and 480 pixels wide. It is slower than a one-shot conversion, but the difference shows on skies, skin and other large areas of similar colour. GIF cannot carry audio at all, though, and size grows sharply with length, frame rate and width, which is why you get a warning past ten seconds.

How to use

  1. Load a video. Length fills in automatically to 5 seconds, or the whole clip if it is shorter.
  2. Adjust the start point and length in seconds.
  3. Choose the frame rate (8-24) and width (240-640px). Those two dominate the file size.
  4. Check the warning that appears past ten seconds and trim the length if needed.
  5. Press Make GIF and watch the progress (building the palette, then painting with it).
  6. Check the preview and download it.

Frequently asked questions

My GIF is far too big.
Length matters most, then frame rate, then width. Going from 5 seconds to 3, 15fps to 10, or 480px to 320px shrinks it noticeably. GIF stores a whole image per frame, so it does not compress the way video does.
What is the two-pass method?
A GIF can hold only 256 colours. A generic palette wastes entries on colours the clip never uses and runs short on the ones it needs, which causes banding. Building a palette from the clip itself (palettegen) and then painting with it (paletteuse) looks far cleaner at the same size.
What happens to the audio?
GIF cannot carry audio at all. If you need sound, keep the video, or pull the audio out separately with the audio extractor.
How long a clip can I make?
There is no hard limit, but past ten seconds you get a warning. Beyond that GIFs easily reach tens of megabytes, which many messengers and forums reject.
Should I lower the frame rate or the width first?
Both matter a lot for size, but width affects how sharp it looks and frame rate affects how smooth the motion is. For mostly-still footage lower the frame rate first; for footage that is not very detailed, lowering the width first costs less.
What if I set the start point past the end of the video?
There is nothing left to read from that point, so the result comes out close to an empty GIF. Keep the start point under the length shown in the file info.
Why can I not control quality and size with a CRF like the video compressor?
GIF stores a complete picture in every frame rather than compressing the way a video codec does. That is why the only levers here are frame rate, width and clip length.
Why is this slower than the other video tools?
Because it runs twice: once to build the palette (palettegen) and once to paint with it (paletteuse). That takes a bit longer than converting an MP4 of the same length, in exchange for a much cleaner result.

Conversion happens entirely in your browser and the file is never uploaded. The two-pass approach takes a little longer than a single-pass conversion of the same length. The first run has to fetch the processor (about 32MB).

Similar tools