WebP to GIF · GIF compressor GIF compressor: make an animated GIF smaller
Slack, email and many CMSs cap GIF uploads. Drop the GIF here, pick a smaller width, fewer frames per second or fewer colours, and compare the result with the original before you download. Everything runs on your device.
- Files stay on your device
- See the size before and after
- Timing stays the same
Compress a GIF
Choose one animated WebP, GIF or APNG. Adjust the settings, convert, compare and download.
No file yet. Choose, drop or paste an animated WebP, or try the sample animation.
Only ever shrinks; the height follows.
Drops frames above this rate; total length stays the same.
GIF allows at most 256 colours per image.
GIF transparency is on or off per pixel; soft edges become hard.
What a frame-rate cap does to a 4-second clip
A 100-frame animation at 25 fps (40 ms per frame). The tool keeps a frame only when enough time has passed since the last kept one, and gives each kept frame the time of the frames it replaces.
| Frame rate cap | Frames kept | Delay per frame (1/100 s) | Length | Frames vs original |
|---|---|---|---|---|
| Keep original | 100 | 4 | 4 s | 100% |
| 15 fps | 50 | 8 | 4 s | 50% |
| 10 fps | 34 | 4 / 12 | 4 s | 34% |
| 5 fps | 20 | 20 | 4 s | 20% |
GIF stores delays in hundredths of a second. The tool rounds on the running total, so the clip length does not drift.
Version v1.0Updated Update history
Why the GIF looks and weighs the way it does
GIF is a 1989 format. Every difference you see comes from three of its limits.
256 colours
Each image can use only 256 colours. Photos and gradients lose some shading; dithering mixes nearby colours in a fine pattern so the steps are less visible.
File size
GIF compresses far worse than WebP. A GIF is often 3 to 10 times larger than the animated WebP it came from. Fewer pixels, frames and colours are what make it smaller.
Transparency
A pixel is either fully transparent or fully opaque. Soft shadows and anti-aliased edges become hard. If that looks rough, fill the background with the colour of the page the GIF will sit on.
Timing
Delays are stored in hundredths of a second, and browsers treat 0 or 1 hundredth as 10. The tool writes at least 2 hundredths per frame, so fast animations do not suddenly slow down.
Need the smallest possible file and the viewer supports WebP? Keep the WebP. Convert only where GIF is required.
Convert WebP to GIF in four steps
The defaults keep the original size, frame rate and 256 colours.
-
1
Add the animation
Choose a WebP, drop it on the box or paste it. The tool reads the frame count and length straight away.
-
2
Pick the size
Reduce the width for chat apps and email; 480 px is plenty for a reaction GIF.
-
3
Cut frames and colours if needed
A 10 or 15 fps cap and 64 to 128 colours often halve the file with little visible change.
-
4
Convert and download
Compare the original and the GIF side by side, then download. Change a setting and convert again as often as you like.
From WebP frames to a GIF file
The browser decodes the animation; the tool rebuilds it as a GIF.
- Frames and their durations come from the browser’s WebCodecs ImageDecoder. Without it, GIF files are decoded by the tool itself and WebP falls back to the first frame
- Frame-rate cap: a frame is kept when at least 1 ÷ fps seconds have passed since the last kept frame; its delay grows to cover the dropped ones
- Delays are rounded on the running total in hundredths of a second, with a minimum of 2
- One shared palette is built from samples of all frames (the open-source gifenc quantizer), so colours do not flicker between frames
- Pixels unchanged from the previous frame are written as transparent, which compresses better without changing what you see
| Animated WebP | GIF | |
|---|---|---|
| Colours | Millions (24-bit) | Up to 256 per image |
| Transparency | 8-bit, soft edges | 1-bit, on or off |
| Compression | Lossy or lossless, modern | LZW, lossless on 256 colours |
| Timing unit | Milliseconds | Hundredths of a second |
| Support | Modern browsers | Practically everywhere |
A 4-second sticker at 10 fps
100 frames at 25 fps, frame-rate cap 10 fps.
| Step | Calculation | Result |
|---|---|---|
| 1. Minimum gap | 1 ÷ 10 fps | 100 ms |
| 2. Kept frames | Frame starts 0, 120, 240 … ms (every third 40 ms frame) | 34 frames |
| 3. Delay | Each kept frame covers three: 3 × 40 ms | 12 hundredths |
| 4. Share of frames | 34 ÷ 100 | 34%, length still 4 s |
At 15 fps the gap is 66.7 ms, so every second frame is kept with a delay of 8 hundredths.
Where WebP to GIF goes wrong
Most complaints are about a huge file or a frozen picture.
Only the first frame
Many converters, and browsers without the ImageDecoder API, read just one frame. The result is a still GIF. Check the frame count before you convert.
Keeping full size
A 1080 px animation as a GIF can run to tens of megabytes. Chat apps and email rarely show more than 480 px.
Zero delays
Frames with a 0 or 1 hundredth delay play at 10 hundredths in browsers, so the animation crawls. This tool writes at least 2.
Hard edges on stickers
Soft transparent edges turn jagged. Fill with the background colour of the page or chat where the GIF will appear.
The same privacy-first approach in our analytics
This converter keeps files on your device. TapCub applies the same idea to analytics: collect what you need, keep personal data out.
Cookieless visitor ID
Visitors are told apart by a keyed hash of the site, a salt, the IP address and the browser type. Nothing is written to the browser and the IP is never stored.
Learn moreCompliance centre
Choose balanced or strict, switch on IP truncation for some regions only, set the geography level and retention.
Learn moreSafeguards
Encryption in transit, sensitive fields encrypted at rest, masking by role, export and deletion of one person's data.
Learn moreWebP to GIF questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
How do I reduce the size of a GIF?
The three things that matter are pixels, frames and colours. Halving the width cuts the pixels to a quarter; a 10 fps cap drops frames; 64 to 128 colours trims the rest.
Will compressing a GIF lower its quality?
Somewhat: fewer colours show as banding and a lower frame rate looks less smooth. Turn dithering on to soften the banding, and compare before and after on screen.
Why is the compressed GIF sometimes bigger?
If the original was already optimised, re-encoding with 256 colours and dithering can add bytes. Lower the colours or the width, or keep the original.
Does it work in Safari and Firefox?
Yes. Where the browser cannot read GIF frames itself, the tool uses its own GIF decoder, so every frame is kept.
Update history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Analytics that keep personal data out
TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.