WebM to GIF Converter
Turn a WebM clip into a looping GIF at 15 frames a second, in your browser.
or drop files here
WEBM Format
WebM video
An open media format designed for the web, based on a subset of Matroska. It carries VP8, VP9 or AV1 video with Vorbis or Opus audio.
- Royalty-free
- VP8, VP9 or AV1 video
- Supported by major browsers
GIF Format
Graphics Interchange Format
A raster image format. It uses LZW compression, a palette of at most 256 colors per frame, and supports simple animation.
- 256-color palette per frame
- Animation
- 1-bit transparency
How to convert WebM to GIF
Follow these steps to convert WEBM to GIF online.
Choose your WEBM file, or several at once.
Wait while the converter turns each file into GIF.
Download each new GIF file. Your original file isn't changed.
Related Tools
GIF to WEBM
Convert GIF files to WEBM format
WEBM to 3GP
Convert WEBM files to 3GP format
WEBM to ASF
Convert WEBM files to ASF format
WEBM to FLAC
Convert WEBM files to FLAC format
WEBM to M4R
Convert WEBM files to M4R format
WEBM to M4V
Convert WEBM files to M4V format
WEBM to MOV
Convert WEBM files to MOV format
WEBM to MP2
Convert WEBM files to MP2 format
WebM to MP4
Convert WebM files to MP4 format
WEBM to MXF
Convert WEBM files to MXF format
WEBM to OPUS
Convert WEBM files to OPUS format
WEBM to RM
Convert WEBM files to RM format
WEBM to VOB
Convert WEBM files to VOB format
CUR to GIF
Convert CUR images to GIF format
HEVC to GIF
Convert HEVC files to GIF format
JPEG to GIF
Convert JPEG images to GIF format
MKV to GIF
Convert MKV video to animated GIF
MTS to GIF
Convert MTS files to GIF format
MXF to GIF
Convert MXF files to GIF format
SWF to GIF
Convert SWF files to GIF format
TIFF to GIF
Convert TIFF images to GIF format
Video to GIF
Convert video files to GIF format
VOB to GIF
Convert VOB files to GIF format
WMV to GIF
Convert WMV files to GIF format
What to know before converting WebM to GIF
- The GIF runs at 15 frames a second, whatever the frame rate of the WebM.
- The longer side is at most 480 px; a smaller video keeps its size, with odd sizes rounded down to even.
- A GIF has no sound, so the audio track is left out.
- Each frame is limited to 256 colors, taken from a palette built from your video.
- The GIF loops without end, and a batch gives one GIF per WebM.
About WebM files
What is a WebM file?
WebM is an open media format that the WebM Project promotes for delivery over the web. The container is based on Matroska, and the streams inside are VP8, VP9 or AV1 video with Vorbis or Opus audio. The project offers its technology on royalty-free terms, and the major browsers support the format.
Video files carry the media type video/webm. A WebM holding nothing but sound is labeled audio/webm, so a .webm file is not always a video.
Typical sources are web video, the recordings that browser-based screen recorders save, and short animated clips.
Programs that open WebM files
Windows, Mac and Linux
- The VLC media player reads Matroska-family media, though its codec support has to match the streams inside the WebM.
- FFplay ships with FFmpeg and plays WebM through FFmpeg's decoders, so which codecs work depends on how that copy was built.
Web
- Chrome, Firefox and Edge open WebM files directly.
- Safari 14.1 is where macOS gained WebM playback; the picture has to be VP8 or VP9 and the audio Vorbis.
Mobile
- Android and iPhone owners can use VLC for Android or VLC for iOS, which play local WebM files with VLC's own player rather than the system player.
WebM and GIF compared
- Names: .webm goes with video/webm, and .gif with image/gif.
- Kind of file: WebM wraps video. CompuServe brought out GIF in 1987 as an image format that can store several images one after another.
- Animation: the GIF89a revision from July 1990 added the extensions for timing, comments, application data and transparency. Delays are counted in hundredths of a second, and a disposal setting decides how a later image sits on top of an earlier one.
- Colors: every GIF image picks its colors from a palette that tops out at 256 entries. WebM video has no such ceiling.
- Compression: GIF squeezes its images with LZW, which loses nothing. WebM depends on its video codecs.
- Sound: a WebM can carry Vorbis or Opus audio. The GIF this page writes holds one picture stream and no audio.
- Transparency: a single palette entry can be flagged as clear, and there is no partial opacity.
- Repeat count: a GIF keeps its repeat count in an application extension, and the file this page writes has it set to repeat forever.
- Patents: Unisys started asking for LZW license fees in 1994, and the last of those patents lapsed in 2004.
- Support: every major browser displays GIF.
For this pair the page writes 15 frames a second, shrinks anything above 480 px on its longer side, and sets the GIF to repeat. Frames flagged as interlaced are deinterlaced before they are scaled.
Other ways to convert WebM to GIF
- FFmpeg: run
ffmpeg -i input.webm output.gif. FFmpeg takes the output format from the .gif ending, the same pattern its documentation shows withffmpeg -i input.avi output.mp4. A plain command like this skips the frame-rate, size and palette steps this page applies. - Gifski with FFmpeg: run
ffmpeg -i input.webm frame%04d.pngto write one PNG per frame, thengifski -o anim.gif frame*.pngto build the GIF. Gifski's documentation names--widthand--heightas the biggest levers for a smaller file, and--qualityfor lowering quality. Its site also showsgifski --fps 10 --width 320 -o anim.gif video.mp4for an MP4 source, where--fpssets the frame rate and a lower value gives a smaller file. On Windows, the frame pattern may need%%04d.
Problems with WebM files
- It plays in a browser but not in an editor: playback depends on the video and audio codecs actually used, not on the .webm ending. Check which codecs the file really uses before blaming the container, then convert it here or open it in VLC.
- Seeking is slow or jumpy: without a cue index, a player gets less direct location information, so jumping to a point is less efficient. Re-saving the file in a video editor rebuilds it.
- Safari won't play it: releases before 14.1 predate WebM playback in Safari on macOS, so update the browser or use another one.
- It holds only sound: an audio-only WebM is labeled audio/webm and has no picture to show, so play it in VLC to check what is inside.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert WebM to GIF?
How big and how smooth is the GIF?
Does the GIF loop?
What happens to the sound in my WebM?
Why does my GIF look grainy or banded?
Why can the GIF be larger than the WebM?
Can I turn a browser screen recording into a GIF?
Can I convert several WebM files at once?
Is there a limit on the length of the clip?
Can I change the speed of the GIF?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.