When WEBM is the right target
WEBM is an open video format made for the web. Chrome, Edge, Firefox and Opera play it natively, and recent versions of Safari do as well. If you want to place a video directly on your own site with an HTML5 video tag, WEBM is a good choice because it is royalty free and compresses well. AVI is the opposite: no browser plays it. So if you have old AVI clips for a website, a learning platform or a web app, it makes sense to convert AVI to WEBM.
For phones, TVs and video editors, MP4 is usually better. Final Cut Pro and iMovie do not import WEBM, and older iPhones do not play it. In that case use AVI to MP4 instead.
VP9, VP8 or AV1
| Codec | Size at the same quality | Encoding speed | Support |
|---|---|---|---|
| VP8 | Largest | Fast | Every browser that plays WEBM |
| VP9 | Much smaller than VP8 | Medium | All modern browsers |
| AV1 | Smallest | Slowest | Recent browsers and devices |
VP9 is the safe default. AV1 appears in the list only if your browser can encode it. The sound in WEBM is stored as Opus or Vorbis, which both work in every browser that plays WEBM.
What to expect from the conversion
AVI and WEBM have no codecs in common, so the video is always re-encoded. The AVI is opened by the built-in converter engine, which is slower than the fast path for modern files. A short clip is ready in seconds; a long film can take a while, and AV1 takes the longest. Your computer does the work, so nothing is uploaded and the page keeps working without an internet connection once it has loaded.
Getting a small file for the web
For a background video or a short demo on a page, 720p is usually enough, and it loads much faster than 1080p. A lower quality preset also helps. If the result is still too heavy, run it through the WEBM compressor. If you need only a part of the clip, cut it with Trim Video before you publish. Going back the other way is also possible with WEBM to AVI.