Skip to content
nullshot

How to Record a GIF on Mac (and Convert a Recording to GIF)

Updated 8 min readMarkdown

Part of the guide How to Screen Record on Mac: Area, Window, Full Screen and Audio

256 colorsThe most one GIF color table can hold, which is why trimming, a lower frame rate and a narrower width matter more for a GIF than for any video file.

Knowing how to record a GIF on Mac starts with one limit: Apple's built-in recorders save video, not GIF. A GIF is an image format that stores a short, silent animation that plays on its own and can loop forever, which is why it shows up inline in GitHub issues, docs and chat. You can get one in two ways: record with an app that writes GIF directly, or record a MOV and convert the screen recording to GIF afterwards.

Can you record a GIF on Mac with the built-in tools?

No, macOS has no built-in way to record straight to GIF: the Screenshot app and QuickTime Player save every screen recording as a MOV file. Both name the file "Screen Recording [date] at [time].mov" and put it on the desktop by default. QuickTime Player cannot export GIF either, because File > Export As lists only video resolutions and Audio Only. Preview opens GIFs, but it does not turn video into GIF.

That leaves four practical routes:

RouteWhat you installControl over the GIFBest for
NullShotNullShot (free)Area, window or screen, saved as GIFGIFs straight from a recording
Shortcuts, Make GIF actionNothingWidth, height, loopOccasional conversions
ffmpegHomebrew and ffmpegTrim, frame rate, width, palette, loopSmallest, cleanest files
GifskiGifski appDimensions, frame rate, quality, loopA visual converter

How do you record straight to GIF on Mac?

To record straight to GIF on Mac, use a screen recorder that exports GIF itself, such as NullShot, which can save a recording as GIF instead of MP4. NullShot is a free menu bar app for macOS 14 Sonoma and later.

  1. Press Cmd+Shift+6 to start a recording.
  2. Choose GIF instead of MP4 as the recording format.
  3. Pick an area, a window or the whole screen. Turn on click highlight and keystrokes if viewers need to see what you press, and Do Not Disturb to keep notification banners out of the clip.
  4. Record. The HUD lets you pause (Option+P), restart a bad take, draw, discard or stop.
  5. Press Cmd+Shift+6 again to stop.

The quick access card then lets you copy, save, share, upload or drag the GIF into another app, and the recording stays in History so you can find it later. Use restart in the HUD to retake a bad clip, and the conversion routes below for MOV recordings you already have. The screen recording options list everything else the recorder does.

NullShot needs Screen & System Audio Recording permission (System Settings > Privacy & Security > Screen & System Audio Recording, called Screen Recording on macOS 14 Sonoma), and the guide to getting started with NullShot walks through granting it. If a capture comes out blank or black, that pane is the first thing to check, and the fixes for a Mac screenshot not working cover the rest. Other recorders that output GIF include Kap (free, open source, exports GIF, MP4, WebM and APNG), GIPHY Capture (free) and LICEcap (free), plus CleanShot X (paid) and Gifox (free with a paid Pro upgrade).

How do you record and trim a clip before converting it?

Record a MOV with Cmd+Shift+5, then trim it with Edit > Trim (Cmd+T) in QuickTime Player before you convert, because length is the biggest size lever for a GIF. In the Screenshot toolbar, choose Record Selected Portion and drag the borders tight around the part that matters; Record Entire Screen works too but makes a much larger GIF. Record Selected Window appears only on macOS Tahoe 26 or later. In Options, Show Mouse Clicks helps viewers follow a silent clip, and you can set a timer and the Save to location.

Stop with the Stop button in the menu bar or press Cmd+Control+Esc. QuickTime Player gives you the same toolbar through File > New Screen Recording (Cmd+Control+N). The main guide on how to screen record on Mac covers every recording mode in detail.

To trim, click the floating thumbnail right after recording, or open the MOV in QuickTime Player and choose Edit > Trim. Drag the yellow handles to cut the dead seconds at the start and end, click Trim, then save. Every second you remove here is a second the converter never has to encode.

How do you convert a screen recording to GIF with Shortcuts?

The free built-in way to convert a screen recording to GIF on Mac is a shortcut built on the Make GIF action in the Shortcuts app, available on macOS 12 Monterey and later. Make GIF creates an animated GIF from the images or video passed into it. A Quick Action is a command in the Finder context menu that runs on the selected file, and turning your shortcut into one gives you a right-click converter.

  1. Open the Shortcuts app and create a new shortcut (File > New Shortcut).
  2. Search the action list for Make GIF and add it. Leave Loop Forever on. Turn Auto Size off if you want to set Width and Height yourself; Seconds Per Photo (default 0.2) is meant for still images.
  3. Add a Save File action after Make GIF, or Save to Photo Album if you prefer Photos.
  4. Double-click the shortcut, click the Shortcut Details button, click Details and select Use as Quick Action.
  5. Make sure the Finder extension is on. On macOS 14 Sonoma, go to System Settings > Privacy & Security > Extensions > Finder. On macOS 15 Sequoia and later, go to System Settings > General > Login Items & Extensions and click the Info button next to Finder.
  6. Control-click the MOV in Finder and choose Quick Actions, then your shortcut. It also appears in the Quick Actions menu of the Finder Preview pane.
!

Save the result explicitly. Make GIF only creates the GIF in memory. Without a Save File or Save to Photo Album action after it, the GIF can disappear once the preview closes.

