Why Slack's 128 KiB Emoji Wall Is Twice as Tight as Discord's
Slack workspaces live on custom reaction emojis — animated party parrots, spinning product logos, celebratory team mascots, and inside jokes. Yet Slack enforces the strictest custom emoji ceiling among major chat apps: square 128 × 128 px and strictly under 128 KB (131,072 bytes). That is half the budget Discord allows (256 KB), and even stricter than Discord stickers (512 KB).
Worse, internal Slack workspaces often animate proprietary company mascots, unreleased product icons, or team photos that security policies prohibit uploading to random cloud conversion servers. Processing Slack emojis locally inside your browser eliminates both the privacy breach and the repetitive upload-fail-retry cycle.
Official Slack Custom Emoji Spec Sheet
| Specification | Official Slack Rule | Practical Engineering Target | Why It Matters |
|---|---|---|---|
| Max File Size | 128 KB (131,072 bytes max) |
≤ 124,000 bytes |
Eliminates Finder decimal-KB vs. binary-KiB rounding surprises |
| Dimensions | Square up to 128 × 128 px |
128 × 128 px (or 96 × 96 for long clips) |
Slack renders inline reactions at ~22–32 px; extra pixels waste bytes |
| Background | Transparent recommended | 1-bit GIF89a alpha + disposal=2 |
Prevents ugly white squares in Slack Dark Mode |
| Aspect Ratio | 1:1 Square |
Tight crop around subject first | Leaves zero empty transparent margin shrinking your icon |
| Frame Delay Floor | Standard browser GIF rules | 60 ms – 100 ms (10–16 fps) |
Avoids < 20 ms browser clamping and maximizes smoothness per KB |
The 128 KiB Byte-Budget Math: Where Your Bytes Actually Go
Inside a 128 × 128 GIF, total file size is driven by four multiplied factors: Active Pixel Area × Color Entropy × Frame Count ÷ LZW Redundancy. Knowing which lever hurts least lets you keep emojis crisp at 22 px:
- Trim Empty Space Before Scaling: If your character occupies only the center 60% of a
480 × 480canvas, scaling straight to128 × 128shrinks the actual artwork down to76 × 76— blurry and tiny in Slack. Always crop tightly to the subject's bounding box in Crop Animated GIF first. - Switch to
64or96Colors (Biggest Invisible Win): At128 × 128displayed at22 px, the human eye cannot distinguish a 256-color palette from a well-quantized 64-color palette. Cutting the color table shrinks LZW code entropy by 25%–40% immediately. - Strip Solid Backdrops With Edge Flood-Fill: Converting a noisy gradient or white square background to uniform transparent pixels boosts LZW run-length compression dramatically. Use Edge-Connected Flood-Fill in GIF Background Remover so white eyes, highlights, and brand lettering inside the icon never turn hollow.
- Cap Length to 1.0–1.8 Seconds (
10–18Frames): Long 45-frame animations rarely look good crammed into 128 KiB — heavy lossy artifacts destroy facial expressions. Use GIF Speed Changer & Trim to isolate the single cleanest 1-second loop, then let our Slack 128 KiB Auto-Fit preset dial Gifsicle lossy compression automatically.
Lab Comparison: Shrinking Our 3 Stress GIFs Into Slack's 128 KiB Ceiling
| Source Test GIF | Starting Weight & Dimensions | Raw Unscaled Lossy Only | Proper Slack Pipeline (Crop → BG → 128 px → Auto-Fit) |
Final Slack Readiness |
|---|---|---|---|---|
test_transparent_disposal.gif |
94.2 KB (400×400, 24 f, disposal=2) |
71.4 KB (fails 128 px size guideline) |
Scale 128×128 preserving disposal=2 → ~18–25 KB |
Passes with >100 KB headroom |
test_solid_bg_sticker.gif |
340.3 KB (480×480, 20 f, #00FF00) |
~210 KB (still over 128 KiB + green box!) | Flood-fill #00FF00 + 1 px defringe + 128×128 + 64 colors → ~55–85 KB |
Clean alpha in Slack Dark Mode |
test_screenrecord_heavy.gif |
2.50 MB (960×540, 45 f, rich UI) |
1.67 MB (13× over Slack limit!) |
1:1 Crop → 128×128 → 15-frame stride + Gifsicle lossy 80–110 → ~95–120 KB |
Fits strictly < 131,072 B |
Pixel-Art & Corporate Logo Tip: Use Nearest-Neighbor Scaling
If your Slack emoji starts as a sharp 32 × 32 or 64 × 64 pixel-art sprite or geometric SVG brand mark, open Resize GIF and select Nearest-Neighbor before exporting at 128 × 128. Smooth interpolation invents dozens of intermediate anti-aliased gray shades along hard edges — bloating byte count and blurring your icon at Slack's native display size.
Common Slack Emoji Upload Rejections & Fast Local Fixes
Even after hitting 128 × 128 px, teams occasionally see cryptic Slack rejection messages during upload. Here is what triggers each failure and how to solve it locally in seconds:
- "This image is too large" at 128 KB in macOS Finder: Finder calculates decimal kilobytes (
128,000 B), while strict validators check131,072 Bor smaller thresholds after parsing headers. Aim for≤ 124,000 Busing our Slack 128 KiB preset so your upload clears on the first attempt every time. - Emoji Plays Too Slowly After Speeding It Up: If you set frame delays to
10 mstrying to build a hyper-fast party parrot, Chrome, Slack desktop (Electron), and mobile browsers clamp< 20 msdelays back up to100 ms. Keep frame delays at30–60 msinside GIF Speed Changer for snappy loops. - White Square Box Appears in Slack Dark Mode: Your source export carried an opaque white backdrop or dropped its transparent palette index. Strip the backdrop with Edge Flood-Fill + 1 px Defringe in GIF Background Remover and verify over our Dark Matte swatch before uploading.
4-Step Zero-Upload Slack Emoji Recipe
- Drop your animation into Crop Animated GIF and select 1:1 Square tightly around the icon.
- Remove solid white or green background in GIF Background Remover and verify zero fringe on the Dark preview swatch.
- Optional: trim dead intro frames in GIF Speed Changer & Trim so the loop starts immediately on action.
- Click Slack Emoji (≤ 128 KiB) inside Discord & Slack GIF Compressor and upload directly to
yourworkspace.slack.com/customize/emoji.
Sources & Primary References
All Slack custom emoji requirements and browser GIF constraints in this guide reference official primary documentation (verified November 2026):
- Slack Help Center — Add custom emoji and aliases to your workspace (official
128 KBfile size cap,128 × 128 pxsquare guidance, and transparent background note): https://slack.com/help/articles/206870177-Add-custom-emoji-and-aliases-to-your-workspace - CompuServe GIF89a Specification (W3C Archive) (1-bit transparency index,
disposal=2restore-to-background, and centisecond timing): https://www.w3.org/Graphics/GIF/spec-gif89a.txt - Gifsicle Official Manual (palette quantization
--colorsand lossy LZW optimization flags): https://www.lcdf.org/gifsicle/man.html - MDN Web Docs — CanvasRenderingContext2D.imageSmoothingEnabled (Nearest-Neighbor crisp pixel-art scaling behavior): https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API