Video to WebM Converter

Add a video, choose resolution, quality, bitrate, frame rate and audio, trim it if you like, and convert it to a WebM file in your browser with a preview and download.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Add the video

    Press Add videos and choose a file; its size, length and frame rate appear.

  2. 2
    Choose resolution

    Pick keep, 1080p, 720p, 480p or 360p.

  3. 3
    Set quality

    Set the CRF quality, maximum bitrate and frame rate.

  4. 4
    Choose audio

    Keep Opus audio with a bitrate, or remove the sound.

  5. 5
    Trim if needed

    Tick Trim and set the start and end seconds.

  6. 6
    Convert and download

    Press Convert to WebM, check the preview and download the file.

About this tool

WebM is the open video format of the web: royalty-free, played natively by Chrome, Firefox, Edge, Safari and Android, and preferred by many sites for background videos, product clips and animations. This converter turns MP4, MOV, MKV and most other videos into WebM using ffmpeg running inside your browser, so the video never leaves your device. You choose the output resolution (keep, 1080p, 720p, 480p or 360p), the quality level, a maximum video bitrate, the frame rate and whether to keep the audio as Opus or remove it, which is common for silent website backgrounds. A trim option cuts the clip to a start and end time. The tool estimates the output size before you start, shows progress while it works and plays the result for checking before you download it.

Codecs used

The WebM files use the VP8 video codec and the Opus audio codec. VP9 and AV1 compress better, but the VP9 encoder in this browser build of ffmpeg is unstable and AV1 encoding in the browser is extremely slow, so VP8 is the reliable choice. Every browser that plays WebM plays VP8.

Quality settings

CRF, the constant rate factor, sets the target quality: lower numbers mean better quality and larger files; around 10 is good for most clips. The maximum bitrate caps the data rate, which keeps files predictable. For a 720p clip, 1,500-2,500 kbit/s is plenty; for 1080p, 3,000-5,000. Reducing the frame rate to 24 or 15 frames per second suits background loops and screen recordings.

Speed

ffmpeg in the browser is slower than desktop software. Expect roughly 1 to 5 seconds of processing per second of 720p video on a laptop, more on phones. Lower resolutions and shorter clips convert much faster, so trim first if you only need part of the video.

Website background videos

For a hero background, remove the audio, use 720p, 24 fps and a modest bitrate, and keep the clip under 15 seconds so it loops smoothly. Serve WebM with an MP4 fallback for the widest support.

Worked example

A 30-second iPhone clip of 1080p at 60 fps (about 90 MB as MOV) converted to 720p, 30 fps, CRF 10, a 2,000 kbit/s cap and no audio gives a WebM of at most about 7.3 MB, small enough for a fast-loading web page.

Limits

Very long or 4K videos may exceed the memory available to a browser tab, especially on phones. Subtitles, chapters and HDR are not carried over, and colour may shift slightly when converting from HDR iPhone video. Convert only videos you have the right to use.

Worked example

30 s 1080p MOV to 720p, 30 fps, CRF 10, 2,000 kbit/s, no audio: WebM of at most about 7.3 MB.

Quick facts

Frequently asked questions

Is the video uploaded to a server?

No. ffmpeg runs in your browser as WebAssembly, so the video is processed on your device.

Which formats can I convert?

Most common formats: MP4, MOV, MKV, AVI, M4V and others that ffmpeg can read.

Why VP8 and not VP9 or AV1?

VP8 is stable and fast in the browser build of ffmpeg and plays everywhere WebM does. VP9 and AV1 would be smaller but are unreliable or very slow in a browser.

How long does conversion take?

Roughly 1 to 5 seconds per second of 720p video on a computer, longer on phones and for higher resolutions.

Can I remove the sound?

Yes. Choose Remove audio; this is usual for website background videos and makes the file smaller.

Can I cut part of the video?

Yes. Tick Trim and enter the start and end times in seconds.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages