GIF Compressor

Reduce GIF file size by up to 60% with quality controls, target size, and batch processing. Free, fast, no watermarks.

Initializing... drag & drop files here

Supports: GIF

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Drop Frames
Frame dropping is the most effective way to compress an already optimized GIF.

A smooth GIF typically runs at 10–15 FPS. If your file’s FPS (shown on the file card above) is higher, use these recommendations:
  • Above 20 FPS: Drop every 2nd frame.
  • 15–20 FPS: Drop every 3rd frame.
Note: Dropping frames reduces file size by removing animation detail. Lower the number, the more frames you drop.
Frames To Drop
Image resolution
By Percentage
1
80
100
Estimated Impact:
Reducing dimensions to 80% of the original.
Note for GIF: Unlike standard images, reducing GIF dimensions may not always decrease file size and can sometimes increase it due to how animation frames are optimized.

For a 10 MB file, this would result in an approximate size of 6.40 MB.

Note: Actual file size depends on image complexity. Find the best balance between quality and performance.
Image quality (%)
Quality Percentage
1
80
100
Colors

How to Compress a GIF Online

  1. Upload Your GIF Files: Drag and drop, or click "+ Add Files" to select GIFs from your device. Batch upload is supported — apply the same settings to multiple GIFs at once.
  2. Set Image Quality and Colors: Default Image quality is 75%, a balanced lossy LZW preset. Drop to 50-60% for messaging-app size targets, push to 90% for portfolio work. Open the Colors panel to enable "By Color Reduction + Dither" — cutting from 256 to 64 colors typically halves file size on illustrations and screen recordings.
  3. Drop Frames or Resize (Optional): Use Drop Frames to remove every 2nd, 3rd, 4th, or 5th frame — a 30 fps capture trimmed to every other frame plays at 15 fps and roughly halves byte count. Under Image resolution, pick a preset (480p, 360p, 240p) or scale by percentage; halving width and height alone usually cuts size by 70% or more.
  4. Compress and Download: Click "Compress". Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after one hour — no sign-up, no watermark, never shared. Download individually or as a ZIP for batch jobs.

Why Compress GIF Files?

The GIF format dates to 1987 (GIF89a added animation in 1989) and stores each frame as an LZW-compressed palette of up to 256 colors. That palette ceiling is why a 5-second screen recording can balloon past 10 MB while the same clip as MP4 is under 500 KB — GIF was never designed for the long, photographic, high-frame-rate content people now post to it. Compression buys you back the bulk of that overhead.

  • Discord uploads and emoji — Discord's free-tier upload cap dropped to 10 MB in September 2024 (50 MB on Nitro Basic, 500 MB on full Nitro), and animated server emoji must stay under 256 KB. Compressing the palette, dropping frames, and resizing brings most reaction GIFs under both thresholds.
  • Email and Slack attachments — Gmail caps attachments at 25 MB, Outlook at 20 MB, and Slack's free workspace at 1 GB total across the workspace, so trimming each GIF down keeps quotas usable.
  • Twitter/X and Reddit posts — X accepts GIFs up to 15 MB on web but only 5 MB on mobile uploads; Reddit's native uploader converts GIFs over 100 MB to MP4 automatically, which often re-encodes badly.
  • Page load and Core Web Vitals — A 6 MB hero GIF pushes Largest Contentful Paint well past Google's 2.5 s threshold on 4G; compressed under 1 MB it stops hurting search rankings.
  • Documentation and tutorials — Product docs, GitHub READMEs, and Notion pages embed faster and stay readable on metered connections when each GIF is under a megabyte.
  • Archival and storage — A folder of 50 uncompressed screen recordings can hit 1-2 GB; lossy LZW with frame dropping commonly takes that to 200-400 MB without visibly changing the playback.

GIF vs MP4 vs Animated WebP — Format Comparison

Property GIF MP4 (H.264) Animated WebP
Max colors per frame 256 16.7M (24-bit) 16.7M (24-bit)
Transparency 1-bit (on/off) None 8-bit alpha
Audio support No Yes No
Typical 5 s, 480p file size 3-8 MB 200-500 KB 0.5-2 MB
Auto-play in email clients Yes No No (rendered as static)
Browser support Universal Universal Chrome 32+, Firefox 65+, Safari 16+, Edge 18+ (~96%)
Auto-loops without controls Yes Needs autoplay loop muted Yes
Best fit Email, emoji, simple loops Long clips with audio Modern web pages

