Video to GIF

Video to GIF is a free online tool that turns a video into an animated GIF: a funny moment, a reaction, or a few seconds that show how something works. Choose the part of the video, the size, the frame rate and the speed, make it play forwards, backwards or as a boomerang, and see how a frame will look before converting.

Your video is never uploaded anywhere: everything happens inside your own browser. MP4, MOV, WebM and MKV videos work, from phones, cameras, screen recorders and the internet.

Video
Drop your video here
MP4, MOV, WebM or MKV
Upload a video to continue.

How to use this online tool?

  1. Upload the video.
  2. Drag the two ends of the slider to choose the part that becomes the GIF, or type the start and end times, or play the video and use "Current position".
  3. Choose the width, the frame rate, the speed, how the GIF plays and its colors. The preview shows how the paused frame will look.
  4. Click "Convert to GIF", check the result, and click "Download".

How do I make the GIF smaller?

A GIF stores every frame as a picture, so it gets big much faster than a video. These options make it smaller, roughly from the most to the least effective:

  • A shorter part of the video. Half the length, half the size.
  • A smaller width. Half the width is a quarter of the pixels in each frame.
  • A lower frame rate. 10 to 15 frames per second look smooth enough for most GIFs, with half the frames of a 30 fps video.
  • More compression. Pixels that barely change from one frame to the next are left as they were, which saves a lot in videos with a still background or with camera noise.
  • Fewer colors. 64 or 128 colors are often enough, especially for cartoons and screen recordings.

Why only 256 colors?

The GIF format was created in 1987, and each frame of a GIF can have at most 256 colors, while a frame of a video can have millions. The tool picks, for each frame, the 256 colors (or fewer, if you choose) that best represent it. With "One for the whole GIF", it picks one set of colors for all the frames, which keeps the colors from changing slightly from one frame to the next, and is faster.

What is dithering?

With a limited number of colors, smooth gradients, like a sky or a shadow, turn into visible bands. Dithering mixes pixels of two nearby colors in a fine pattern, so that from a normal distance they look like the color in between. "Pattern" uses a regular grid that stays still from one frame to the next, which is the best for animations. "Diffusion" (Floyd–Steinberg) spreads the difference to the neighboring pixels, which looks a bit more natural in a single picture, but can make the pattern crawl in an animation. "None" gives the smallest files, with bands where the colors change.

What do speed and playback do?

Speed makes the GIF play faster or slower than the video: at 2x, two seconds of video become a one-second GIF. Playback chooses the direction: "Backwards" plays the part from its end to its start, and "Boomerang" plays it forwards and then backwards, which makes a seamless loop out of any movement. To reverse a whole video and keep it as a video, use the Reverse Video tool.

Is my video uploaded to a server?

No. This tool has no server side at all. Your video is read and converted by your own browser, and it never leaves your computer.



Related tools

GIF to MP4

Convert an animated GIF into an MP4 video, usually several times smaller, with the same timing and a background of your choice.

Trim Video (lossless)

Cut a part of a video without re-encoding it: no quality loss, done in seconds, right in your browser.

Reverse Video

Play a video backwards: reverse the picture, with the sound reversed too, kept as it is or removed, and download an MP4.

Merge Videos

Join two or more videos into one MP4, in the order you want, without re-encoding when they come from the same camera.

WebM to MP4

Convert WebM videos to MP4: H.264 + AAC to play everywhere, or lossless in seconds, right in your browser.

Content Aware Scale Video

Make content aware scale meme videos: every frame is squeezed with seam carving and stretched back, so faces melt.

Motion Extraction

Make only the movement in a video visible: everything still turns gray, and everything that moves lights up.