What happens when you convert AVI to WebM
- The video is re-encoded to VP8 video with Vorbis audio.
- Re-encoding in a browser is slow: expect several times the video's length for HD footage on a laptop, and longer on a phone. Short and low-resolution clips finish much sooner.
How to convert AVI to WebM online
- Press "Choose AVI files" and select one or more files, or drag them onto the box. You can add files of any size your device can hold in memory.
- Adjust the settings if you need to: resolution and quality control the size of the result. The defaults suit most people.
- Press "Convert to WebM". The first audio or video conversion downloads the converter engine, about 32 MB, which your browser then keeps for next time.
- Save each WebM with its download button. Close the tab and every trace of the files is gone from memory.
Why convert AVI to WebM?
AVI files usually come from older camcorders, digital cameras and legacy video libraries. People convert them to WebM because WebM is royalty free and plays natively in web browsers, which makes it a good fit for embedding video on a web page.
In short, AVI is good at what it was made for, and WebM is the more practical choice when the file has to play, upload or edit somewhere else. AVI does not play in browsers; plays in VLC and Windows players, while WebM plays in Chrome, Firefox and Edge, and in Safari since version 14.1.
How to convert AVI to WebM on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your AVI files in from File Explorer, and press Convert. Each WebM is saved to your Downloads folder. If you prefer a desktop program, VLC can also convert AVI to WebM: choose Media, then Convert / Save.
On a Mac
Safari, Chrome and Firefox all work. Drag the AVI files from Finder onto the drop zone and the WebM files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose AVI files. You can pick from Photos or from the Files app. The converted WebM appears in Files, in the Downloads folder; to put it in your photo library, open it there, tap Share and choose Save Video.
On Android
Open the page in Chrome, tap Choose AVI files and pick them from Files or your gallery. The WebM is saved to the Download folder, where any file manager can find it. Keep the screen on while a long video converts, because Android may pause a tab in the background.
Best settings for AVI to WebM
WebM is written as VP8 video with Vorbis audio. The Resolution setting is the one to reach for: 1080p keeps full HD detail, 720p is plenty for phones and laptops and roughly halves the size, and 480p suits email and old devices.
The quality levels map to the H.264 CRF scale where the target uses H.264, and to fixed high-quality settings for older codecs such as MPEG-2, MPEG-4 Part 2, WMV and Theora. Re-encoding always costs a little detail, so convert from the best copy of the AVI you have.
AVI vs WebM: the differences
| AVI | WebM | |
|---|---|---|
| Full name | Audio Video Interleave | WebM video |
| Type | video | video |
| Created by | Microsoft | |
| First released | 1992 | 2010 |
| Compression | Lossy | Lossy |
| Usually contains | MPEG-4 Part 2 (Xvid, DivX), MJPEG or uncompressed video with MP3 or PCM audio | VP8, VP9 or AV1 video with Vorbis or Opus audio |
| In a browser | does not play in browsers; plays in VLC and Windows players | plays in Chrome, Firefox and Edge, and in Safari since version 14.1 |
| Common uses | older camcorders, digital cameras and legacy video libraries | web video, screen recorders and browser-based recordings |
| MIME type | video/x-msvideo | video/webm |
About AVI and WebM files
What is an AVI file?
AVI dates from Windows 3.1 and predates the codecs most people use today. It is still readable by almost every desktop editor, which is why some older software asks for it.
What is a WebM file?
WebM is a royalty-free subset of Matroska made for the web. Browser screen recorders and many online meeting tools save to WebM, which iMovie and many editors cannot import.
AVI to WebM not working? Common problems
- The conversion is slow. Audio and container changes take seconds, but re-encoding video runs on your own processor. Lower the resolution to 720p, close other tabs, and keep the device plugged in.
- The tab stops or reloads on a very large file. Browsers limit how much memory one tab can use, around 2 GB and less on phones. Split long recordings or convert them on a computer.
- The WebM will not play on an old device. Try the other formats offered for AVI, or choose 720p, which older players handle more reliably.
Convert AVI to WebM with ffmpeg
This converter runs ffmpeg inside your browser. If you would rather use the ffmpeg command line on your own computer, this command produces an equivalent WebM with the same kind of settings:
ffmpeg -i input.avi -c:v libvpx -b:v 1500k -c:a libvorbis -q:a 5 output.webmReplace input.avi with the name of your file. For a whole folder of AVI files, run the command in a loop, or drop them all on the converter above, which processes them one after another.
AVI to WebM converter FAQ
Will I lose quality converting AVI to WebM?
A little. Both formats are lossy, so re-encoding compounds the loss slightly. Keep the default quality or higher and the difference is rarely noticeable.
Why is the WebM a different size from the AVI?
It depends on the settings. At the defaults, the WebM usually comes out close in size to the AVI; lower the quality for a smaller file.
Are my AVI files uploaded anywhere?
No. The conversion runs inside this browser tab using ffmpeg compiled to WebAssembly, so your files stay on your device. You can disconnect from the internet after the page and converter engine have loaded and it still works.
Can I convert several AVI files to WebM at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open a WebM file?
WebM plays in Chrome, Firefox and Edge, and in Safari since version 14.1. WebM is common for web video, screen recorders and browser-based recordings.
Is this AVI to WebM converter free?
Yes. There is no sign-up, no watermark and no limit on how many files you convert. The site is paid for by advertising, and because conversions run on your device there is no server cost per file.
Can I convert AVI to WebM on my phone?
Yes. The converter works in Safari on iPhone and iPad and in Chrome on Android. Long HD videos convert more slowly on a phone than on a computer.