Manatee

How to convert a video to GIF on a Mac

The quickest built-in route is the Shortcuts app: its “Make GIF” action turns any video macOS can play into a looping GIF with nothing to install. For control over frame rate and dimensions, use ffmpeg in Terminal, or drop the video into Manatee and choose GIF as the target. Whatever tool you pick, trim the clip first. A GIF is a stack of individually stored frames, and a ten-second clip at full resolution can easily come out larger than the video it came from.

Why GIFs get so big

GIF dates from 1987. Each frame is limited to 256 colors, and there is no clever motion prediction between frames the way there is in H.264 or HEVC. A video codec stores one full picture and then only the changes; a GIF stores something closer to every picture in full. That is why a 4 MB MP4 can become a 40 MB GIF.

You have three levers, and they multiply together:

  • Duration. Under five seconds is the sweet spot. A GIF that loops is supposed to be short.
  • Dimensions. 480 to 640 pixels wide is plenty for chat and social feeds. A 1920 pixel wide GIF is almost never what anyone wants.
  • Frame rate. 10 to 15 frames per second reads as smooth motion in a GIF. You do not need the source’s 30 or 60.

One more thing worth knowing before you start: most messaging apps and social networks convert uploaded GIFs to short silent videos anyway. If the destination is a chat server, a short MP4 is often a better upload than a GIF. See how to compress a video for Discord on a Mac for that route.

Trim the clip first in QuickTime Player

None of the conversion tools below is a video editor, so do the cut in QuickTime Player, which is already on your Mac.

  1. Open the video in QuickTime Player (right-click the file, Open With, QuickTime Player if it opens elsewhere).
  2. Choose Edit, then Trim, or press Command-T.
  3. Drag the yellow handles at either end of the filmstrip to the section you want. Press the space bar to preview the selection.
  4. Click Trim.
  5. Choose File, then Save, and give the trimmed clip a new name so the original stays intact.

QuickTime saves the trimmed clip as a MOV. Every tool below accepts MOV, so that is fine.

Option 1: Shortcuts, nothing to install

Shortcuts ships with macOS 12 Monterey and later, and it includes a “Make GIF” action.

  1. Open Shortcuts from the Applications folder and click the plus button to create a new shortcut.
  2. In the action search field on the right, type “Select File” and drag that action into the editor.
  3. Search for “Make GIF” and drag it below. It will automatically take the selected file as its input.
  4. Search for “Save File” and add it last, so the finished GIF is written to disk. Leave “Ask Where To Save” turned on.
  5. Click the run button at the top. Pick your trimmed video, then pick where to save the GIF.

Give the shortcut a name and it stays in your library for next time. If you tick “Use as Quick Action” and “Finder” in the shortcut’s details panel, it also appears when you right-click a video in Finder, under Quick Actions.

The catch is control. The Make GIF action offers a loop toggle and an automatic size option, and not much else. You cannot dial in a frame rate or a specific width, so the result can come out much larger than you expected. If that happens, one of the next two options will serve you better.

Option 2: ffmpeg in Terminal, the most control

ffmpeg is the open source engine behind most conversion tools. If you have Homebrew installed, brew install ffmpeg puts it on your Mac. Then, in Terminal, navigate to the folder holding your clip and run:

ffmpeg -i clip.mov -vf "fps=12,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 clip.gif

What the pieces do:

  • fps=12 drops the frame rate to 12 per second.
  • scale=480:-1 makes the GIF 480 pixels wide and keeps the aspect ratio.
  • The palettegen and paletteuse pair builds a custom 256 color palette from your actual footage instead of using a generic one. This is the single biggest quality improvement you can make to a GIF, and it is what separates a clean result from a speckled one.
  • -loop 0 means loop forever. Use -loop -1 for play once.

If you skipped the QuickTime trim, you can cut inside the same command by adding -ss 00:00:04 -t 3 right after ffmpeg to start at four seconds and keep three seconds.

Option 3: Manatee, drag and pick GIF

If you would rather not type commands, Manatee does the same job from a window. Open it, choose Convert, drop the video in (or drag it onto the menu bar icon), and pick GIF from the list of targets. It writes the GIF as a new file alongside the original and never touches the source.

Two things are worth being upfront about. Manatee is not a video editor: it will not trim, crop, caption, or speed up a clip, so do that in QuickTime first. And a GIF is still a GIF, so a long, large, fast clip will still produce a heavy file no matter which app makes it.

Where Manatee earns its place is the input side. It accepts 122 file types, including MKV, WEBM, AVI, WMV, FLV, and 3GP videos that Shortcuts refuses and QuickTime cannot open, so you do not have to convert to MOV as an intermediate step. Everything runs on the Mac with no upload. It is free for 24 hours with every feature, then $9 once.

Checking the result and shrinking it further

Select the GIF in Finder and press Command-I. The Get Info panel shows the file size. Double-click to open it in Preview, which shows every frame in the sidebar; that is a quick way to see how many frames you ended up with.

If the size is too high for where it is going, go back to the three levers in order: shorten the clip, then narrow it, then lower the frame rate. Dropping from 640 to 480 pixels wide removes nearly half the pixels. Dropping from 15 to 10 frames per second removes a third of the frames. Both at once usually gets you under a chat app’s limit.

Screen recordings deserve a special mention because they are usually the worst offenders: full Retina resolution, long, and mostly static. For those, see how to make a screen recording smaller on a Mac before you convert.

Questions

Does the GIF keep the sound? No. The GIF format has no audio track at all. If the sound matters, share a short MP4 instead; see how to convert MOV to MP4 on a Mac.

Why does my GIF look grainy or speckled? That is the 256 color limit showing. Smooth gradients, skies, and skin tones suffer most. The ffmpeg palette commands above help a great deal. Reducing the dimensions also hides dithering, because the speckles get smaller too.

Can I go the other way and turn a GIF into a video? Yes. ffmpeg handles it with ffmpeg -i clip.gif -movflags faststart -pix_fmt yuv420p clip.mp4, and Manatee accepts GIF as an input and offers MP4 and MOV as targets. The resulting MP4 is usually a fraction of the GIF’s size.

My video is MKV or WEBM and Shortcuts will not take it. What now? Use ffmpeg or Manatee; both read those containers directly. If the file will not open anywhere, it may be damaged rather than merely unsupported; how to check whether a video file is corrupted on a Mac walks through telling the two apart.