.webm
WebM file: what it is and how to open it
A WebM file is a video made for the web: VP8, VP9 or AV1 picture with Opus or Vorbis sound, in a royalty-free format Google launched in 2010. Drop one here to play it and see which codecs it uses.
Drop your WebM file here
Opens on this device. Nothing is uploaded. Any other file works too.
What is a WebM file?
WebM is an open, royalty-free video format for websites. Google announced it at its I/O conference on May 19, 2010, pairing VP8 video, a codec it had acquired with On2 Technologies that February, with Vorbis sound in a stricter form of the Matroska container. VP9 video and Opus sound came next, and browsers also accept AV1 video in WebM.
You meet WebM in videos saved from websites, in clips from screen and camera recorders that run in a web page (Chrome records WebM, and Safari added WebM recording in version 18.4), and in Telegram’s video stickers, which must be VP9 WebM files of three seconds or less.
Apple came late. Safari has played WebM on the Mac since version 14.1 in 2021, and on iPhone and iPad only since iOS 17.4 in 2024. Many tools built around MP4 still refuse it; Adobe Premiere, for one, does not list WebM among the formats it imports.
What is inside
WebM is Matroska with a stricter rulebook. The header’s DocType reads webm instead of matroska, and the WebM Project’s guidelines name VP8 or VP9 for the picture, Vorbis or Opus for the sound and WebVTT for text. Matroska extras such as attached fonts are not allowed. VP8 and VP9 can carry a transparency layer beside each frame, though Safari does not show it.
Players seek with Cues, an index of the keyframes. The guidelines ask for it, ideally before the frames so a browser can jump ahead before the download finishes, and say seeking is disabled without it. A file written as a live stream can end without one, because the writer cannot go back to add it.
recording.webm1A 45 DF A3 EBML headerDocType webmSegment├─ SeekHeadwhere Info, Tracks and Cues are├─ Infoduration├─ TracksVP9 video, Opus sound├─ Cueskeyframe index for seeking└─ Cluster Cluster …the frames, in time orderHow to open a WebM file
Windows
- Microsoft EdgeBuilt in. Drag the file into an Edge tab to play it; Edge plays VP8 and VP9 video with Opus or Vorbis sound.
- VLC media playerFree. Plays WebM with its own decoders, AV1 included, so no Store extension is needed.
- Universal File Opener for WindowsOursPlays WebM through Windows codecs with speed and repeat, and saves an MP4 copy with the Windows H.264 encoder. AV1 video needs the free AV1 Video Extension.
Mac
- SafariBuilt in. Plays WebM since Safari 14.1 (2021), with Opus sound since Safari 15. Drag the file into a Safari window.
- VLC media playerFree. Plays WebM with its own decoders, AV1 included.
iPhone and iPad
- VLC for iOSFree. Plays WebM files with its own decoders; add them from iCloud Drive, Dropbox or by Wi-Fi sharing.
- SafariBuilt in. Plays WebM on web pages since iOS 17.4; AV1 video only on iPhone 15 Pro, iPhone 16 and later.
Android
- VLC for AndroidFree, with no ads. All codecs are included, so playback does not rely on the phone’s own decoders.
- Universal File OpenerOursPlays WebM with speed control and repeat, then saves an MP4 copy, trims, joins or saves a frame; the original stays unchanged. AV1 video needs a recent phone.
In a browser
- Chrome, Edge, Firefox or SafariCurrent versions play VP8 and VP9 WebM. Safari needs 14.1 on a Mac or iOS 17.4, and plays AV1 only with a hardware decoder.
- Universal File OpenerOursDrop the WebM on this page to play it and add an SRT or VTT subtitle file; a codec your browser cannot decode is named. Nothing is uploaded.
Won’t open?
Windows Media Player shows a codec error
Windows includes VP8; VP9 and AV1 video come from Microsoft’s free VP9 Video Extensions and AV1 Video Extension, and Vorbis sound from Web Media Extensions, all in the Microsoft Store. Or play it in VLC, which has its own decoders.
A Mac, iPhone or iPad will not play it
Safari plays WebM from version 14.1 on a Mac and iOS 17.4 on iPhone and iPad, and AV1 video only with a hardware decoder, as in iPhone 15 Pro. Otherwise use VLC, or convert a copy to MP4.
A website, editor or app will not accept the file
Many tools built for MP4 refuse WebM; Adobe Premiere, for one, does not list it among the formats it imports. Convert a copy to MP4 with H.264 video and AAC sound, as shown below.
It plays, but you cannot skip ahead
The file has no Cues index, which recordings written as a live stream can lack, and WebM players cannot seek without it. FFmpeg writes a copy with the index, without re-encoding: ffmpeg -i recording.webm -c copy fixed.webm
An older Android phone will not play it
Android has decoded VP8 since version 2.3.3 and VP9 since 4.4, but AV1 only since Android 10. Try VLC, which includes its own codecs, or ask for a VP9 or MP4 copy.
Convert a WebM file
- To MP4 that plays everywhereIn HandBrake (free), click Open Source and pick the WebM, keep the Fast 1080p30 preset, set Save As and click Start. It writes H.264 video with AAC sound.
- To MP4 on Android or WindowsIn Universal File Opener on Android, tap Edit and, under Convert, choose Convert to MP4. On Windows, choose Edit, Save as MP4. Both save a new H.264 copy and keep the original.
- To MP3, the sound onlyIn VLC, choose Media, Convert/Save, click Add and pick the WebM, then Convert/Save. Choose an MP3 profile, set the Destination file and click Start.
WebM files in our apps
Play WebM offline on Android or Windows when the device can decode its tracks. Both apps save an MP4 copy, trim and join clips; each tool saves a new file and keeps the original.
All Android tools and limits for WebM files
- WebM to MP4: re-encode a copy to H.264 and AAC with your device codecs, free. Trim, cut and join also save a new MP4.
- Save the current frame as JPG.
- Playback speed control from 1/16x to 16x, repeat, aspect-ratio control, fullscreen.
- Repeat a section during playback: set A and B more than half a second apart. The loop lasts for the current session.
- Export a silent GIF with Pro. Choose 5, 10 or 15 fps and a longest side of 240, 320 or 480 px. Exports are limited to 256 frames and 32 million pixels in total.
- Resume position across sessions.
Limits
- Playback depends on the device’s codecs. AV1 video needs a recent phone or Windows’ free AV1 Video Extension; on Windows, Opus and Vorbis sound need a Windows decoder too. The app names a codec it cannot play.
- Audio extraction needs a track compatible with M4A output; WebM sound is usually Opus or Vorbis, so save an MP4 copy instead.
Walkthrough: Edit video and audio on Android