Video to GIF Converter

Turn a short clip, up to 15 seconds, into an animated GIF without the video leaving your device.

  • Free
  • No signup
  • Files stay on your device
  • Converters

How to use the Video to GIF Converter

  1. Choose a video file or drop it onto the tool. It opens locally and is not uploaded.
  2. Set the start time and the length. The default is the first 5 seconds and the maximum is 15.
  3. Pick the width and frames per second, and switch looping and dithering on or off. Check the frame count and the rough size.
  4. Press Make GIF and keep the tab in front while it works. You can cancel at any time.
  5. Check the preview and the file size, then download the GIF.

How the GIF is made

The tool seeks through your clip one frame at a time, draws each frame at the output size and reads its pixels. It first samples up to 16 frames across the clip and builds one palette of up to 256 colors with a method called median cut, then uses that same palette for every frame. One shared palette keeps colors from flickering between frames. The frames are then compressed with LZW, the lossless compression used by the GIF format. All of this happens in your browser.

Why GIFs are large, and how to keep them small

GIF stores each frame as a picture and has nothing like the motion compression in MP4, so a GIF is often larger than the video it came from. The amount of data before compression is width x height x frames, and frames = length x frames per second. A 5 second clip at 480 x 270 and 10 fps has 50 frames and 6.48 million pixels. Going from 480 to 320 pixels wide cuts the pixel count by about 56 percent, and going from 15 to 10 fps cuts it by a third. The most effective steps are a shorter clip, a smaller width, a lower frame rate, and turning dithering off. Steady shots, plain backgrounds and screen recordings compress far better than handheld footage or film grain.

Dithering: on or off

With only 256 colors, skies, skin and gradients can show visible bands. Dithering hides the bands by mixing dots of nearby palette colors, here with the Floyd-Steinberg method, which passes each pixel's color error on to its neighbors. The cost is size, because fine dots compress badly. Leave it on for filmed footage, and turn it off for screen recordings, cartoons, logos and flat graphics.

Frame rate, timing and limits

GIF measures time in hundredths of a second, so some frame rates cannot be stored exactly. At 15 fps a frame should last 6.67 hundredths, so the tool alternates between 6 and 7 to keep the total time right. Clips are limited to 15 seconds and 640 pixels wide, GIFs have no sound, and transparent video is placed on black. The file has to be one your browser can play: H.264 MP4 and WebM work nearly everywhere, while HEVC depends on the browser and ProRes or AVI usually do not open.

Frequently asked questions

Is my video uploaded?

No. Your browser opens the file from your device, and the palette, the frames and the GIF are all made on the page. The video and the GIF are never sent to a server, and there is no signup or watermark.

How long can the GIF be?

Up to 15 seconds. The source video can be much longer, because you choose which part to convert. The limit is there because longer GIFs quickly become too large to share.

Why is my GIF bigger than the video?

Video formats store mostly the changes between frames, while this GIF stores every frame in full with simple lossless compression. Try a shorter clip, 320 pixels wide, 8 or 10 frames per second, and dithering off. If the place you are posting accepts MP4, a video will be smaller and look better.

How accurate is the size estimate?

It is a rough range. The real size depends on how much detail, grain and motion the clip has, and that is only known after compression. Very simple footage can land below the range and noisy footage can land above it.

Why does my file not open, or fail partway?

Usually the browser has no decoder for it, which is common with HEVC (H.265) from phones, ProRes and AVI. Try Safari for HEVC, or convert the file to H.264 MP4 first. If a position never decodes, the tool stops with a message. Keeping the tab visible helps, since browsers slow down background tabs.

Which settings should I start with?

480 pixels wide at 10 frames per second with dithering on is a good first try for footage. For chat and email, use 320 pixels and 8 frames per second. For a screen recording where text must stay readable, use 640 pixels, 8 frames per second and no dithering.

Take it further in VideoShipper

Need something longer than a GIF, with sound? Start from a motion template, edit it in your browser and export it as a video in VideoShipper.

All free video tools