Editing & Tools

How to Make a GIF from a Video (and Compress It): 4 Free Ways

Fuxuan Guo
12 min read
How to Make a GIF from a Video (and Compress It): 4 Free Ways
Contents
  1. Key takeaways
  2. Which settings should you pick?
  3. Method 1: Make a GIF in your browser (any computer)
  4. Method 2: iPhone or iPad with Shortcuts
  5. Method 3: ezgif (online, with upload)
  6. Method 4: FFmpeg (best control, any system)
  7. How to compress a GIF that’s too big
  8. Check before you share it
  9. What to do with the GIF next

To make a GIF from a video, pick a short moment (two to five seconds is plenty), choose a width and frame rate, and convert that range to GIF. The quickest free way is a browser tool: ChatCut’s video to GIF converter reads the video on your own device, so nothing is uploaded, and gives you a looping GIF in about a second. On an iPhone, the Shortcuts app can do it; ezgif works in any browser if you don’t mind uploading; and FFmpeg gives you the most control.

We ran every method below on the same clip: the first 2.1 seconds of an 8-second, 798 KB product ad (540 × 720), where a drop falls from a dropper and opens into a blue flower. The numbers in this guide come from that clip, checked on November 18, 2026.

Key takeaways

  • Keep it short. Our 2.1-second GIF was 1.6 MB, twice the size of the whole 8-second MP4 it came from. GIF compresses moving footage far less efficiently than video.
  • Width and frame rate decide the size. The same 2.1 seconds came out at 582 KB (320 px, 10 fps) or 1.6 MB (480 px, 15 fps).
  • Tall videos hit a height cap. Our portrait clip came out 480 × 640 at both the 480 px and 640 px settings, because height is capped at 640 px.
  • GIFs have no sound. If the moment only makes sense with audio, share a short MP4 instead.
  • Too big after converting? Run the GIF through a compressor. Our 1.6 MB GIF dropped to 292 KB at 320 px, 10 fps and 64 colors.

Which settings should you pick?

Start with the destination, then use the smallest setting that keeps the action readable. Here is what ChatCut’s tool produced from our 2.1-second range:

Width settingFrame rateOutputFramesSize
320 px10 fps320 × 42721582 KB
480 px10 fps480 × 640211.0 MB
480 px15 fps480 × 640321.6 MB
640 px15 fps480 × 640321.6 MB

Going from 10 to 15 fps added about 50% to the file, and going from 320 to 480 px wide nearly doubled it. For chat apps and help articles, 320 or 480 px at 10 fps is usually enough. Use 15 fps when the motion is fast and you can see it stutter at 10.

Method 1: Make a GIF in your browser (any computer)

Use this when you don’t want to install anything or upload a private clip. ChatCut’s free video to GIF tool decodes the video and writes the GIF inside the browser tab, with no account and no watermark.

  1. Choose the video. Open the video to GIF converter and drop in an MP4, MOV or WebM up to 500 MB. Chrome or Edge are the safest choices, since the tool needs the browser’s video decoder.
The ChatCut video to GIF tool before a file is chosen, with a drop area that reads MP4, MOV, WebM, up to 15 seconds per GIF, up to 500 MB, and a Choose video button.
The conversion runs in the page; the video never leaves your computer.
  1. Set the range, width and frame rate. Drag the handles on the filmstrip or type a start and end time. The range can be up to 15 seconds. Then pick a maximum width of 320, 480 or 640 px and 10 or 15 fps. We chose 0:00.0 to 0:02.1, 480 px and 15 fps.
The tool after choosing an 8-second, 798 KB MP4: a preview of a falling drop on the left, and on the right a filmstrip with 2.1 seconds selected, start 0:00.0, end 0:02.1, maximum width 480 px, frame rate 15 fps, and a Make GIF button.
Our test clip with the first 2.1 seconds selected, 480 px and 15 fps.
  1. Make the GIF, watch it loop, and download it. Press Make GIF. Ours finished in under a second. Watch the preview once or twice to check the loop point, then download.
