A video to GIF converter turns a clip from a video into an animated GIF that you can post, message or put on a web page. Choose a video, pick the width and the number of frames per second, say where the clip starts and how long it should run, and the GIF is made in your browser. Nothing is uploaded, the video is not changed, and the GIF is silent.
What a GIF is
Wikipedia explains that GIF is a format released by CompuServe in 1987, led by Steve Wilhite. A GIF can hold several images in one file, and when they are shown one after the other they form an animation. Each frame is palette-based and can use up to 256 colours, and the file is compressed with LZW, a lossless method. By default an animated GIF plays once and stops. Netscape Navigator 2.0, in September 1995, added the ability for animated GIFs to loop, and the GIFs made here are set to loop.
How to use the video to GIF converter
- Choose a video in MP4, M4V, MOV, WebM or MKV format.
- Pick the width: 320, 480 or 640 pixels. The height follows the video's shape.
- Pick the frames per second: 5, 10 or 15.
- Enter the start time in seconds, and the length of the clip, up to 15 seconds.
- Press Make GIF and download the result.
How the clip is made
The converter works out the moments to capture: from your start time it takes one frame every 1 divided by the frames per second, for the length you asked. At 10 frames per second for 5 seconds that is 50 frames, and each is shown for 100 milliseconds. The frames are scaled to your chosen width, a colour palette of up to 256 colours is chosen for each frame, and the frames are written into one GIF that loops.
Choosing the width and the frame rate
A GIF stores every frame as its own image, so the file size grows quickly with the number of frames and with the size of each frame. The size is about proportional to the number of frames and to the area of each frame. Wikipedia notes that GIF is often replaced by MP4 for video, and that packing separate frame images into one file tends to give large files. To keep a GIF small, use a narrow width, a low frame rate and a short clip. A 5 second clip at 10 frames per second and 480 pixels wide is a good place to start. For smoother motion, raise the frame rate to 15 and keep the clip short.
Worked example
You have a 40 second video and want the 6 seconds that start at 12.5 seconds. Enter 12.5 as the start and 6 as the length, with 10 frames per second. The converter captures 60 frames, at 12.5, 12.6, 12.7 and so on up to 18.4 seconds. If your clip starts near the end, the length is cut to fit: a start of 38 seconds with a length of 6 gives only the 2 seconds that are left, which is 20 frames at 10 frames per second.
Colours and quality
Because a frame holds at most 256 colours, photographs and smooth gradients can look grainy or show bands of colour in a GIF. Wikipedia points out that this palette limit makes GIF less suitable for photographs and images with gradients. Clips with flat colours, such as screen recordings, cartoons and simple animations, look better. The converter chooses a fresh palette for every frame, which helps keep the colours close to the original.
Limits and privacy
A GIF is limited here to 15 seconds, 15 frames per second and 640 pixels wide so that your browser can finish the job. The file is processed on your device, so the video is never uploaded. If your browser cannot read the video, for example because it uses an unusual codec, the converter tells you. Close the page to clear the files from the tool.
Tips
- Trim to the best few seconds. Short GIFs load faster and loop better.
- Use the same start and end pose so the loop looks smooth.
- Choose a small width for chats, and a larger one for web pages.
- If the file is too big, lower the frame rate before you lower the width.
GIF or video?
A GIF is not always the best choice. Wikipedia says that GIF is often replaced by MP4 for video, and that short video clips are sometimes called GIFs even though they have no relation to the format. A short MP4 clip is usually much smaller than a GIF of the same scene, and it can carry sound. Choose a GIF when the place you are posting to expects one, when you need a picture that plays and loops with no controls, or when you want to paste it into a document or message that does not accept video. Otherwise, keep the video.
Which videos work
The converter reads MP4, M4V, MOV, WebM and MKV files, as long as your browser can decode the video inside them. Most files from phones, screen recorders and cameras work. A video that the browser cannot decode, such as one in an unusual or protected format, cannot be converted here, and the tool will say so instead of making a blank GIF.
Common mistakes
- Choosing a long clip. The file gets large and slow to load.
- Expecting sound. A GIF made here has no audio.
- Starting after the end. The start time must be inside the video.
- Using a very small width for text. Words in a screen recording need more pixels to stay readable.
What next
Use this often? Add Video to GIF to your Home screen.
Frequently asked questions
What is a video to GIF converter?
A tool that turns part of a video into an animated GIF, a picture file made of several frames shown one after the other.
How do I convert a video to GIF?
Choose the video, pick a width and a frame rate, set the start time and length, and press Make GIF.
How long can the GIF be?
Up to 15 seconds. Long GIFs make very large files.
Why is my GIF file so big?
A GIF stores each frame as a separate image. Use a smaller width, fewer frames per second or a shorter clip.
Does the video to GIF converter upload my video?
No. The GIF is made in your browser and the video stays on your device.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.