How to Make a GIF from a Video
By GIF Toolkit · 6 min read ·
Turning a video into a GIF takes a couple of minutes, but the choices you make before you press the button decide whether the result looks good or weighs 40MB. This guide walks through each decision in the order you will meet it.
Start by choosing the right moment
The single biggest factor in a good GIF is the clip itself. A GIF has no sound and usually plays in a loop, so it works best when the action is understood in two to five seconds. A reaction, a goal, a product demo step or a punchline all fit. A scene that needs dialogue to make sense does not.
Scrub through your video first and note the start and end times. Aim to begin just before the action and end just after it. Dead frames at the start of a GIF waste file size and make the loop feel slow, so be strict about where you cut.
Trim before you convert
Every second of video becomes a stack of full-color frames, so length has a direct, linear effect on file size. A 3-second clip at the same settings will be roughly half the size of a 6-second one. If your GIF turns out too large, trimming is nearly always the cheapest fix because it costs nothing in visual quality.
In the Video to GIF tool you set a start and end time, so you can pull a short section out of a long video without editing it elsewhere first. Large source files are fine, since only the selected section is converted.
Pick a frame rate
Video is usually 24, 30 or 60 frames per second. A GIF rarely needs that. Between 10 and 15 frames per second looks acceptably smooth for most content and keeps the file manageable. Our tools default to 12.
Raise the frame rate when the motion is fast, such as sports, gameplay or quick camera pans, because low frame rates make fast movement look choppy. Lower it for slow, calm scenes, since a talking head or a slow zoom looks fine at 8 to 10 frames per second.
Choose a width
Width is the second big lever on file size, because the number of pixels per frame grows with the square of the width. Halving the width makes each frame about a quarter of the pixels. For most uses, 480 to 640 pixels wide is a good balance. For chat emoji or small inline images, 128 to 256 pixels is plenty.
You only need to set the width. The height follows automatically so the picture keeps its proportions and nothing gets stretched. Scaling uses Lanczos resampling, which keeps edges noticeably crisper than the default browser-style scaling when shrinking footage.
Understand the quality setting
A GIF can only use up to 256 colors per image, so a full-color video has to be reduced to a palette. Good converters build a palette tailored to your clip rather than using a generic one, and then map each frame onto it. That two-step approach is what keeps skin tones and gradients from looking muddy.
The quality setting controls how large that palette is and whether dithering is used. Dithering scatters pixels of nearby colors to imitate shades the palette lacks, which smooths gradients but adds noise that makes the file bigger.
- High: 256 colors with Floyd–Steinberg dithering. Best for photographic footage and gradients, largest file.
- Balanced: 128 colors with ordered (Bayer) dithering. A good default for most clips.
- Small: 64 colors with no dithering. Smallest file, suits flat-color animation, screen recordings and simple graphics.
Check the result before you share it
After conversion, look at the preview and the reported file size. Check the loop point, because an awkward jump from the last frame to the first is the most common thing people notice and fix later. If the size is higher than the place you are posting allows, go back and cut length first, then width, then frame rate, in that order.
If the GIF is already made and only needs shrinking, you do not have to start over. The GIF Compressor re-encodes an existing GIF, and the GIF Resizer changes its dimensions.