The finished result: an animated preview of the blue flower, the file tvc.gif at 0:02 and 1.6 MB with a download button, and next-step options to continue in ChatCut.
2.1 seconds became a 1.6 MB, 480 × 640 GIF with 32 frames.

If you leave the end time blank, the tool takes the next five seconds from the start point. The output is always silent and repeats forever.

Method 2: iPhone or iPad with Shortcuts

Apple’s free Shortcuts app has a ready-made Video to GIF shortcut in its Gallery, built on the Make GIF action:

  1. Open Shortcuts, go to Gallery and search for GIF.
  2. Add Video to GIF to your shortcuts and run it.
  3. Pick a video. If it’s long, a trim window opens so you can keep just the moment you want.
  4. Tap Save, then share the GIF or save it to Photos.

Macworld’s walkthrough describes the same steps. Gallery names and layouts change between iOS versions, so search for “GIF” if you don’t see it. On a phone you can also open the video to GIF tool in Safari or Chrome instead.

Method 3: ezgif (online, with upload)

ezgif’s video to GIF converter is free and accepts almost any video format, including AVI, MKV and WMV, up to 200 MB. You upload the file, set start and end times, size and frame rate, then convert. Two limits to know: the maximum length depends on frame rate (60 seconds at 5 fps, 30 seconds at 10 fps), and your file goes to ezgif’s servers, where the site says uploads are deleted after an hour. For a private recording, use a method that runs on your own device.

Method 4: FFmpeg (best control, any system)

FFmpeg is free and runs on Mac, Windows and Linux. The one thing that matters for GIF quality is the palette: a GIF frame can only hold 256 colors, so let FFmpeg build a palette from your clip first. These are the exact commands we ran on our test clip with FFmpeg 8.1:

# Good quality: build a palette from the clip, then use it. 480 × 640, 15 fps: 2.4 MB
ffmpeg -ss 0 -t 2.1 -i input.mp4 -filter_complex "fps=15,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" output.gif

# Smaller: 320 px, 10 fps, 64 colors, ordered dithering: 610 KB
ffmpeg -ss 0 -t 2.1 -i input.mp4 -filter_complex "fps=10,scale=320:-1:flags=lanczos,split[a][b];[a]palettegen=max_colors=64[p];[b][p]paletteuse=dither=bayer" small.gif

# Avoid: no palette. 1.3 MB, with shifted colors and a dot pattern
ffmpeg -ss 0 -t 2.1 -i input.mp4 -vf "fps=15,scale=480:-1" plain.gif

-ss and -t set the start and length in seconds, fps sets the frame rate, and scale=480:-1 sets the width and keeps the aspect ratio. The palettegen and paletteuse filters are documented in FFmpeg’s filter guide.

Here is the same frame from three versions of our GIF, at actual pixels:

Three crops of the same blue flower frame. ChatCut video to GIF, 1.6 MB: smooth flower with slight banding in the pale background. FFmpeg with no palette, 1.3 MB: a visible dot pattern over the whole frame. FFmpeg with palettegen, 2.4 MB: the smoothest gradients.
Same 2.1 seconds, same 480 × 640 and 15 fps. The palette version is the smoothest and also the largest.

The palette-based FFmpeg GIF had the smoothest gradients but was the largest file. ChatCut’s tool builds a fresh 256-color palette for every frame, which kept the flower clean at 1.6 MB, with some visible banding in the flat background. The no-palette command was the only one with obvious problems.

How to compress a GIF that’s too big

If a GIF is too heavy for a chat app, email or web page, reduce what it contains: fewer pixels, fewer frames, fewer colors. ChatCut’s free GIF compressor does all three in the browser. It accepts GIFs up to 100 MB, 15 seconds and 600 frames in a recent Chrome or Edge.

The ChatCut GIF compressor showing a finished result: a preview of the flower GIF and the file tool-480-15-compressed.gif at 292 KB with a download button.
The 1.6 MB GIF from Method 1, compressed to 292 KB at 320 px, 10 fps and 64 colors.

We fed it the 1.6 MB GIF from Method 1:

