Free · runs in your browser · nothing uploaded
Reduce GIF size without wrecking the animation
Drop a GIF, choose a platform or file size, and preview the result before downloading. Compression starts with a lossless pass to preserve as much detail as the target allows.
Drop your GIF here
or browse files · GIF up to 60 MB · stays on your device
Target size
19.8 MB target
Starts with lossless optimization. Changes colours, dimensions or frames only when the selected target requires it.
Your file stays on your device. The browser may download the processing engine on first use.
What happens when you press the button
Each pass compares the result with the selected byte target and any dimension limit.
-
01
Optimize without changing the image
Gifsicle WASM checks for repeated image data and redundant palette entries. If the smaller GIF already fits, the tool stops here.
-
02
Rebuild only if needed
The tool decodes and composites each frame, then tries a smaller palette or canvas. A tight byte budget may also mean fewer frames. The timing of skipped frames is carried forward in the GIF.
-
03
Check the actual file size
Each pass measures the encoded bytes. The tool stops when the result meets the selected rules or shows the closest result it could produce.
GIF size presets
Platform presets use the stated cap with a 1% byte margin. Reddit and email presets are working targets. Enter a custom size if you know what your uploader requires.
| Case | Value | Note |
|---|---|---|
| Discord attachment | 20 MB | Standard upload cap in the current attachment FAQ |
| Discord emoji | 256 KB | The preset also caps the longer edge at 128 px |
| X mobile | 5 MB | Animated GIFs in the mobile app |
| X web | 15 MB | Animated GIFs uploaded on the web |
| 20 MB | Working target. Check the limits for your post or community. | |
| Email & forms | 2 MB | Working target for smaller attachment forms |
What actually makes a GIF big
A GIF is a stack of separate pictures, and each picture carries its own palette of up to 256 colours. Nothing in the format knows that two neighbouring frames are almost the same picture, and nothing in it knows that your background is one flat colour. So a five-second clip at 1080p can easily cost 25 MB even though a video of the same clip would cost two.
That is why shrinking a GIF is not one operation. There are five separate levers, and they do not cost the same in quality:
- Unchanged pixels. In most GIFs the background sits still while one thing moves. If a pixel is identical to the frame before it, it does not need to be sent again — it can be marked transparent and left on screen. On a screen recording or a talking head this alone can remove half the bytes, and nothing about the picture changes.
- The palette. 256 colours is far more than most animation needs. Cutting to 96 or 64 colours is usually invisible on flat illustration and only slightly visible on gradients, and it cuts the encoded size with it.
- The LZW stream. GIF compresses runs of identical bytes. A cleaned-up palette and fewer unique colours give that compressor longer runs to work with.
- How many frames. Dropping from 30 to 12 frames per second is the single biggest saving available, and also the most visible one: fast motion starts to strobe.
- How many pixels. Halving the width removes three quarters of the pixels. It is the lever of last resort, because it is the one people notice.
The order we pull them in
The compressor starts with Gifsicle WASM at the original size. If that lossless result fits, it is ready to download. A tight byte cap or a smaller platform canvas can require re-encoding. The controller then measures actual output bytes and adjusts the palette, dimensions or frame count.
A GIF built for a 500 KB form usually needs different settings from one built for a chat attachment. Shorter clips and flatter colours usually give the controller more room to keep the quality you want.
Pick the limit from where you are posting
The Discord file attachment FAQ lists 20 MB for standard uploads. Discord custom emoji use a separate 256 KB limit, and the emoji preset also fits the image within 128 × 128 pixels. X Help lists 5 MB for GIFs on mobile and 15 MB on the web. For a form with a 500 KB limit, type 500 into the custom field.
When a GIF is the wrong format
If the clip has real colour gradients — a sunset, a photo, a face — GIF will always look worse than the same clip as an MP4 or WebM, at a fraction of the size. Most chat apps now play a short video inline, so if quality matters more than the word "GIF", export a video instead. Use GIF when what you need is a silent loop that autoplays everywhere, including places that refuse video attachments.
Where the file goes
Your browser reads the file from your device and processes it in a Web Worker. It returns a local download. Engine code may be downloaded from a CDN on first use. The contents of your GIF stay on your device.
Questions people ask before shrinking a GIF
Does this upload my GIF anywhere?
Your file is read and processed in this browser. Engine code may be downloaded on first use. The GIF itself stays on your device.
Will the animation still look the same?
When the lossless result fits, the image stays the same. Smaller targets can require fewer colours, smaller dimensions or fewer frames. Check the preview before downloading.
How big a GIF can I start with?
Files up to 60 MB. Extremely large frames or long animations may reach the browser’s memory or processing limits. A shorter or smaller source takes less time.
Will the GIF always fit my target?
The tool measures the actual download in bytes. If none of the available settings reaches your target, it reports the closest result and shows how far over the target it is.
Can I compress a GIF to 1 MB or 500 KB?
Type 1000 or 500 in the custom KB field. You can also set a 256 KB or 100 KB target. How much detail the result retains depends on the source.
Turn a video into a GIF
Pick a clip from your phone or desktop, trim it, and get a looping GIF without a converter install.
GIF too big for Discord?
Choose the attachment or emoji preset and check the exact file size before downloading.
Make a GIF smaller, explained
What actually costs bytes in a GIF: frames, colours, dimensions, and the order worth changing them in.