You save a custom emoji from Discord, or a sticker from a chat, and the file on disk is often not a GIF. It is usually a .webp. Sometimes it is a .png that moves — an APNG wearing a still-image extension. Convert it for a form that still wants a GIF, and the file can jump over the size cap.
I'm Danny, and I built TinyGIF. I converted nine animated WebPs from Wikimedia Commons so the work is repeatable, plus a smaller APNG and GIF set for stickers.
The headline: seven of the nine WebPs got larger as GIFs. The median change was +36.0%, the range −52.8% to +399.4%. Two files got smaller. Four WebPs already fitted Discord's 256 KiB custom-emoji cap; after conversion, only one of those four still did.
Why the file you saved is a WebP
This is not a bug in your downloader. Discord's developer documentation says every emoji can be served as WebP, that the client uses WebP for emoji in the app, and that animated emoji should be fetched with the .webp extension and ?animated=true. A Discord engineering blog post dated 12 March 2025 is blunter: "all animated emojis are served as animated WebP." It also gives Discord's own figures, which I am quoting, not re-measuring: a 29.39% cut in median response size (31.3 KB to 22.1 KB), a 42.54% cut at the 95th percentile (228 KB to 131 KB), and "over 95%" of animated emoji requests delivered as WebP.
You can still upload a GIF. The same docs list JPEG, PNG, GIF, WebP and AVIF, with a maximum of 256 KiB. The support article "How to Add Emojis on Discord" (updated 6 November 2025) says the same 256 KB cap, up to 128×128 pixels, and lists JPEG, PNG, GIF or WEBP. The mismatch is usually on the way out: the file you get back is a WebP even if you uploaded a GIF.
What I actually ran
Debian's FFmpeg 7.1.5 cannot decode animated WebP: its native decoder skips the ANIM/ANMF chunks and exits. I decoded the frames with Pillow (libwebp) and read each frame delay from webpinfo. I then encoded a palette GIF with FFmpeg — palettegen=stats_mode=full:reserve_transparent=1 and paletteuse=dither=bayer:bayer_scale=5, with -fps_mode passthrough so frames were not resampled to 25 fps — and ran gifsicle 1.96 -O3 for a lossless tidy-up. GIF stores delays in hundredths of a second, so each source delay was rounded to the nearest 10 ms, half-up. Two 125 ms frames became 130 ms; one 135 ms frame became 140 ms.
Sizes below are those gifsicle outputs, measured on 24 November 2026, from this local pipeline. A file you convert in TinyGIF's WebP to GIF converter will not be byte-for-byte the same — that page uses the browser's image decoder and gifsicle-wasm — but the direction of the changes should still be a fair picture of the format change.
The nine WebPs
Sizes are 1024-based (1 KiB = 1,024 bytes). Percentages are relative to the original WebP. "Under 256 KiB?" means under Discord's emoji cap of 262,144 bytes.
| # | What it is | Canvas / frames | WebP | GIF | Change | Under 256 KiB as WebP? | As GIF? |
|---|---|---|---|---|---|---|---|
| 1 | Short character loop (Bambi 2.5) | 350×293, 5 frames, 0.78 s, lossless | 45.4 KiB | 61.7 KiB | +36.0% | Yes | Yes |
| 2 | Small wide animation (Salemilese) | 320×180, 22 frames, 2.75 s → 2.86 s as GIF | 123.8 KiB | 618.3 KiB | +399.4% | Yes | No |
| 3 | Portrait clip (314SKULLMVKER) | 370×480, 6 frames, 0.48 s, lossy | 126.6 KiB | 542.6 KiB | +328.8% | Yes | No |
| 4 | Two-frame comparison (dichroic colour wheel) | 1550×1550, 2 frames, 2.00 s | 234.2 KiB | 964.7 KiB | +311.8% | Yes | No |
| 5 | Neon sign (Poznańskie Słowiki) | 480×270, 24 frames, 1.59 s | 363.1 KiB | 1.11 MiB | +214.2% | No | No |
| 6 | Simple clock (Simple Animated Clock) | 211×211, 287 frames, 11.48 s | 586.4 KiB | 277.1 KiB | −52.8% | No | No (under 512 KiB) |
| 7 | Balloon graphic (WP25 PreLaunch BALLOONS) | 960×960, 36 frames, 4.885 s → 4.890 s as GIF | 731.2 KiB | 934.1 KiB | +27.7% | No | No |
| 8 | Screen recording (Endlosschleife durch Batchdatei) | 1400×1080, 11 frames, 0.66 s, lossless | 877.8 KiB | 936.5 KiB | +6.7% | No | No |
| 9 | Animated logo (BAfT Logo animiert) | 1200×510, 50 frames, 0.50 s, 10 ms delays | 1.24 MiB | 697.3 KiB | −45.0% | No | No |
A WebP animation can use a modern compressor, millions of colours, and real alpha. A GIF frame is still at most 256 colours, with on-or-off transparency, packed by LZW. That transcode is why Salemilese, the skull clip and the 1550-pixel colour wheel — all already under the emoji cap as WebP — each more than tripled as GIFs. The practical trap: a WebP that would upload as a Discord emoji can become a GIF that would not.
The two that shrank matter as well. The clock, a flat graphic with 287 frames, fell to 277.1 KiB after gifsicle's frame differencing, less than half the WebP. The BAfT logo, 50 frames in half a second, went from 1.24 MiB to 697.3 KiB. If a converter tells you the GIF is smaller, believe the two file sizes. One timing caveat: several loops use 10 ms delays, which GIF can store, but many players treat delays under 20 ms as 100 ms.
Resize to the slot before you panic
I also scaled each WebP into a 128×128 square and a 320×320 square (fit, then pad with transparent pixels, same encoder), the canvases Discord uses for emoji and stickers.
At 128×128, all nine gifsicle outputs were under 256 KiB. The tightest was Salemilese at 137.1 KiB (140,405 bytes); the rest landed between 15.4 KiB and 100.0 KiB. (After scaling, gifsicle merged one identical frame pair in the balloons file, 36 to 35; the duration stayed 4.890 s.)
At 320×320, seven still fitted under the sticker cap of 512 KiB (524,288 bytes). Two did not: Salemilese at 622.8 KiB, and the Poznań neon at 560.0 KiB. The clock was close, at 501.1 KiB (513,154 bytes) — about 11 KiB under.
The useful order is: name the slot, resize to that canvas, then compress if you still miss the byte budget. A 1550-pixel WebP does not need a heroic quality slider to become an emoji. It needs to become 128 pixels wide. If you already have a GIF, the GIF resizer does that scale-to-fit step.
Stickers are a format problem, not only a size problem
Custom stickers have a different cap, and Discord's own pages do not all agree on the animated format.
- The Tips for Sticker Creators FAQ lists APNG for animated stickers, PNG for still ones, 512 KB, and exactly 320×320 (shown at 160×160 dp on desktop; up to 60 FPS).
- A Discord blog post dated 27 March 2025 says APNG or GIF for animated stickers, same canvas and cap.
- The developer sticker docs, re-read on 24 November 2026, allow PNG, APNG, GIF or Lottie JSON, max 512 KiB, 320×320, and 5 seconds for animated stickers. Lottie is only for verified or partnered guilds.
I did not re-test Discord's upload form. Until those pages agree, APNG is the safer official target for a new animated sticker. A downloaded sticker that looks like a still .png is probably an APNG — many viewers show only the first frame. The Discord sticker to GIF page is the one I built for that direction; going the other way is a GIF to APNG job with the 320×320 and 512 KB budget filled in.
I ran both directions on Commons files, with the same FFmpeg 7.1.5 and, for GIFs out, gifsicle -O3. APNG to GIF, original canvas: all five got smaller, the opposite of most of the WebP set. A bouncing-ball example (100×100, 20 frames, 60.5 KiB) became 19.8 KiB (−67.2%); a 64×64 biker became 13.1 KiB (−72.4%); a 200×200 lotus animation became 25.2 KiB (−83.0%). Two others shrank by 47.5% and 43.5%. APNG stores true colour and real alpha, so a simple graphic often packs tighter as a paletted GIF. That does not make GIF the better sticker format — only that "convert to GIF" is not always a size penalty.
GIF to APNG, padded to 320×320, is the direction that blows budgets. A 64×64 pixel-art timelapse that was 22.9 KiB as a GIF became 1022 KiB as a 320×320 APNG, over the 512 KiB cap. Newton's cradle (307.8 KiB, 360×270) became 835.7 KiB, also over. A 32×32 six-frame runner that was 720 bytes as a GIF became 107.2 KiB and still fitted; a 52×52 logo became 495.5 KiB and only just fitted (507,425 bytes, about 16 KiB under). If the result is over 512 KiB, shrink frames or colours after the resize — the container change will not save you.
A short recipe
- Look at the file you actually have. A
.webpis a WebP, even if it came from a "GIF" in Discord. A.pngthat moves is an APNG. A.jsonis probably Lottie, which needs a different conversion. - Name the slot. Custom emoji: under 256 KiB, uploaded at up to 128×128. Sticker: exactly 320×320, under 512 KiB, at most 5 seconds, and prefer APNG until Discord's own pages agree.
- Convert the format first, then resize to that canvas, then compress if you still miss the budget. Treat 256 KB and 512 KB as 1024-based, and aim a little under.
- Believe the two file sizes. Most animated WebPs got larger as GIFs in this set; a few got smaller. Simple APNGs often shrank. A tiny GIF upscaled to a 320×320 APNG can still miss the sticker cap.
FFmpeg, libwebp, gifsicle and a square crop will do the same work. Convert the file you actually have, toward the limit that actually applies.
Official pages, re-read on 24 November 2026: Discord's developer emoji and sticker docs; How to Add Emojis on Discord; Tips for Sticker Creators FAQ; and the March 2025 WebP/AVIF and sticker posts. The WebPs are linked in the table; the APNG and GIF extras are also on Commons: bouncing beach ball, Biker, Lotus-buddha, monster timelapse, Newton's cradle, LittleRunner, and Cryptocat 2013 logo, Schrödinger's cat box, and IconUNG.
Comments
Join the discussionNo comments yet. Be the first to comment.