Skip to content

Video to GIF converter

Choose a video, mark the part you want with the two sliders while you watch it, and pick the width, frames per second and colors. Before making the GIF you see how big it will be, worked out from samples of your own video. The GIF is made in your browser, with no watermark, and the video is never uploaded.

Works anywhere in the world, wherever you are.

Turn a video into a GIF

The video is never uploaded: frames are read and the GIF is made in your browser.

About this calculator

How it works

Your browser's video player opens the file and the tool takes one frame every 1/5, 1/10, 1/15, 1/20 or 1/25 of a second, as you choose, scaled to the width you asked for. To be quick it plays the part at double speed and keeps frames as they appear; when it can't, it steps from frame to frame.

Each frame is reduced to at most 256 colors, the GIF format's limit, with median cut: it picks the colors that best represent that particular frame, so each frame carries its own palette. With dithering on (Floyd–Steinberg), each pixel's color error is spread to its neighbours, so gradients look smooth instead of banded.

Then each frame is compressed with LZW, the method the GIF89a specification defines. When only part of the picture changes, only that rectangle is stored, and a frame identical to the one before just lengthens the previous frame instead of repeating it. All of this runs in the background (a Web Worker) so the page doesn't freeze.

Getting the best quality

A GIF is never identical to the video: it has at most 256 colors per frame and no sound. To get as close as possible, use 256 colors, keep dithering on, raise the width, and use 15 frames per second or more for fast motion.

Each of those settings makes the file heavier. Size grows roughly with the square of the width and with the number of frames: doubling the width quadruples the area, and going from 10 to 20 frames per second doubles the frames. That is why it pays to trim just the part you need.

Scenes with little movement (a screen, a person talking in front of a still background) make much lighter GIFs than handheld footage, because only what changes is stored.

Estimated size and timing

The estimated size doesn't come from a generic formula: the tool actually encodes a few frames of your part with your settings and works out the total from them. It is still an estimate, because motion changes through the video.

GIF measures each frame's time in hundredths of a second. At 15 frames per second a frame should last 6.67 hundredths, so frames of 7 and 6 hundredths alternate and the GIF lasts exactly as long as the part you chose.

You can make the GIF loop forever or play once and stop on the last frame.

On iPhone and Android

It works in the phone's browser. Tap “Choose a video”, pick one from your gallery and follow the same steps. On iPhone, Safari saves the GIF to the Files app, in the Downloads folder.

If your browser can't play a video, it can't read its frames either. That happens mostly with iPhone HEVC videos on some Windows computers; in that case try Safari on a Mac or on the iPhone itself.

GIF, MP4 or WebP?

GIF was created in the 1980s for images with few colors, not for video. That is why a short clip as a GIF usually weighs a lot more than the same clip as an MP4.

If the site or app where you'll use it accepts MP4 video or animated WebP, those look better and weigh less. For a short, light MP4 you can use the video compressor. GIF remains the most compatible choice for email, forums, documents and chats that only take images.

Important limitations

  • Up to 1,500 frames per GIF (one minute at 25 frames per second) and at most 250 million pixels across all frames, so the device doesn't run out of memory.
  • The maximum width is 800 pixels; a smaller video is never enlarged.
  • It only works with videos your browser can play.
  • The GIF has no sound and at most 256 colors per frame.
  • It makes GIFs. It doesn't make animated WebP or MP4.

Frequently asked questions

Not entirely: GIF allows at most 256 colors per frame and stores no sound. With 256 colors, dithering and a large width the result looks very close to the video, at the cost of a heavier file.

There is no watermark. The limit is 1,500 frames and 250 million pixels in total, which at 480 pixels wide and 10 frames per second covers more than two minutes of landscape video.

No. The video is opened and the GIF is made in your browser. Neither the file nor its name is sent anywhere.

Because GIF stores every frame as an image with its own palette and a compression designed for drawings. Lower the width or frame rate, shorten the part, use fewer colors or turn dithering off.

No: the GIF format doesn't support sound. If you need sound, share the part as an MP4 video.

A good starting point is 320 pixels wide, 10 frames per second, 128 colors and no dithering, with a part only a few seconds long. Check the estimated size before making it and adjust from there.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.