Compress a GIF to under 20 MB
Animated GIFs get big fast. Drop one here to make it fit Discord’s 20 MB limit, or turn a short video into a GIF (Advanced options → Output format → GIF).
Video compressor
Loading the compressor…
Advanced options
For long videos: several files, each under the target size.
Off by default: location and device details are removed from the copy.
Compressing…
Starting
Keep this tab open. The video is processed on this device; nothing is uploaded.
That didn't work
Technical details
- No upload: runs in your browser
- Always under the limit, checked to the byte
- Free, no sign-up, no watermark
Powered by FFmpeg 9.1 running in your browser · open-source licenses · source code
How GIF compression works
A GIF stores every frame as a picture with at most 256 colors, without the clever motion prediction that video formats use. To make one smaller, 20mb.net builds an optimized color palette, lowers the frame rate to around 15 frames per second and scales the picture down until the file fits. It checks the size and tries again if needed.
GIF or video?
For anything longer than a few seconds, a video is far smaller and sharper than a GIF, and it can have sound. Discord shows GIFs as animated images and MP4 or WebM files as videos with a play button. If you don’t need a GIF specifically, keep the video and use the 20 MB compressor.