Free online tool

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

← Back to Blog

How to Resize a GIF for Discord Emoji, Slack Emoji and Twitch Emotes

To resize a GIF for a Discord emoji, scale it to 128 × 128 pixels and keep the file under 256 KB. Discord recommends that size, and its developer documentation sets 256 KiB as the upload limit for every emoji, animated or not. Crop a wide GIF to a square before scaling, and use a resizer that processes every frame so the animation keeps its speed and loop.

Animated GIF Resizer does the scaling and keeps each frame's timing, the loop count and transparency. Below are the steps, a size table for Discord, Slack, Twitch, Microsoft Teams and YouTube, and fixes for GIFs that come out rejected, squashed or frozen.

How to resize a GIF for Discord emoji with Zutilium

Check the shape first: the resizer never crops, so crop a non-square GIF first (see below) if the platform needs a square.

  1. Open Animated GIF Resizer and drop the GIF on the upload area, or click Choose file. It takes GIFs up to 16 MiB, 4,096 pixels per side and 300 frames.
  2. In Width (px), replace the default 480 with 128.
  3. Leave Height (px, optional) blank. A square GIF comes out at exactly 128 × 128, and other shapes keep their proportions.
  4. Enter 128 in Height (px, optional) too only if the GIF is almost square. Two values force every frame to that exact size: a 500 × 480 GIF is distorted by about 4 percent, which is hard to see at emoji size.
  5. Click Convert Now. The GIF is uploaded to Zutilium's server, and processing has to finish within one minute.
  6. When Your GIF is ready appears, read the size line below it and open Preview animation.
  7. Click Download.

What to check before you upload

  • Dimensions: the result line should start with 128 × 128 px, or your platform's size from the table below.
  • File size: Zutilium counts 1 KB as 1,024 bytes, so a file shown as 250 KB is 256,000 bytes and fits a 256 KB limit however the platform counts it.
  • Motion: frame delays, the loop count and transparency are copied from the original. Frames are re-encoded with up to 256 colors and dithering, so gradients can shift slightly.

Resizing Zutilium's four-frame sample GIF, 96 × 64 pixels and 21,886 bytes, shows the trade-off. At a width of 48 it becomes 48 × 32 and 8,521 bytes, 61 percent smaller. At 128 it becomes 128 × 85 and 31,226 bytes, 43 percent larger, because enlarging adds pixels. Both keep all four 120-millisecond frames and the endless loop.

If the file is still too big, the What next? list under the result can open GIF Compressor with the resized GIF already added. The upload is scheduled for deletion about a minute after a successful conversion and the result after about ten minutes, so download promptly.

GIF sizes for Discord, Slack, Twitch, Teams and YouTube

These figures come from each platform's own documentation, as of November 2026, except the Discord avatar row, from Discord's 2021 design tips:

