The GIF is nearly forty years old and still refuses to die. It plays without a player, loops without being asked, and pastes into chat, email, documentation and forums that would reject a video file. It is also one of the least efficient ways ever devised to store motion, which is why a ten-second clip can weigh more than a full-length song.
This guide explains why GIFs behave the way they do, how to make a small one from a video with the Video to GIF tool, and when it is smarter to go the other way and turn a heavy GIF into MP4 or WebM with the GIF to Video converter. Both run in your browser, so the clip you choose never leaves your device.
How a GIF stores animation
The Graphics Interchange Format arrived in 1987, and the 1989 revision added animation. A GIF is a sequence of small indexed images. Each frame can use at most 256 colours, chosen from a palette, and each pixel is stored as a number pointing into that palette. The pixel numbers are compressed with LZW, a lossless method that finds repeated patterns.
Three consequences follow from this design, and they explain nearly every complaint people have about GIFs:
- Limited colour. 256 colours cannot reproduce a smooth sky or a face without banding. Flat cartoons, screen recordings and diagrams survive well. Photographic footage does not.
- No sound. The format has no audio channel at all.
- Almost no prediction between frames. Video codecs store what changes from one frame to the next. A GIF encoder can only save space where whole areas repeat exactly, so noisy or moving footage is stored nearly frame by frame.
Transparency exists but is all or nothing: a pixel is either fully visible or fully clear, with no soft edges. Frame timing is stored in hundredths of a second, and many browsers treat a delay of 10 milliseconds or less as 100, which is why extremely fast GIFs play slower than their author intended.
Why GIFs are so much larger than video
A modern video codec might store one full picture every second or two and small differences in between. It also uses colour spaces and compression that exploit how human eyes work. For the same visible loop, an MP4 is commonly several times smaller than a GIF, and often more than ten times smaller once the loop has motion across the whole frame.
That is why large platforms quietly convert uploaded GIFs into video behind the scenes, and why web performance guides recommend replacing them with a looping video element on pages. The picture you see looks like a GIF; the file being downloaded is not one.
The four levers that control GIF size
When you make a GIF, you are choosing how many pixels to store in total. The total is width × height × frames, and frames are seconds × frames per second. Because these multiply, small reductions compound.
| Change | Effect on pixels stored | Visible cost |
|---|---|---|
| Halve the width (640 to 320 px) | About one quarter | Less detail, fine on phones and in chat |
| Halve the frame rate (20 to 10 fps) | Half | Slightly choppier motion |
| Halve the length (10 to 5 seconds) | Half | Only the key moment remains |
| All three together | About one sixteenth | A compact, shareable loop |
Sixteen times fewer pixels is the difference between a clip you cannot post and one that loads instantly. The Video to GIF tool exposes exactly these controls: a start and end handle that limit the clip to 15 seconds, widths from 240 to 640 pixels, and frame rates from 8 to 15. It shows an estimate of the file size before you begin, so you can adjust without waiting.
A worked example makes the effect concrete. A five-second loop at 10 frames per second is 50 frames. At 480×270 pixels each frame holds 129,600 pixels, so the loop stores about 6.5 million pixels. Drop the width to 320×180 and each frame holds 57,600, bringing the total to roughly 2.9 million: less than half, with the picture still perfectly clear on a phone. Estimating this before you export tells you quickly whether a clip will fit an upload limit.
Choosing a moment that makes a good GIF
Not all footage suits the format. A good GIF is short, has a clear beginning and end of motion, and loops without a jarring jump. Look for:
- Flat colours and hard edges. Interface recordings and animation compress cleanly. Sunsets and skin tones will band.
- A natural loop point. Start and end on the same pose or state, so the repeat is invisible.
- Limited camera movement. A locked-off shot compresses far better than a pan, because most of the frame repeats.
- Three to six seconds. Anything longer is usually better as a video.
How to make a GIF from a video
- Open the Video to GIF tool and drop in your clip. If it is long, use the Video Trimmer first to isolate the section.
- Drag the timeline handles around the moment you want. The tool limits a GIF to 15 seconds, and the default is 5.
- Choose a width. Use 320 pixels for chat and comments, 480 for documentation, and 640 only when detail matters.
- Choose a frame rate. Ten frames per second suits most loops; use 15 for fast action and 8 when size is the priority.
- Press Make GIF. The progress bar first shows frames being grabbed, then the GIF being built. Preview the result and download it.
Frames are captured by moving to exact time positions rather than recording in real time, so the process does not have to wait for playback. Building the palette and encoding the image is the slower step for long, large clips.
Going the other way: turning a GIF into a video
Sometimes you already have a GIF, perhaps a screen demo or a downloaded reaction, and it is too large, refuses to upload, or stutters on mobile data. Converting it to a video solves all three. The GIF to Video tool reads the delays stored in the file to learn how long one loop lasts, plays the animation, and records it as MP4 or WebM.
A few options matter:
- Repeats. Videos do not loop unless the player is told to, so you can record the animation up to five times in a row to make a longer clip for platforms that expect a minimum length.
- Backdrop colour. Video has no transparency. Transparent areas of the GIF are filled with white or black, so choose whichever matches where the clip will appear.
- Maximum width. Scaling down to 720 or 480 pixels shrinks the result further when the original is oversized.
Recording follows the GIF's own timing, so a five-second animation played twice takes about ten seconds to convert. The motion speed is unchanged.
GIF or video: which should you use?
| Destination | Best choice | Reason |
|---|---|---|
| Email newsletter | GIF, kept small | Many mail clients block video but display images |
| Documentation or README | GIF | Renders inline with no player |
| Website hero or feature loop | MP4 or WebM | Much smaller, faster and sharper |
| Instagram, TikTok, ad platforms | MP4 | They expect video files |
| Chat and comment sections | Either | Depends on the app; most accept both |
On your own pages, a looping video needs only a few attributes. Autoplay works reliably when the video is muted and set to play inline:
<video src="loop.mp4" autoplay loop muted playsinline></video>
Motion, accessibility and taste
Animated content affects people differently. The Web Content Accessibility Guidelines ask that anything that moves automatically for more than five seconds can be paused, stopped or hidden, and they warn against content that flashes more than three times in one second, which can trigger seizures in some viewers. Short loops rarely break these rules, but a fast strobe effect can, so avoid it.
Respecting the reduced-motion preference on your pages is also considerate: users who enable it in their operating system should see a still image instead of an endless loop. Finally, only convert footage you have the right to use. Turning someone else's film clip into a GIF does not make it free to redistribute.
Troubleshooting
- The GIF is still too big. Reduce width to 240 or 320 pixels, drop to 8 fps, and trim the loop by a second. Choose a scene with fewer moving areas.
- Colours look blotchy. That is the 256-colour limit. Pick a section with simpler colours, or use a video instead.
- The video will not open. Your browser may not support its codec. Convert it with the Video Converter and try again.
- The converted GIF plays too fast or slow. Some GIFs contain very short frame delays, which browsers slow down. The converter follows the same rule, so what you see is what you get.
If your clip also needs still images or a poster frame, the guide to extracting frames and making thumbnails covers that workflow.