To check the result, select the GIF in Finder and press Space: Quick Look plays the animation and shows whether it loops.

How do you convert a MOV to GIF with ffmpeg or Gifski?

ffmpeg is a free command-line video tool that converts a MOV to GIF with exact control over trim, frame rate, width and colors. It is not built into macOS, so install it with Homebrew using brew install ffmpeg, open Terminal in the folder with your recording and run one command:

Convert a screen recording to GIF with a palette (Terminal)

ffmpeg -ss 2 -t 8 -i "Screen Recording.mov" -vf "fps=12,scale=800:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 out.gif

Here -ss 2 starts two seconds in and -t 8 keeps eight seconds, so the command trims for you. fps=12 sets the frame rate, scale=800:-1 sets the width to 800 px and keeps the aspect ratio, and -loop 0 loops forever. The palettegen filter builds a custom palette of up to 256 colors from your clip and paletteuse applies it, which gives cleaner colors and a smaller file than the default palette. Replace the file name with your own, in quotes because of the spaces.

Gifski is a free, open-source converter from the Mac App Store that turns MP4 or MOV files (H.264, HEVC or ProRes) into high-quality GIFs. You drop in a video and set dimensions, frame rate, quality, speed, loop and bounce. The current version needs macOS 26, and older releases cover earlier macOS versions.

Why is your GIF so large or grainy, and how do you fix it?

A screen recording GIF gets large because the format compresses video poorly, so the fix is to reduce what the file has to store: seconds, frames, pixels and colors. GIF89a is the version of the format that browsers play, and each of its color tables holds at most 256 colors. Gradients, photos and video content get banding or a grainy dither, and they compress badly. Some encoders, such as Gifski, use cross-frame palettes and temporal dithering to show thousands of colors per frame, but flat interface content still converts best.

Trim to the seconds that matter, length is the biggest leverDo
10-15 fps, enough for clicks, typing and menusDo
About 800 px wide, readable in a comment or docDo
A custom palette, cleaner colors at the same sizeDo
Lower quality setting, when a converter offers one and the file is still too bigOptional
Bounce (yo-yo) loop, roughly doubles the sizeSkip

High frame rates buy little. GIF stores frame delays in hundredths of a second, and browsers slow down very short delays, which is why tools such as Gifski cap GIFs at 50 fps. For a screen recording, 10-15 fps looks smooth enough and keeps the file small. Gifski's own documentation calls GIF very space-inefficient and lists the same levers: smaller dimensions, lower frame rate, lower quality and shorter clips.

Looping is a setting, not a given. In ffmpeg -loop 0 means forever, in Shortcuts it is the Loop Forever switch, and Gifski has its own loop control, so check it before you share.

When is a GIF better than a video?

A GIF is better than a video when you want a short, silent clip that plays automatically inline, as it does in GitHub, documentation and most chat apps. GitHub accepts GIF attachments in issues, pull requests and comments up to 10 MB, the same limit as images, while videos can be 10 MB on free plans and 100 MB on paid plans. If a trimmed GIF still goes over 10 MB, lower the width or frame rate, or attach the clip as a video instead.

A GIF has no audio track, so narration and system sound are lost on conversion; when sound matters, follow the guide to recording internal audio on Mac and share a video. Faces and gradients also suffer in a 256-color palette, so a walkthrough made as a screen recording with a webcam bubble belongs in a video file. If you only need a smaller, more compatible video rather than an animation, saving a screen recording as MP4 is the better route.

Checklist

  • Trim dead seconds from the start and end before you convert
  • Record a small area instead of the whole screen
  • Keep screen recording GIFs at 10-15 frames per second
  • Scale the width to about 800 px and keep the aspect ratio
  • Add a Save File action after Make GIF in your shortcut
  • Use palettegen and paletteuse when you convert with ffmpeg
  • Check the loop in Quick Look: select the GIF and press Space
  • Keep GIFs for GitHub issues and pull requests under 10 MB

Frequently asked questions

Can QuickTime Player save a screen recording as a GIF?

No. QuickTime Player saves screen recordings as MOV files, and its File > Export As menu offers only video resolutions and Audio Only. To get a GIF, convert the MOV with the Make GIF action in the Shortcuts app, with ffmpeg or with a converter such as Gifski.

How do I record a GIF on my Mac without installing anything?

Record a MOV with Cmd+Shift+5, then convert it with a shortcut you build in the Shortcuts app from the Make GIF action followed by a Save File action. Turn on Use as Quick Action in the shortcut details, and you can Control-click any recording in Finder and run it from the Quick Actions menu.

Why is my GIF so large?

GIF compresses video content poorly, so length, frame rate and dimensions decide the file size. Cut the clip to the seconds that matter, use 10-15 frames per second, scale it to about 800 px wide, and avoid a bounce (back-and-forth) loop, which roughly doubles the size.

Does a GIF keep the audio from my screen recording?

No. The GIF format has no audio track, so any microphone or system sound in the original recording is dropped when you convert it. If the sound matters, share the recording as a video file instead of a GIF.

What is the maximum GIF size for a GitHub issue or pull request?

GitHub accepts GIF attachments in issues, pull requests and comments up to 10 MB, the same limit as images. Videos can be up to 10 MB on free plans and 100 MB on paid plans, so a long demo may fit better as a video.