TapCub is live — analytics, insights and live chat, free on one platform

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.

Convert

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.

What a frame-rate cap does to a 4-second clip
Frame rate capFrames keptDelay per frame (1/100 s)LengthFrames vs original
Keep original10044 s100%
15 fps5084 s50%
10 fps344 / 124 s34%
5 fps20204 s20%

GIF stores delays in hundredths of a second. The tool rounds on the running total, so the clip length does not drift.

Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

Version v1.0Updated Update history

Read the result

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.

How to use it

Convert WebP to GIF in four steps

The defaults keep the original size, frame rate and 256 colours.

  1. 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. 2

    Pick the size

    Reduce the width for chat apps and email; 480 px is plenty for a reaction GIF.

  3. 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. 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.

How it works

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
WebP and GIF compared
Animated WebPGIF
ColoursMillions (24-bit)Up to 256 per image
Transparency8-bit, soft edges1-bit, on or off
CompressionLossy or lossless, modernLZW, lossless on 256 colours
Timing unitMillisecondsHundredths of a second
SupportModern browsersPractically everywhere
Worked example

A 4-second sticker at 10 fps

100 frames at 25 fps, frame-rate cap 10 fps.

Which frames survive
StepCalculationResult
1. Minimum gap1 ÷ 10 fps100 ms
2. Kept framesFrame starts 0, 120, 240 … ms (every third 40 ms frame)34 frames
3. DelayEach kept frame covers three: 3 × 40 ms12 hundredths
4. Share of frames34 ÷ 10034%, 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.

Common mistakes

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.

FAQ

WebP 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.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · 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

Next step

Analytics that keep personal data out

TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics