← Back to the editor

Guide

GIF size limits for Discord, Slack, and X

Match the platform before you export

Most upload failures happen because a GIF looks small in a player window while still weighing 15 or 20 MB on disk. Chat apps and social feeds enforce strict file-size caps, and some platforms re-encode oversized GIFs into blurry video previews. Setting the right width, frame rate, and size limit inside the YUIgif editor saves you from exporting twice.

PlatformTypical limitStarting widthFrame rateYUIgif size limit
Discord (free upload)10 MB480 px12–15 fps8 MB
Discord custom emoji / sticker256 KB – 512 KB128–320 px10–12 fps1 MB (then trim short)
Slack (inline preview)10 MB recommended480–640 px10–12 fps4 MB or 8 MB
X (web upload)15 MB480–640 px15–20 fps10 MB
GitHub issues & PRs10 MB640–720 px8–12 fps8 MB

Platform limits change over time and vary by subscription tier, so leaving a small margin below the cap is safer than aiming right at the ceiling. YUIgif measures its size limit in binary megabytes (MiB) and caps the control at 10 MiB.

Dialing in a reaction GIF for Discord and Slack

Reaction loops are usually viewed at 300 to 480 pixels wide inside a chat column. Exporting at 720 or 1080 pixels wastes bytes that nobody sees. Trim the clip to 2 to 4 seconds, pick 480 px width and 12 fps, and set the size limit to 4 MB or 8 MB.

If the clip still pushes against the limit, drop the width to 360 px before cutting frame rate below 10 fps. A slightly smaller frame that moves smoothly reads better in chat than a large slideshow. See the smaller GIF guide for the full order of tradeoffs.

Keeping documentation GIFs readable on GitHub

Pull-request demos and bug reports have fine UI text that blurs if you shrink the width too far. Instead of crushing a full-screen recording down to 480 px, open Crop in YUIgif first and cut away the unused desktop or browser chrome. Once only the relevant panel remains, 640 px at 8 or 10 fps stays crisp and usually lands well under 4 MB.

For a full walkthrough of trimming and cropping captures, read the screen recording guide.