Compressor settingsSizeChange
480 px, 15 fps, 256 colors1.1 MB−31%
480 px, 15 fps, 128 colors971 KB−41%
480 px, 10 fps, 128 colors692 KB−58%
320 px, 10 fps, 64 colors292 KB−82%
320 px, 10 fps, 32 colors209 KB−87%

Even with the width and frame rate unchanged, the first row came out smaller: the compressor kept 22 of the 32 frames and showed each one a little longer, so the loop still lasts 2.1 seconds. Check the preview for smoothness after any frame-rate change. The output page shows only the new size, so compare it with your original yourself.

Two other free options:

  • ezgif’s GIF optimizer offers lossy compression, color reduction and dropping every second, third or fourth frame, for files up to 200 MB (uploaded).
  • Gifsicle on the command line. gifsicle -O3 --lossy=80 --colors 128 input.gif -o output.gif took our 1.6 MB GIF to 1.0 MB with all 32 frames kept, at the cost of some grain.

The compressor doesn’t target an exact size. If you need to stay under a limit, lower the width first, then the colors, and check after each step.

Check before you share it

These are the problems we ran into, and how to fix them:

  • The GIF is bigger than the video. That’s normal. Ours was 1.6 MB from a 798 KB MP4. Shorten the range, use 320 px, or use 10 fps.
  • The width didn’t change. A tall video hits the 640 px height cap before the width setting matters. Our 540 × 720 clip came out 480 × 640 at both 480 and 640 px.
  • The loop jumps. The last frame cuts straight back to the first. Pick a range that starts and ends on similar frames, or end on a still moment.
  • Banding in skies, skin or gradients. GIF frames are limited to 256 colors. Avoid cutting colors below 128 for photographic footage, or share an MP4.
  • Transparent parts turned white. The GIF compressor flattens transparency onto white. Keep your original if it’s a sticker meant for a dark background.
  • The video won’t open. Browser tools depend on the codecs your browser supports. Re-save the clip as an H.264 MP4, or use FFmpeg.

What to do with the GIF next

  • Find the moment first. Cut a long recording down with the video trimmer, then make the GIF from the short clip. For a boomerang, reverse the clip and join it to the original first.
  • Need sound or a sharper picture? Send a short MP4 instead and shrink it with the video compressor.
  • Put it in a video. ChatCut can import GIFs, so you can add a title, music or other clips around one and export the edit as an MP4. ChatCut’s editor doesn’t export GIF files.
  • No footage to start from? See how to make GIFs with ChatGPT Images 2.6 for AI-generated loops.

Questions about making GIFs from video

How do I make a GIF from a video for free?
Use a free browser tool such as ChatCut's video to GIF converter: choose the video, select up to 15 seconds, pick a width and frame rate, and download. On an iPhone, use the Video to GIF shortcut in Apple's Shortcuts app. ezgif and FFmpeg are free too. None of these add a watermark.
How long should a GIF be?
Usually two to six seconds: long enough to show one action, short enough to stay light. Our 2.1-second test GIF was already 1.6 MB at 480 px and 15 fps, and the size grows roughly in line with length.
Why is my GIF bigger than the video?
Modern video codecs store only what changes between frames very efficiently, while GIF stores indexed images with up to 256 colors each. A short GIF can easily outweigh its source video. Shorten the range, reduce the width to 320 px, or use 10 fps.
How do I compress a GIF?
Reduce its width, frame rate or number of colors. ChatCut's GIF compressor does this in your browser for GIFs up to 100 MB; our 1.6 MB test GIF went to 292 KB at 320 px, 10 fps and 64 colors. ezgif's optimizer and Gifsicle work too.
Can a GIF have sound?
No. GIF only stores images and their timing, so audio is always dropped. If the sound matters, share a short MP4 instead.
Can I make a GIF from a video without uploading it?
Yes. ChatCut's video to GIF tool converts the file inside your browser, and FFmpeg and iPhone Shortcuts work offline. Online converters such as ezgif upload your file to their servers.

Checking your footage...

Less editing. More creating.

Download ChatCut Desktop free and make your first video today.

Download Desktop Download for macOS Download for Windows Try it for free