Skip to content
Pixora
VideoGIFHow-to

How to make a GIF from a video

A GIF is a wonderful way to share a two-second reaction and a terrible way to share anything longer. Here is how to make one that loops cleanly without ballooning into a file bigger than the video it came from.

By Updated 20 July 20265 min read

GIFs are perfect for one thing: a short, silent, looping moment — a reaction, a quick demo, a two-second clip that plays instantly in a chat. They are terrible for almost everything else, because the format dates from 1987 and has no idea how to compress video the way a modern codec does. Understanding that one limitation is the key to making GIFs that stay small.

This guide explains why GIFs balloon, the three levers that control their size, and how to turn a clip into a tidy loop without it ending up larger than the MP4 you started with.

Why are GIF files so large?

A modern video codec like H.264 stores one full frame and then, for every frame after it, only what changed. A GIF cannot do that in any meaningful way. It stores frames much more crudely, is capped at 256 colours per frame, and has no audio to justify the bulk. The result is that a five-second clip which is a 1MB MP4 can become a 15MB GIF — larger, uglier, and silent.

This is why a GIF should almost never be your delivery format for anything longer than a few seconds. But when you do want that instant-looping charm, the size is entirely under your control, because it comes down to three multipliers.

What controls the size of a GIF?

GIF file size is roughly the number of frames times the pixels in each frame. That gives you three dials, and turning any of them down cuts the file fast.

The three levers and their effect on GIF size.
LeverWhat it doesEffect on file size
DurationFewer seconds means fewer framesLarge — cut length first
DimensionsA smaller width and heightLarge — halving width roughly quarters size
Frame rateFewer frames per secondModerate — 12–15fps often looks fine
ColoursFewer colours in the paletteSmall to moderate

Notice that duration and dimensions do the heavy lifting. A GIF at half the width has roughly a quarter of the pixels per frame, so shrinking from 640px wide to 320px wide can turn an 8MB GIF into a 2MB one with barely a change on a phone screen.

How do you trim to the right loop?

The single most effective thing you can do is cut the clip down to the exact moment worth looping. Every extra second is a stack of extra frames, and a GIF that runs ten seconds is both huge and boring — the whole appeal is a tight, repeatable beat.

  1. Use the trim video tool to isolate the shortest span that still reads as a complete moment — usually one to three seconds.
  2. Pick a loop point where the start and end frames are visually close, so the wraparound does not jump.
  3. If the action is slow, speed it up with the change video speed tool so the loop feels lively without adding frames.
Trim your clip before converting

How do you crop and resize for a GIF?

After length, dimensions are your biggest saving. Two moves help. First, crop away anything that is not the subject — a GIF of a face does not need the whole room around it — with the crop video tool. Second, resize the result down to a sensible width. Most GIFs are viewed inline in a chat or a thread, where 320 to 480 pixels wide is plenty.

The resize video tool sets the output dimensions before you export. Cropping and resizing together often halve a GIF twice over — once by removing wasted area, once by reducing what remains.

How do you make the GIF itself?

Once the clip is trimmed and sized, the conversion is the easy part. Load your prepared video into video to GIF, choose a frame rate around 12 to 15fps for a smooth-but-small result, and export. Because everything happens in your browser, the video is never uploaded — the frames are extracted and assembled on your own device.

If you already have a GIF that is too heavy to share, the reverse trip often makes more sense than shrinking it — GIF to MP4 turns it into a video a fraction of the size. And if you just need a single still rather than a loop, the extract video frame tool grabs one clean image instead.

Frequently asked questions

Why is my GIF bigger than the video?

Because GIF has almost no video compression and is capped at 256 colours per frame, while the source video used a modern codec that stores only what changes between frames. Trimming the length and reducing the width are the fastest ways to bring the GIF back down.

What frame rate should a GIF use?

Around 12 to 15 frames per second is the sweet spot. It looks smooth enough for most motion while keeping the frame count — and therefore the file size — low. Higher rates add bulk fast for little visible gain in a small looping clip.

Do GIFs have sound?

No. The GIF format cannot carry audio at all. If your clip needs sound, it should stay a video — an MP4 is the right format, and it will also be far smaller than the equivalent GIF.

Is my video uploaded to make the GIF?

No. The conversion runs in your browser with ffmpeg compiled to WebAssembly, so the video is read from your disk and the GIF is built locally. Nothing is sent to a server, which keeps private clips private.