WebM to GIF

VP8, VP9 and AV1 clips, decoded in your browser. Nothing is uploaded.

WebM is what browser-based screen recorders produce and what many sites serve for short looping clips. Every browser decodes it, so this is the format that works everywhere — including in Firefox. The converter opens with the Demo preset.

Open the converter → Opens the converter set to 480 px wide at 15 fps. Drag the handles to pick the part you want.

Where WebM files come from

WebM is the open container Google introduced for the web: VP8 or VP9 video, sometimes AV1, with Opus or Vorbis audio. It is what you get from the browser's own MediaRecorder — so from Chrome extensions that record a tab, from many web-based screen recorders, and from tools like OBS when set to WebM. It is also the format behind the "GIFs" on sites that actually serve video, which is why a file you saved from one of those may be a WebM with no sound.

For conversion this is the easy case. Every current browser decodes VP8 and VP9 in hardware or software, and most decode AV1, so WebM files work on the same terms in Chrome, Edge, Safari 17+ and Firefox. Browser recordings are also usually already the right size — 720p or 1080p at 30 fps — and often contain static screen content, which the changed-pixels-only storage compresses very well.

Recorded in the browser? Two quirks to know

MediaRecorder writes WebM files without a duration in the header when the recording is stopped abruptly; players show them as infinitely long. This converter computes the real duration from the frames, so the film strip and the handles work normally. It can take a moment longer to open a long recording for that reason.

The second quirk is variable frame rate: browser recordings drop frames when the tab is busy, so "30 fps" is nominal. The converter samples at the frame rate you choose from whatever frames exist, so the GIF plays at the right speed; if a stretch of the recording has no frames, the last one is held. Set the width to 640–800 px for a screen recording so text remains legible, and 10–12 fps.

Frequently asked questions

Does it work in Firefox?

Yes. WebM is the format Firefox decodes best — VP8, VP9 and AV1 all work.

The file has no duration or shows as very long.

A recording stopped without finalising the header. The converter reads the actual frames; the film strip shows the real length.

Can I convert an AV1 WebM?

If your browser decodes AV1 — current Chrome, Edge and Firefox do, Safari on recent Apple hardware does. Otherwise the page says the video cannot be decoded.

Is WebM better than MP4 as the source?

For this purpose they are equivalent; the GIF depends on the pictures, not the container. WebM's advantage is simply that it decodes in every browser.