Optimize
GIF Compressor
Reduce the file size of any animated GIF so it fits within Discord's 8 MB upload limit (or 10 MB for Nitro). The compressor re-encodes your GIF at a lower frame rate, smaller dimensions, or reduced color count — all in your browser, completely private.
100% Private — files never leave your browser. No upload, no server, no watermark.
Last updated: June 2026
How to compress a GIF for Discord
- Load your GIF. Drag it onto the upload area or click to browse. The GIF is decoded in your browser — nothing is uploaded.
- Set a size target. Choose 8 MB (Discord free), 10 MB (Discord Nitro), or type a custom megabyte limit.
- Adjust settings. The three main levers are: Scale (reduce canvas size), FPS (drop frames), and Colors (256→128→64 palette). Each dramatically affects file size.
- Compress. Click the button. Progress is shown in real time.
- Check the result. The output panel shows the new file size vs. your target. If still too large, lower the settings and try again. If within budget, click Download.
Understanding Discord's file size limits
- Free accounts: 8 MB per file upload in DMs and servers.
- Discord Nitro Basic / Nitro: 50 MB / 500 MB upload limits, but animated GIFs above ~10 MB may stutter in chat preview.
- Server boosts: Boosted servers raise the limit for all members to 25 MB (Level 2) or 100 MB (Level 3).
For the broadest compatibility across all servers and free accounts, target under 8 MB.
Compression settings explained
- Scale: Resizing from 100% to 75% reduces pixel count by ~44%, which is the single biggest file-size reduction lever.
- FPS drop: Halving the frame rate (e.g., 15→8 FPS) roughly halves the encoded data, at the cost of slightly jerkier motion.
- Color depth: Reducing from 256 to 128 colors cuts the palette table size; going to 64 colors shows noticeable banding on photographic content but is fine for simple animations.
Frequently Asked Questions
What is Discord's GIF upload limit?
Free Discord accounts can upload files up to 8 MB. Discord Nitro raises this to 500 MB, but animated GIF embeds still perform best under 10 MB for smooth playback in chat.
How does the compression work?
The tool decodes your GIF using gifuct-js in your browser, then re-encodes it using gif.js with adjusted settings: fewer frames (lower FPS), smaller canvas dimensions, and optionally a reduced color palette.
Will quality suffer?
Some quality loss is inevitable when reducing frames or colors. The default settings try to preserve as much visual quality as possible while hitting the target size.
Can I compress a GIF I just created with this site?
Yes. Convert your video, download the GIF, then drag it into the compressor.
What if the GIF is already under 8 MB?
You don't need to compress it. Discord will upload it fine.
Does compressing a GIF affect its loop or timing?
Reducing FPS will change the perceived speed slightly. Reducing dimensions does not affect timing.