Guide

How to turn a screen recording into a GIF for a pull request

A five-second GIF of the new behaviour saves your reviewer a checkout and a build. Here's how to make one that's small and actually readable.

Published 28 November 2026 · ScreenTell team

Short answer: record only the change, trim to 5–15 seconds, export a GIF at 480p or 720p, and drag it into the pull request description. With ScreenTell that's one export; with the built-in recorder you'll convert the .mov with ffmpeg.

The quick way: ScreenTell

  1. Record just the window you changed, not your whole display. Smaller source, smaller GIF.
  2. In the editor, trim the start and end, and speed up any waiting or typing with per-clip speed.
  3. Export, choose GIF, and pick 480p for a small UI tweak or 720p if there's text to read.
  4. Copy to clipboard, then paste into the pull request description or a comment.

Auto zoom and the smooth cursor come along, so the reviewer's eye lands on the button that changed.

The free command-line way: ffmpeg

Record with ⇧ ⌘ 5, then convert. This two-pass palette recipe keeps colours clean and files small:

ffmpeg -i recording.mov -vf "fps=12,scale=960:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" pr.gif

Lower fps or the width (960) if the file is still too big.

GIF or MP4?

GitHub accepts both in descriptions and comments. GIFs autoplay and loop inline, which is ideal for a short interaction. MP4 files are far smaller and sharper for the same length but show a player that has to be clicked. Use a GIF for under about 15 seconds and an MP4 for anything longer.

Make it reviewable

  • Show before and after, as two GIFs or one recording with a cut.
  • Make the window small and the UI zoomed, so text survives the scaling.
  • Hide real customer data first. See how to blur sensitive information.
  • Show the keyboard shortcut if the change involves one, with on-screen keys.

Questions

Why is my GIF so big?

GIFs store every frame as an image with at most 256 colours. Shorten it, lower the frame rate to 10–15 fps, record a smaller window, or switch to MP4.

Can I paste a GIF into GitHub directly?

Yes. Drag the file into the description or comment box, or paste it from your clipboard, and GitHub uploads it.

Record your next demo with ScreenTell.

Free on your Mac, with no watermark. Pay only to share. Windows is coming next.