Video to GIF Converter

Turn part of a video into a GIF, with speed, loop and boomerang options.

Select Video File

Drop your video here or click to upload

Not Playable in Browser

This format cannot be previewed, but you can still convert it by entering the start and end times manually below.

Settings

Conversion complete!

Rate this tool

How useful was this tool?

Video to GIF Converter

Choose a video under Select Video File, or drop it on the page, and pick the part you want. Then set the GIF under Settings:

  • Width (pixels): from 100 to 1280.
  • Frames Per Second (FPS): from 5 to 30.
  • Playback speed: 0.5×, 1× (normal), 1.5×, 2× or 3×.
  • Loop: Loop Forever, 3 times or Play once.
  • Boomerang: play forward, then backward.
  • Quality: from Best to Low.

Click Convert to GIF, and Download GIF when it’s done. Cancel stops a conversion that’s taking too long.

The whole conversion runs in your browser. Your video is never uploaded, which also means it works the same for a private clip as for a public one.

Which videos work

You can choose MP4, M4V, MOV, MKV, WebM, AVI, WMV, FLV, MPG, MPEG, 3GP, TS and OGV files, or any other file your browser recognises as video.

Files up to 2 GB can be processed. A bigger one is refused with a message such as “This file is 2.4 GB. Files up to 2.0 GB can be processed in the browser.” Since the whole file is held in your browser’s memory, the real limit on a phone or an older computer may be lower. A GIF only needs a few seconds anyway, so for a long video, cut out the part you want first with the Video Trimmer.

Example

A 4-second piece of a video, 320 pixels wide, at 15 frames per second with the Best quality, gives:

320 × 240 · 15 fps · 4.0 s · 60 frames · 732.0 KB

That’s 4 seconds × 15 frames per second = 60 frames, each 320 × 240 pixels.

The summary lists speed, boomerang and loop as well, whenever they’re not left at normal speed and forever. Two real lines from the same 4-second clip:

320 × 240 · 15 fps · 4.0 s · 60 frames · 2× · boomerang · loops 3 times · 780.1 KB

At 2×, the 4 seconds become 2. The boomerang plays them forward and back, which brings the GIF back to 4 seconds, and it plays three times.

320 × 240 · 10 fps · 8.0 s · 80 frames · boomerang · plays once · 1.00 MB

At normal speed, the boomerang doubles the 4 seconds to 8. At 10 frames per second that’s 80 frames, played once.

Choosing the part of the video

Most videos show a preview, so you can find the moment you want and set where the GIF starts and ends.

Some formats, such as AVI, can’t be played by your browser. Instead of a preview you’ll see Not Playable in Browser, but the video can still be converted: type the Start Time (Seconds) and End Time (Seconds) yourself.

Keep it short. A GIF works best at a few seconds. For anything longer, a different format is usually better (see the end of this page).

Width and frame rate

Width runs from 100 to 1280 pixels, and the height follows the video’s shape. The GIF is never made wider than the video itself. A 320-pixel video stays 320 pixels wide, even with the slider at 1280, because enlarging it would only add size, not detail.

Frames per second runs from 5 to 30. 10–15 fps is smooth enough for most GIFs. Video’s usual 30 fps doubles the frames for little visible gain.

A detail about frame rates: a GIF stores each frame’s duration in hundredths of a second. Rates that divide 100 evenly, such as 5, 10, 20 or 25 fps, play at exactly that speed. Others, such as 15 fps, are rounded slightly, frame by frame, and play fine.

Speed

Playback speed changes the timing of the frames before the frame rate is applied:

  • At 2×, a 4-second piece becomes a 2-second GIF with half the frames. So speeding up also makes the file smaller.
  • At 0.5×, the same piece becomes an 8-second GIF in slow motion, with twice the frames and roughly twice the size.

Speeding up is a good way to fit a slow process, like a page loading or a screen recording, into a short GIF. To change the speed of a video and keep it as a video, use the Video Speed Controller.

