Skip to content

MP3 to WebM converter

This converter puts your MP3 under a plain black 1280×720 VP8 picture and encodes the sound as Opus at 48 kHz, about 96 kbit/s. From our test MP3 a minute took 842 KB; for a WebM with only sound, the FFmpeg command below makes one.

Choose a file or drag it here
MP3, AAC, FLAC, OGG, WMA, AIFF, WAV, M4A (up to 200 MB)
Input
MP3 files
Ieșire
WebM, black picture
Limit
Up to 200 MB
Price
Free, no account

How to convert MP3 to WebM

  1. 01

    Choose your MP3

    Drop it on the box. The limit is 200 MB.

  2. 02

    Check what changes

    The table under your file shows the WebM's size, picture and sound.

  3. 03

    Download the WebM

    The link lasts one day.

What's in the WebM?

A plain black picture under your sound, and nothing else. VP8 stores that black in 86 KB a minute, 10% of the WebM from our test clip.

A frame of the video: plain black
A frame of the WebM, 5 seconds in
Picture
Black, 1280×720, 30 frames a second, VP8
Sound
Opus, 96 kbit/s from our 44.1 kHz stereo clip
Length
Ends with the sound
Cover art
Not used, even if the file has one
Title, artist
Dropped

Where can you use the WebM?

YouTube
Takes it. YouTube's help says audio files can't be uploaded as a video, and WebM is on its list of upload formats.
TikTok
TikTok's developer docs list WebM and VP8, 23 to 60 frames a second, and at least 360 pixels a side. This video is 30 frames a second at 1280×720.
PowerPoint
PowerPoint lists WebM as a supported video format.
Windows Media Player
VP8 is on Microsoft's list of formats Media Player plays without extras. Opus, the sound, is not.

Want your cover art instead of black?

Save your image as cover.jpg next to the sound file and run this.

FFmpeg, with your cover image

VP8 needs no extra flags: from a PNG cover it wrote 4:2:0, and it ended with the sound.

ffmpeg -loop 1 -framerate 30 -i cover.jpg -i song.mp3 -vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -c:v libvpx -b:v 1M -c:a libopus -b:a 128k -shortest song.webm
FFmpeg, a WebM with only sound

Opus at 128 kbit/s and no picture: 167 KB for our 10-second clip, against 142 KB for the converter's WebM of it.

ffmpeg -i song.mp3 -vn -c:a libopus -b:a 128k song.webm

Does the sound change?

Yes, it is encoded again: Opus at about 96 kbit/s, resampled from 44.1 to 48 kHz.

Our MP3 had nothing above about 18.7 kHz, yet the WebM shows sound up to 20.1 kHz: the Opus encoder fills that band, it is not music recovered. Subtract the WebM's sound from the MP3 and what is left is 14.5 dB below the music.

The MP3

241 KB

20 kHz10 kHz

The WebM's sound

121 KB

10 kHzUp to 20.1 kHz
Ten seconds of the clip, low notes at the bottom and high ones at the top. Press Play and switch between the MP3 and the WebM.

The music is 10 seconds of an instrumental we generated with ElevenLabs for these tests, 44.1 kHz stereo.

How big will the WebM be?

Minutes of sound
4
  • MP3, 192 kbit/s5.8 MB
  • WebM3.4 MB

The pale end of a video's bar is its black picture.

Of the formats we made from our MP3, only 3GP came out smaller, though VP8's black took twice the bytes of H.264's in an MP4.

Measured on our music clip at 44.1 kHz stereo; treat other sizes as estimates.

If the conversion doesn't work

"Choose a file under 200 MB."
That is about 2 h 25 min of sound (MP3, 192 kbit/s). The FFmpeg command has no limit.

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

MP3 to WebM questions

All file converters

Search converters