Skip to content
FastTool

Make a Sharp, Small GIF From a Screen Recording

Screen-recording GIFs swell past 20 MB when high frame rates, wide dimensions, and speckled dithering fight LZW compression.

Updated · Uses the free Video to GIF Maker, which runs in your browser

Short answer

Set width to 480 px or 640 px, lower frame rate to 10–12 fps, turn dithering to Clean, and keep delta transparency on. Mapping unchanged UI pixels to the transparent color slot cuts typical screen-recording GIFs by 70 percent. Open the Video to GIF Maker to see exact kilobyte totals live.

Open the Video to GIF Maker

Why a 2 MB MP4 screen capture turns into a 20 MB GIF

Modern MP4 encoders predict motion across dozens of frames and compress blocks in frequency space. By contrast, GIF89a stores each frame as horizontal runs of 8-bit color slots compressed with a 4,096-entry LZW dictionary.

Exporting a Retina 1920 × 1080 recording at 30 fps feeds 62 million pixels through that dictionary in one second. Adding error-diffusion dithering scatters alternating dots across flat menus, destroying horizontal runs and multiplying file size.

Recommended GIF settings by recording type and upload limit

Matching width, frame rate, palette mode, and dithering to the visual content keeps text legible without hitting GitHub or chat caps:

Optimal GIF89a settings for UI demos, documentation, and camera clips
Use case Width & FPS Palette & dither Typical 4 s size
GitHub PR or README UI demo 640 px · 12 fps Global 256 · Clean · Delta on 250 KB – 650 KB (well under 10 MB cap)
Slack or ticket bug capture 480 px · 10 fps Global 256 · Clean · Delta on 140 KB – 400 KB
Mobile 9:16 app walkthrough 320 px · 12 fps Global 256 · Clean · Delta on 180 KB – 500 KB
3D gradient or shader loop 480 px · 15 fps Per-frame 256 · Ordered Bayer 1.2 MB – 2.8 MB
Live camera reaction clip 480 px · 15 fps Per-frame 256 · Floyd-Steinberg 1.8 MB – 4.2 MB

Worked example: Clean UI preset vs camera gradient preset

Open the 640 px Clean UI preset in Video to GIF Maker. In a typical app demo, 85 to 92 percent of toolbars and sidebars stay still between frames.

Under GIF89a Disposal Method 1, pixels within ΔRGB ≤ 6 of the prior screen map to transparent slot 255. The encoder also crops each frame header to the smallest rectangle around the moving cursor, shrinking kilobytes by ~70%.

For camera footage with sky or skin gradients, open the 480 px Per-Frame Bayer Boomerang preset. Ordered 4×4 Bayer dithering smooths color bands without random frame-to-frame grain.

Four steps before you export

Sources

Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.

Open the Video to GIF Maker