Browser FFmpeg recipe
Convert WebM to MP3 Online with FFmpeg
Create an MP3 audio file from the audio track in a WebM video.
Command
Run this FFmpeg command
ffmpeg -i input.webm -vn -codec:a libmp3lame -b:a 192k output.mp3When to use it
- screen recordings
- browser captures
- audio extraction
How it works
- Upload the WebM file.
- Run the MP3 audio extraction command.
- Download the generated MP3 file.
Option reference
| Option | What it does |
|---|---|
-vn | Ignores the video stream. |
libmp3lame | Encodes the output as MP3. |
-b:a 192k | Sets a 192 kbps audio bitrate. |
Practical notes
- Use 128k for smaller speech recordings.
- If the WebM has no audio track, FFmpeg will not create an MP3 output.
FAQ
Can I convert WebM video to audio only?
Yes. This command drops video and encodes the audio stream as MP3.
Will this upload my file?
No. The conversion runs locally in your browser.