Where it goes Pixel size File size Notes
Discord emoji 128 × 128 recommended 256 KB Using animated emoji needs Nitro
Discord sticker 320 × 320 512 KB PNG, APNG or GIF; up to 5 seconds
Discord avatar Square, about 200 × 200 or more Under 10 MB (Discord's 2021 tips) Animated avatars need Nitro
Slack emoji Square, no pixel size given Under 128 KB works best GIFs up to 50 frames
Twitch emote, auto-resize One square GIF, 112 to 4,096 px 1 MB Up to 60 frames
Twitch emote, manual 112 × 112, 56 × 56 and 28 × 28 512 KB each Up to 60 frames
Microsoft Teams emoji Square recommended Under 256 KB advised Animation not documented
YouTube member emoji 48 × 48 to 480 × 480 Under 1 MB GIFs show as still images

Discord. The emoji API documentation refuses emoji over 256 KiB, animated or not, and describes the upload as a 128 × 128 image. Discord's custom emoji guide calls 128 × 128 ideal, accepts JPEG, PNG, GIF, WebP and AVIF, and says the app compresses files slightly over the limit; you need Nitro to use animated emoji. Sticker uploads are capped at 512 KiB, 320 × 320 pixels and 5 seconds of animation. Discord's profile design tips add that avatars are shown as a circle.

Slack. Slack's help center says square images under 128 KB with transparent backgrounds work best, accepts JPG, PNG and GIF, and allows GIFs of up to 50 frames. Custom emoji can't be added from the Slack Android app.

Twitch. Twitch's animated emote rules require square GIFs that flash no more than three times in one second. Auto-resize makes all three sizes from one GIF. For manual mode, resize each size from the original GIF, so every version is re-encoded only once.

Teams and YouTube. Microsoft recommends square images and files under 256K and compresses uploads, without saying whether GIF emoji animate. YouTube accepts GIFs as channel membership emoji but shows them as still images, so use a PNG there.

Make a wide GIF square without stretching it

Twitch requires square emotes, and Slack and Microsoft recommend square emoji. Start from the shape you have:

Your GIF What to do
Square Enter the target in Width (px) only
Within a few percent of square Enter the target in both fields
Wide or tall, transparent background Crop and resize it with ImageMagick
Wide or tall, made from a video Crop the video to 1:1, then make the GIF again

Worked example: a 480 × 270 reaction GIF

With one field filled in, the resizer scales the other side in proportion, rounded to a whole pixel:

  • Width 128 only: 270 × 128 ÷ 480 = 72, so the result is 128 × 72. The proportions are right, but Twitch would refuse it.
  • 128 in both fields: the width shrinks to 128 ÷ 480 = 0.27 of the original and the height to 128 ÷ 270 = 0.47, so faces and text look 1.78 times too tall for their width.
  • Crop first: keep the center 270 × 270, dropping 105 pixels from each side, then resize to 128 × 128 without distortion.

Crop with ImageMagick

ImageMagick, a free command-line image tool, crops and resizes every frame in one command and keeps transparency:

magick input.gif -coalesce -gravity center -crop 270x270+0+0 +repage -resize 128x128 -layers Optimize emoji.gif

Replace 270 with the shorter side of your GIF. -coalesce rebuilds every frame in full first: optimized GIFs store only the area that changed, and resizing those partial frames separately breaks the picture. -layers Optimize shrinks the file again at the end. On ImageMagick 6, type convert instead of magick.

Crop on Zutilium when the GIF came from a video

Go back to the video, choose 1:1 in Crop Video and click Export MP4, then make the GIF with Video to GIF and finish with the resizer. Without the video, GIF to MP4 can make one, but MP4 has no transparency, so a transparent emoji gains a solid background.

Too many frames or too long

Resizing changes pixels, not time: Animated GIF Resizer keeps every frame and every delay. That matters for Slack's 50-frame cap, Twitch's 60-frame cap and the 5-second limit on animated Discord stickers.

Frames are seconds × frame rate, so a 4.5-second GIF at 20 frames per second has 90 frames, too many for Slack and Twitch, while the same moment at 10 frames per second needs about 45. To count the frames in a GIF, run magick identify input.gif: ImageMagick prints one line per frame.

To cut frames, make the GIF again from its video with Video to GIF, choosing 10 in Frames per second and a short Duration (seconds, up to 30). How to make a GIF from a video explains those settings. In a desktop editor, you can instead delete every other frame and double the delay of the rest to keep the speed.

Other ways to resize an animated GIF

  • Let the platform resize it. Twitch's auto-resize builds all three emote sizes from one square GIF of 112 to 4,096 pixels under 1 MB. Discord's app resizes larger emoji images, and a November 2025 update added an editor that crops and resizes during upload, though the announcement doesn't mention animated GIFs. Resize yourself when the file is far over the limit, the shape is wrong, or a bot uploads through the API, which refuses anything over 256 KiB.
  • ImageMagick without cropping: magick input.gif -coalesce -resize 128x128 -layers Optimize emoji.gif fits the GIF inside 128 × 128 and keeps its proportions.
  • GIMP: the free editor opens each frame as a layer, so scaling or cropping changes them all; export as GIF with the animation option on.
  • Not a photo resizer: still-image tools, Zutilium's Image Resizer included, keep only the first frame.

Troubleshooting

Zutilium says the GIF is invalid or too big

"Choose a valid GIF file" means the file isn't really a GIF, such as a WebP or MP4 saved with a .gif name; rename it to .webp or .mp4, then convert it with WebP to GIF or Video to GIF. "Use at most 300 frames and 16 million pixels across the animation" means the GIF breaks the 300-frame or 16-million-pixel limit, which multiplies the canvas by the frame count: a 480 × 270 GIF can have up to 123 frames, a 640 × 360 GIF 69 and a 1280 × 720 GIF only 17. Shrink it with ImageMagick first.

The file is too large for the platform

Run the resized GIF through GIF Compressor and enter a Target size (KiB, optional) just under the platform's figure:

Limit or guideline Enter Bytes
128 KB (Slack) 125 128,000
256 KB (Discord emoji, Teams) 250 256,000
512 KB (Discord sticker, Twitch manual) 500 512,000
1 MB (Twitch auto-resize) 976 999,424

If the target is still missed, cut frames; how to reduce GIF file size covers the other levers.

The emoji or emote doesn't move

YouTube shows GIF emoji as stills, and Discord needs Nitro to use animated emoji. Viewers can also switch animation off: on Slack's desktop app, the Automatically play animations in Slack box sits under Preferences, then Accessibility, and Twitch viewers can turn animated emotes off in Chat Settings. If Preview animation looks frozen too, the source probably has a single frame.

Edges look jagged or have a pale outline

A GIF pixel is either fully transparent or fully opaque, so soft edges can't survive shrinking. A pale outline usually comes from the source, whose edges were blended with white when it was made. Start from the original artwork if you have it, and test on dark themes.

Frequently asked questions

What size should a GIF be for a Discord emoji?

Make it 128 × 128 pixels and under 256 KB. Discord accepts JPEG, PNG, GIF, WebP and AVIF and can resize larger images, but a GIF prepared at that size doesn't depend on Discord's compression. Using animated emoji requires Nitro.

What is the Twitch emote size for an animated GIF?

Twitch emotes come in three sizes: 112 × 112, 56 × 56 and 28 × 28 pixels. With auto-resize you upload one square GIF from 112 × 112 to 4,096 × 4,096 pixels and up to 1 MB; in manual mode you upload all three sizes, each up to 512 KB. Either way, a GIF can have at most 60 frames.

What size should a Slack emoji be?

Slack says square images under 128 KB work best, in JPG, PNG or GIF, and a GIF can have up to 50 frames. It publishes no pixel size, so pick a small square such as 128 × 128 and check the file size before uploading.

How do I resize an animated GIF without losing the animation?

Use a resizer that processes every frame, such as Animated GIF Resizer or ImageMagick with -coalesce; photo resizers keep only the first frame. Then check that the timing and loop match the original.

Can a Discord sticker be an animated GIF?

Yes. Discord accepts PNG, APNG and GIF stickers of up to 512 KiB at 320 × 320 pixels, with animation limited to 5 seconds. Enter 320 in Width (px) for a square GIF, and make a longer clip again from its video at 5 seconds or less.