Convert video to GIF

Runs on your device · Your file never leaves your device.

Pick the section you want, set the frame rate and width, and get an animated GIF. Choosing a short section matters: GIF stores every frame separately, so a few seconds is usually the sensible limit.

The palette is generated from your specific clip before the frames are written, rather than using a fixed set of colours. A palette built from the clip itself avoids much of the banding a fixed palette causes.

Lower frame rates and narrower widths cut the size dramatically — 10–15 frames per second looks fine for most clips and is far smaller than the slider’s top of 24.

How to convert video to GIF

  1. Add your video.
  2. Type where the section starts and how many seconds it lasts — a GIF should be short.
  3. Pick the size and frame rate; both drive the file size sharply.
  4. Press Create GIF and download the GIF.

Supported formats and limits

Input
MP4, MOV, WebM and other video
Output
Animated GIF
Section
A start time and a length in seconds, up to 60
Controls
Dimensions and frame rate
Audio
Dropped — GIF has no sound
Where it runs
In your browser; nothing uploaded

Not for: Long clips — GIF is an inefficient format and a few seconds can already run to several megabytes.

Working out the size before you convert

A GIF stores a separate picture for every frame, so the count is the frame rate times the length. The starting values, 12 frames per second for 5 seconds, give 60 pictures; 24 frames per second for 20 seconds gives 480. The width slider runs from 160 to 960 pixels and starts at 480, and the height follows the shape of the video: a 16:9 clip at 480 wide is 270 tall, an upright phone clip 853 tall. Halving the width leaves a quarter of the pixels in each picture.

The other thing that decides the size is how much of the picture changes. Where nothing changes from one frame to the next, only the rectangle that did change is drawn again, so a screen recording or a shot from a fixed camera stays small, while a hand-held shot, where every pixel moves, costs close to a full picture per frame.

A frame rate above the video's own repeats frames instead of adding smoothness. A width above the video's own is not used: the GIF is never made wider than the video, because enlarging only adds blur and bytes.

How the colours are chosen

A GIF can show at most 256 colours. The section is read twice: the first pass builds a palette from it, the second draws every frame with that palette. The palette is counted only from pixels that change between frames, so when the background is still, the colours go to what moves, such as a face or a hand.

The whole GIF shares that one palette. A section that cuts from a dark room to a bright street has to split the colours between both scenes; a section from one scene gets all of them. Smooth areas are filled with a fine, regular dot pattern that stays in place from frame to frame instead of shimmering. The finished GIF loops without end.

Choosing the section

Start and length are typed in seconds, so one minute thirty is 90. The length is capped at 60 seconds. This mode has no player, so to find the second you want, open the same video in the Trim mode of this tool (/trim-video), whose player shows the running time.

The cut is exact to the frame. The engine jumps to the keyframe before your start and decodes forward from there, so a section near the end of a long film does not mean decoding the whole film first. A phone clip stored on its side comes out upright, and the width applies to the upright picture.

Frequently asked questions

Are my files uploaded to a server?
No. This conversion runs inside your browser using your own device’s processing power, and the file is not uploaded. Once a tool has been used once (video, text recognition and background removal download their engine from this site the first time), it keeps working when your connection drops.
Why is my GIF so large?
GIF has no motion compression, so size scales with duration, frame rate and width. Trim the clip, drop to 10–12 fps and reduce the width.
Is the audio kept?
GIF has no sound. Use the MP4 tools if you need audio.

Related tools

More in Video

This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা