Prepare a GIF for your platform
Platform limits and recommended compression targets are different. Check the limit shown in your account before uploading.
| Discord | Message attachment limits depend on your subscription and may vary during experiments.
|
|---|---|
| Slack | Custom emoji need a small file and a short animation; file size alone is not enough.
|
| X / Twitter | The GIF upload allowance differs between mobile and the website.
|
| Gmail | For personal Gmail accounts, the attachment allowance applies to the total attached to a message.
|
Last verified:
Identify what the limit measures
Before comparing numbers, identify the object being limited. A per-file allowance tells you how large one upload may be. An email attachment allowance can apply to several files together. A custom emoji requirement can combine byte size with a frame-count rule.
Next, identify your account and client. A paid attachment allowance does not apply to every account, and a website can accept a larger GIF than a mobile posting flow. Advice that omits those conditions can be wrong for your particular upload even when the quoted number appears in official documentation.
If the size is within the limit but the upload fails, check image dimensions, frame count, and permissions. Use the linked official guidance to confirm the requirements for that upload.
Discord: check the attachment tier and upload context
Discord distinguishes attachment allowances by subscription, and individual accounts can see experimental differences. Check your current tier and the allowance shown when you attach a file. Do not assume an old number from a forum describes every free or paid account today.
A GIF shared as a message attachment is not the same thing as a server emoji or another profile or server asset. Use the rules for the actual upload control you are using. If you only want a compact reaction in chat, a smaller target can be useful even when your account permits a much larger file.
Use the Discord compressor's 1MB preset for a compact chat reaction. Free compression accepts source GIFs up to 10MB each, even if your Discord account permits larger attachments.
Slack emoji: check the animation as well as the bytes
Slack's custom emoji guidance includes recommendations for file size, a square shape, and a transparent background, plus a maximum frame count for GIFs. A smaller file does not necessarily have fewer frames. Treat those checks separately.
CompressGIF can reduce the size of an existing GIF while preserving its frames and timing. If the source exceeds Slack's frame count, shorten or re-export it elsewhere first. The tool does not automatically turn a rectangular picture into a square or remove its background.
Also check whether your workspace allows you to add custom emoji. A missing permission cannot be solved by trying a smaller preset. These emoji-specific rules should not be treated as the allowance for every Slack message attachment.
X: match the allowance to mobile or web posting
X, formerly Twitter, documents different GIF allowances for mobile and web posting. Choose the one for the client you will actually use. A file accepted by the website can still be too large for a mobile upload.
If another service posts on your behalf, consult that integration's current requirements. The mobile posting allowance is not a universal rule for all API uploads. Likewise, file size alone does not establish how a post will autoplay for every viewer.
After compressing, inspect captions and the busiest moving details. A successful upload is only part of the task; the animation still needs to communicate its intended message.
Gmail: count the complete set of attachments
For a personal Gmail account, the attachment allowance applies to the files attached to one email together. Add the GIF to the sizes of documents, images, and other files you are including. Reducing one animation may not be enough if the combined total remains too high.
Work and school accounts can use administrator-defined limits. Gmail uses a Drive link when attachments exceed the applicable allowance, which changes how the recipient accesses the file. Check that access if you choose to send a link.
An inline animation and a file attachment also serve different purposes. Send a test message when playback or placement matters, and keep essential instructions in readable text rather than relying entirely on the moving image.