WebM to GIF

Turn a few seconds of a WebM video or screen recording into a looping GIF.

Your WebM clip or screen recording is converted into a looping GIF locally in your browser without server uploads. See our privacy policy.

How to convert WebM to GIF

  1. Click Choose a WebM video and select your .webm clip or browser screen recording.
  2. Enter Start and End timestamps to select a short 2-to-8-second clip, and choose your output Width (such as 480 px) and Frame rate (such as 10 fps).
  3. Click Make GIF and save the resulting .gif animation.

Browser-based screen recorders (Chrome extensions, Loom exports, Puppeteer/Playwright test failure recordings, and Linux GNOME screen captures) save video as VP8 or VP9 .webm files. When you attach a Playwright or Cypress failure recording to a GitHub issue, Azure DevOps bug ticket, or README file, markdown image tags (`![bug](clip.gif)`) require a GIF so developers can see the failure immediately inline without downloading a `.webm` attachment.

Worked example: 4-second Playwright test failure WebM to an inline GitHub GIF

Suppose your automated browser test failed and saved a `trace_retry1.webm` recording of the whole 18-second test run:

  • Input file: `trace_retry1.webm`, 1,280 × 720 VP8 video at 25 fps, 18 seconds long, 2.80 MB.
  • Settings chosen: Trim to the exact modal bug between `0:12.0` and `0:16.0` (4.0 seconds), width set to 480 px (480 × 270), frame rate set to 10 fps (40 frames).
  • Output file: `trace_retry1.gif`, 480 × 270 looping GIF, 685 KB—ready to drag and drop straight into a GitHub pull request or Jira comment.

Limits and what this tool cannot do

  • GIF files are larger and lower-color than WebM: WebM uses modern VP8/VP9 temporal compression with 16.7 million colors, whereas GIF stores up to 256 indexed colors per frame with 1989 LZW compression. Always trim to the shortest clip needed and scale width to 320–540 px.
  • No audio in GIF: Any narration or system sound inside the WebM is dropped because GIF is a silent image format.
  • Transparent WebM (`yuva420p`) background handling: Standard GIF supports only 1-bit binary transparency (100% opaque or 100% transparent, no soft semi-transparent edges), so semi-transparent shadows in alpha WebM stickers may show a hard edge.

Questions

Why is my 4-second GIF almost as big as the 18-second WebM video?

WebM is a highly compressed video format that only encodes moving changes between frames, whereas GIF stores a complete 256-color bitmap for every frame. Keeping the width around 480 px and frame rate at 8–10 fps keeps the GIF under 1 MB.

Can I use this for Chrome and Playwright screen recordings?

Yes. Both Chrome MediaRecorder captures and Playwright/Cypress video artifacts use VP8/VP9 WebM, which decodes natively in your browser.

How do I trim just the last 3 seconds of a WebM clip?

Check the total length shown after selecting the file (for example 15.0 seconds), then type 0:12.0 in Start and 0:15.0 in End before clicking Make GIF.

Is my screen recording uploaded to a server?

No. Frame extraction and GIF palette quantization run locally inside your browser tab.

Last reviewed .

Related converters and guides