Decide what the animation must show
Keep the first and last frames that communicate the action, then choose the display width. A smaller canvas often reduces bytes, but a new color palette or dithering can offset those savings. Check the entire animation, including its loop boundary and transparent edges.
If the destination accepts video, GIF to MP4 can be useful. MP4 does not inherently repeat and cannot keep transparent GIF pixels, so test the actual player.
Try compression in order
- Open Compress GIF and select the original.
- Start with the Balanced preset (128 colors, lossy level 40). Export once and compare the playing source and result. More lossy compression may reduce detail or introduce rough edges.
- If size still matters, lower the width. The GIF resizer gives direct control over width, colors and dither.
- Keep every second, third or fourth frame only when the action remains clear. The kept frames inherit skipped display time. Trim the inclusive first and last frame to shorten the animation.
- Download and play the exact export before using it. A larger result is possible; no setting guarantees a target size or visual quality.
A measured transparent animation
We made this 12-frame synthetic GIF from moving shapes on a transparent 160 × 100 canvas. Its frame delays vary from 40 to 310 milliseconds, totaling 1.64 seconds. It is a small test animation, not photographic footage; detailed photographs can behave very differently. The three linked files below are the actual browser exports. The compression row uses the current Compress GIF default without a resize or frame change. The resize row uses the GIF resizer's default width of 75%.

| File | Settings | Frames and duration | Measured bytes |
|---|---|---|---|
| Original GIF | 160 × 100 px | 12 · 1.64 s | 14,597 |
| Compressed GIF | 64 colors; lossy 40; original width | 12 · 1.64 s | 4,510 |
| Resized GIF | 120 × 75 px; 256 colors; Bayer dither; all frames | 12 · 1.64 s | 11,961 |
The compression export is smaller in this one synthetic example. The resize export is also smaller than the source, but larger than the compressed export. Neither is a general savings forecast. Compare the linked animations for the movement and transparency that matter to your use.
Reproduce: download the original GIF above. In Compress GIF, leave width at 160, keep every frame from 1 through 12, select 64 colors and lossy 40. In GIF resizer, set width 120, 256 colors, Bayer dither and all frames. Read the sizes shown in each result. The source and exports were measured on 14 November 2026 in a Chromium browser; another browser or later encoder may produce different bytes.
Publish with the right limits
Local GIF processing supports up to 32 MiB, 4096 pixels per side, 16 megapixels, 600 frames, 120 seconds and 128 million full-frame pixels. A resize result can be up to 2000 pixels per side. FooPixel hosting has separate GIF limits of 60 seconds and 2000 pixels per side, plus the applicable upload byte allowance and validation. Download remains available for a local result that is too long to host. Visitor hosted links expire after 24 hours; eligible active accounts have no routine expiry within their storage allowance.
Animations can distract or trigger motion sensitivity. Provide a way to pause or stop movement that continues for more than five seconds, and avoid rapid flashing. See W3C guidance on moving content.