Per Google's own measurements, lossy animated WebP averages 64% smaller than the equivalent GIF, and lossless WebP is still 19% smaller. For most messaging and web use the size win is dramatic — see GIF to WebP for converting away from GIF, or GIF to MP4 for chat-app-friendly video.

Compression Method Quick Guide

Method Typical size reduction Visible quality cost When to use it
Lossy LZW (quality 75%) 30-50% Slight dithering Default — works for nearly everything
Color palette to 64 40-60% Banding on photos, fine on UI/illustrations Screen recordings, line art
Color palette to 32 or below 60-80% Visible banding Pixel art, monochrome loops
Drop every 2nd frame ~50% Choppier motion Static-camera screencasts, slow loops
Resize 100% to 50% ~75% Smaller dimensions GIF will be displayed small anyway
Combine lossy + color + resize 85-95% Some quality loss Aggressive Discord/email targets

Stacking methods compounds — resizing to 50%, dropping every other frame, and reducing to 64 colors can take a 12 MB original under 500 KB while still reading clearly at chat-thumbnail size.

Frequently Asked Questions

How do I compress a GIF under 256 KB for Discord emoji?

Discord enforces a 256 KB cap on animated server emoji. Start by resizing to 128×128 px (Discord's emoji display size), reduce the color palette to 32-64 colors, and drop the quality to 50-60%. Most source GIFs fit under 256 KB after that combination. If it's still too large, shorten the clip — 1-2 seconds is the practical sweet spot for emoji.

Why is my compressed GIF still larger than the original MP4 I started from?

GIF's 256-color-per-frame palette and LZW encoding are fundamentally less efficient than H.264 or VP9 video. Even a maximally compressed GIF will almost always be several times larger than the source MP4. If you have a choice, embed an MP4 or animated WebP instead — see Video to GIF for the reverse direction when you specifically need GIF output.

Is GIF compression lossless or lossy?

Both. GIF's native LZW step is lossless, but tools (including XConvert and gifsicle's lossy LZW encoder) re-quantize colors and dither pixels before re-encoding to gain 30-50% more reduction. The "lossy" label refers to that pre-processing step, not the LZW pass itself. The quality slider on this page controls how aggressive that pre-processing is.

What's the best color palette size for a screen recording GIF?

64 colors is a strong default for UI screencasts — most application interfaces use a limited palette anyway, so dropping from 256 to 64 typically halves size with no visible change. Drop to 32 if the UI is mostly grayscale or two-tone. Keep 128-256 if your recording includes photographic content like a video thumbnail or a webcam overlay.

Will compressing a GIF break its transparency?

No. GIF transparency is 1-bit (a pixel is either fully transparent or fully opaque) and that flag is preserved through compression. Be aware though that anti-aliased edges on the original transparent layer can look harsher after color reduction, because the dithering pass has fewer colors to blend with. If you need smooth edges over arbitrary backgrounds, animated WebP's 8-bit alpha channel handles that case better than GIF.

How small can I make a GIF before it looks bad?

For a 5-second 480p clip: down to about 30-40% of original size with quality alone, to 10-20% by also dropping colors to 64 and frames to every other, and to under 5% by resizing to 50%. Beyond that you'll see clear banding, choppy motion, or pixelation. The fastest test: compress, view, then decide if the artifacts are acceptable at the size you'll actually display.

Why does my GIF have a different file size after compression with the same settings?

Two reasons. First, GIF is a tile-based format — animations with more pixel-level change between frames produce larger files even at the same quality setting because more LZW dictionary entries are needed. Second, dithering is content-dependent: noisy footage dithers heavier than flat UI captures. The same quality slider produces different absolute sizes per source clip.

Is there a file size limit for uploads on XConvert?

XConvert accepts GIF files up to 300 MB each in a single batch, and there's no cap on the number of files per session. Files are uploaded over an encrypted connection and processed on our servers, so very large files may take a moment to upload — and they are deleted from our servers automatically after one hour.

Should I just convert to MP4 or WebP instead of compressing?

If your destination supports it, yes — that's usually the better answer. Modern social platforms (Twitter, Reddit, Discord embeds) silently convert uploaded GIFs to MP4 anyway. Email, Slack threads, and animated emoji still need real GIFs. If the latter is your case, compress here; if the former, convert with GIF to MP4 or GIF to WebP for dramatically smaller files at the same visual quality.

Rate GIF Compressor Tool

Rating: 4.7 / 5 - 17364 reviews