Interface animation
420.6 KB → 9.1 KB (−98%)
360×200 → 360×200 px · 36 frames · 3.6 s
Reference settings: 128 colors · lossy strength 80
Measured:
Compare animations


CompressGIF is a free GIF compressor that runs in your browser. Choose a target size, compare the animation, and download without uploading your file to a server. Compress animated GIFs in your browser. Compare the result before downloading without a watermark.
Drag and drop your GIF here, or click to browse
Supports .gif files up to 200MB. Everything is processed in your browser.
sample.gif
Reduces file size while keeping animation timing. Preview for changes in color and detail.
Enter a width or height between 1 and 4096 px.
Drag on the preview to select the area to keep, or type the values below.
The crop area must fit inside the GIF.
Enter a target between 1 KB and 200 MB.
Higher values create more compression noise (recommended: 30 - 80).
Settings changed. Compress again to update this result.
The compressed file would be larger or unchanged. Original file returned.
Completed in 0.0s
Original demo animations, measured with Gifsicle. These are examples, not typical savings. Your settings and file will change the result.
420.6 KB → 9.1 KB (−98%)
360×200 → 360×200 px · 36 frames · 3.6 s
Reference settings: 128 colors · lossy strength 80
Measured:


335.3 KB → 84.5 KB (−75%)
256×256 → 128×128 px · 36 frames · 3.6 s
Reference settings: 128 colors · lossy strength 60
Measured:


10.24 MB → 4.61 MB (−55%)
480×270 → 400×225 px · 60 frames · 6 s
Reference settings: 64 colors · lossy strength 120
Measured:


The sample opens in the tool above. Press Compress to run your current settings.
Select a file, compare the result, and download.
Upload your GIF by dragging it into the dropzone or clicking to select from your device. Your file stays strictly on your computer.
Pick Balanced for everyday sharing, Lossless for pixel fidelity, or Target Size to hit specific KB or MB limits (like 256KB for Discord).
Inspect the side-by-side animation preview, verify transparent backgrounds, check the saved bytes, and click Download.
Direct presets and platform upload constraints for quick reference.
| Target Size | Recommended Use Case | Platform Constraint & Context | Quick Tool |
|---|---|---|---|
| < 256 KB (Discord) | Discord Custom Emojis | Strict 128×128 dimensions and < 256KB cap for animated server emojis. | GIF Compressor for Discord |
| < 256 KB (General) | Forum Avatars & Micro-Animations | Fast-loading profile icons and web micro-interactions under 256KB. | 256KB Tool |
| < 1 MB | Email Attachments & Slack | Reduce image transfer size for email and chat. Check the destination's requirements; GIF size alone does not prevent email clipping. | 1MB Tool |
| < 2 MB | Discussion Forums & CMS | Default maximum attachment upload on Discourse, XenForo, and WordPress. | |
| < 5 MB | Reddit Comments & Feeds | Recommended file weight for smooth in-feed playback on social platforms. | |
| < 8 MB | Universal Safe Margin & Boards | Safe attachment ceiling for older forums, boards, and email gateways. | 8MB Tool |
| < 10 MB | GitHub Attachments & Tumblr | GitHub caps images and GIFs in issues and comments at 10 MB; Tumblr accepts GIFs up to 10 MB but may show only the first frame above 5 MB. | 10MB Tool |
| < 20 MB | Discord Free Chat Uploads | Maximum file upload limit for standard Discord accounts without Nitro. |
Results depend on your GIF and the settings you choose.
Start with Balanced. If fine details look rough, lower the compression strength or keep more colors.
Use the emoji preset to fit within 128×128 pixels and aim below 256 KB. Check the final size before uploading.
Choose Lossless when preserving image pixels matters most. Already optimized GIFs may not get smaller.
| Compression Mode | File size behavior | Visual Quality | Best For |
|---|---|---|---|
| Balanced (Recommended) | Depends on file and settings | High (subtle lossy) | Social media, chat apps, forums |
| Lossless | May remain unchanged | 100% Identical | Logos, UI animations, pixel art |
| Target Size | Aims for your selected limit | Adaptive | Strict upload limits & email attachments |
| Discord Preset | Targets 250,000 bytes | Fitted (128×128) | Discord custom animated emojis |
Understand the trade-offs of lossy compression, color quantization, and subsampling.
Higher compression strength can make files smaller, but may introduce noise or lose detail. Compare the previews before downloading.
GIF supports up to 256 colors per palette. Fewer colors can reduce file size, but gradients and photographs may show banding.
Halving both width and height reduces the pixel count by 75%. Smaller dimensions can save space, at the cost of detail.
Removing alternating frames can reduce file size and make motion less smooth. Removed frame delays are added to retained frames to preserve the total duration.
Yes, compression parameters directly impact image details and smoothness, but playback speed is always preserved. Balanced compression introduces minor lossy artifacts to cut file size while preserving frame timing. Subsampling drops frames but aggregates delay intervals to keep total duration identical.
Yes, transparent backgrounds and alpha boundaries are fully preserved. CompressGIF automatically detects transparent palette indices and preserves transparency through encoding. Verify transparent edges in the comparison preview when applying aggressive color reduction.
Pre-optimized GIFs cannot be reduced losslessly without discarding pixel values. If a GIF was previously optimized with palette deduplication and delta encoding, Lossless mode protects your original file and returns it unchanged.
Yes, compression is 100% private and secure. All processing runs locally inside your browser via WebAssembly. Your images never leave your computer and are never transmitted to any external server.
Aggressive file size targets cannot always be reached if dimensions and frame count are fixed. To achieve drastic reductions, enable downscaling or frame subsampling in advanced settings.
Yes, browser processing supports files up to 200 MB, dimensions up to 4096px, and up to 1,000 frames. A 512 MiB memory budget safeguards your browser tab against memory exhaustion.
Yes. Switch to Target Size mode and pick one of the quick presets (256 KB, 512 KB, 1 MB, 2 MB, 5 MB, 8 MB) or enter any exact KB or MB limit. CompressGIF automatically calculates optimal color reduction and lossy parameters to fit within your specified ceiling.
One-click compression setups tailored for specific messaging limits and forum caps.
Auto-fit to 128×128 pixels and target <256 KB for Discord custom emojis.
Strictly compress below 128 KB with transparency retention for Slack workspace custom emojis.
Quickly shrink animations below 256KB for forum avatars, micro-interactions, and fast web pages.
Quickly shrink animations below 1MB for email attachments, Slack, and fast web pages.
Downscale and optimize large GIFs under 8MB as a safe margin for forums, Reddit, and email.
Fit GIFs under the 10MB limit for GitHub issue and comment attachments or Tumblr uploads.