webmmp4

WebM to GIF converter

Turn a short WebM clip into an animated GIF for chat, documentation or a bug report. Best results come from clips under about ten seconds.

Drop a WebM file here, or choose one

Converted on your device · nothing is uploaded · no size limit

GIF is a poor video format and an excellent communication format. It autoplays silently, loops forever, embeds in a GitHub issue or a Slack message without a player, and needs no controls. That is why bug reports and product documentation still run on it.

The conversion here generates a custom colour palette from your specific clip rather than using a fixed one. This is the single biggest factor in whether a GIF looks acceptable or looks like it came out of 1998, since GIF can only hold 256 colours at a time.

How to convert WebM to GIF

  1. Choose your file. Drag a WebM file onto the strip above, or click it to browse. The first file also loads the converter itself, which takes a few seconds.
  2. Wait for the bar to fill. Encoding runs on your own processor. A one-minute 1080p clip usually takes under a minute; keep the tab open while it works.
  3. Download the GIF. The finished file appears as a download button and saves straight to your device.

Why convert WebM to GIF

Keep it short

GIF has no interframe compression worth the name, so file size scales almost linearly with duration. Three seconds is comfortable, ten seconds is pushing it, and a minute produces a file nobody wants to load.

Frame rate is the main size lever

The default here is 12 frames per second, which reads as smooth for screen recordings and cursor movement. Dropping to 10 cuts the size noticeably; going above 15 rarely earns its bytes.

Width is set to 480 pixels

That is the sweet spot for embedding in a README, an issue tracker or a chat message. The height scales automatically to preserve your aspect ratio.

Audio is discarded

GIF cannot carry sound. If the audio matters, convert to MP4 instead — most platforms that accept GIFs will also autoplay a muted MP4, at a fraction of the size.

Rough output sizes from a 1080p screen recording

Rough output sizes from a 1080p screen recording
Clip lengthTypical GIF sizeVerdict
3 seconds1.5–3 MBFine for chat and issues
10 seconds6–12 MBAcceptable, near the limit
30 seconds20–40 MBUse MP4 instead
60 seconds40 MB and upUse MP4 instead

Doing it yourself with ffmpeg

If you convert files regularly, or need to process a whole folder, run it locally instead. This is the same operation the tool above performs:

ffmpeg -i input.webm -filter_complex "fps=12,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 output.gif

Every flag is explained in the guide to the ffmpeg command.

Questions

Why is my GIF so much larger than the video?

GIF stores each frame with only basic compression and cannot describe motion between frames the way a video codec does. A ten-second clip that occupies 400 KB as WebM will routinely land between 5 and 12 MB as a GIF. This is a limitation of the format, not of the conversion.

Can I change the frame rate or the width?

Not in the browser tool, which uses one well-tested set of values. The ffmpeg command below exposes both: edit fps=12 and scale=480 to whatever you need.

Why do colours look banded or dithered?

GIF is limited to 256 colours per image. Gradients, video footage and anything with subtle shading cannot be represented exactly, so the encoder approximates with a dither pattern. Flat interface screenshots and line art convert almost perfectly; sunsets do not.

Does the GIF loop?

Yes, indefinitely. That is set explicitly during conversion.

Is there a length limit?

No enforced limit, but a clip over roughly 30 seconds will produce a file too large to be useful. Trim first if you can.

Can I go the other way?

Yes — the GIF to MP4 converter does the reverse, and usually shrinks the file by more than 90 percent.

Other conversions