Loop

Loop Forever, 3 times or Play once is written into the GIF itself, in its loop setting, so browsers and image viewers follow it. The summary shows it as “loops 3 times” or “plays once”.

Some apps ignore it. Social networks and messengers often turn uploaded GIFs into short videos that loop on their own terms. If a GIF must stop after one play, check how it looks where it’ll actually be shown.

Boomerang

Boomerang: play forward, then backward plays the piece forward and then in reverse, so the GIF ends exactly where it began. That makes the loop seamless: there’s no jump back to the start. It works best for movement that makes sense in both directions: a wave, a nod, a swing, an object turning.

The length doubles, and so do the frames and roughly the size. When the piece is longer than 10 seconds, the tool says so:

The boomerang plays the piece forward and back, so the GIF is twice as long; keep the piece short.

A boomerang of a second or two loops just as well and stays small.

Quality: colours and dithering

A GIF can only use 256 colours per frame, while video has millions. The quality options say exactly how the tool deals with that:

Quality What it does
Best: 256 colours, smooth dithering (largest file) Uses every colour a GIF allows, and blends the missing shades with fine dots.
High: 256 colours, patterned dithering Same colours, blended with a regular pattern, which compresses better.
Medium: 128 colours Fewer colours, a smaller file.
Low: 64 colours, no dithering (smallest file) The fewest colours, nothing blended.

Dithering fakes the colours a GIF can’t show by mixing dots of the ones it can. That’s what keeps a sky or a soft shadow smooth instead of breaking into bands. But all those dots also make the file bigger, because they compress poorly.

So match the quality to the footage:

  • Real-world video, with faces, skies and gradients, needs Best or High.
  • Screen recordings, interfaces, cartoons and text, with flat colours and sharp edges, often look just as good at Medium or Low, at a fraction of the size.

Keeping the size down

GIF is an old and inefficient format, and sizes grow fast. When a GIF would have more than 300 frames, the tool warns before you convert:

About 1200 frames: this will be a very large GIF. A shorter piece, fewer frames per second, a smaller width or a higher speed keeps it small.

The count takes speed and boomerang into account. In order of impact:

  1. Width. Doubling the width means four times the pixels in every frame. 320–480 pixels is plenty for most uses.
  2. Length. Every second adds frames. Cut to the moment that matters.
  3. Frames per second. 10–15 fps instead of 30 halves the frames.
  4. Speed and boomerang. Speeding up removes frames. Slowing down and boomerang add them.
  5. Quality. Fewer colours and no dithering shrink every frame.

GIF, or something better?

GIF’s strength is that everything plays it: email, documents, chat apps, old software. For your own website, though, there are much smaller options:

  • Animated WebP: full colour, and usually far smaller than the same GIF. Use Video to WebP.
  • Animated PNG (APNG): full colour and transparency, with no 256-colour limit. Use Video to APNG.
  • A short muted video that autoplays and loops is the smallest of all. Page speed tests such as Google’s Lighthouse recommend it over large GIFs. Use the Video Compressor to shrink it first.

FAQ

Why is my GIF so big?

GIF compresses video poorly. Check the summary: the number of frames times the width and height is what you’re paying for. Reduce the width first, then the length and frames per second, then the quality.

Why is my GIF smaller than the width I chose?

The GIF is never made wider than the video itself. A video only 320 pixels wide gives a 320-pixel GIF, whatever the slider says, because enlarging it would only add size, not detail.

Why does it look grainy or banded?

Grainy means dithering at work: dots standing in for colours a GIF doesn’t have. Banded means there’s no dithering, so gradients break into steps. Real-world footage looks best at Best or High. If size matters more, try a smaller width before cutting colours.

Does the GIF have sound?

No. GIF is an image format and can’t carry sound. To keep the audio, keep it as a video, or extract the sound with Video to MP3.

Is my video uploaded?

No. The conversion runs in your browser, and the video never leaves your device.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us