Step-by-step instructions
- 1
Convert with FFmpeg (VP9)
Install FFmpeg. Two-pass VP9 encoding for best quality: `ffmpeg -i input.avi -c:v libvpx-vp9 -b:v 0 -crf 33 -pass 1 -an -f webm /dev/null && ffmpeg -i input.avi -c:v libvpx-vp9 -b:v 0 -crf 33 -pass 2 -c:a libopus -b:a 128k output.webm`. For a quick single-pass: `ffmpeg -i input.avi -c:v libvpx-vp9 -crf 33 -b:v 0 -c:a libopus output.webm`.
Go to converter - 2
Convert with FFmpeg (VP8, simpler)
For older browser compatibility: `ffmpeg -i input.avi -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output.webm`. VP8 is supported by all browsers including older versions; VP9 is better quality at same file size. For modern web use, VP9 is recommended.
- 3
Choose the right CRF
VP9 CRF controls quality: lower CRF = better quality, larger file. CRF 33 is a good default for web video (visually similar to CRF 23 in H.264). CRF 15–25 for high quality. CRF 40–50 for maximum compression at the cost of quality. The `-b:v 0` flag enables constant quality mode — always combine it with `-crf`.
- 4
Embed in HTML5 video
Use the converted WebM in a web page: `<video controls><source src='video.webm' type='video/webm'><source src='video.mp4' type='video/mp4'>Your browser does not support HTML5 video.</video>`. Provide both WebM and MP4 — browsers pick the first supported format. WebM is typically 30–40% smaller than equivalent MP4.
Why convert AVI to WebM?
WebM is the native format of the open web — royalty-free, browser-native, and used by YouTube for VP9 delivery. Converting AVI to WebM makes your video ready for HTML5 embedding and web streaming without codec licences.
Your files never leave your device
FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.
Frequently asked questions
Is WebM better than MP4 for web use?
Can I convert AVI to WebM without FFmpeg?
What audio codec should WebM use?
No account. No upload. Works in any browser.