How to Extract MP3 Audio from MP4 Videos Free in Your Browser
Pull the sound out of a video as a real MP3, without uploading the video. Here is how that works and what it costs.
Two different jobs get called extracting audio
The first is demuxing. A video file is a container holding separate tracks, and the audio track inside it is already a finished, encoded thing, usually AAC. Demuxing lifts that track out and drops it into its own file, normally an .m4a. Nothing is decoded and nothing is re-encoded, so it takes about a second and loses nothing at all.
The second is decoding and re-encoding. The audio track is decoded back to raw samples, and those samples are fed to a new encoder that writes a different format. You need this when the destination wants a codec the video did not use, and MP3 is the usual reason.
What this tool does, precisely
It takes the whole video file, hands it to the browser's audio decoder, and passes the decoded samples to LAME, the MP3 encoder inside most desktop audio software. LAME runs in a background worker so the page stays usable while it works, and it writes a 192 kbps stereo MP3. That is the second job above, so what you download is a fresh MP3 encode of the soundtrack rather than a copy of the audio that was in the video.
The first time you use it, the page downloads the encoder itself, about 150 KB. After that the work happens on your own processor, several times faster than the video would play on most laptops and more slowly on a phone.
What 192 kbps costs you
Very little, for most listening. A 192 kbps MP3 takes about 1.4 MB per minute, so a 45 minute lecture comes out near 65 MB instead of the 450 MB it would take as uncompressed audio. MP3 is lossy, though. The encoder discards detail it expects you not to hear, and if the video's soundtrack was already AAC, the result is a second generation of lossy coding. On ordinary headphones that rarely shows. On audio you plan to edit and export again, it adds up.
There is a memory cost as well. The whole video file is read, and the audio is decoded in full and held as 32 bit floating point samples before encoding starts, which is why the tool caps files at 100 MB. A short clip is nothing. A long recording on a phone is where a browser tab gives way.
When MP3 is the wrong target
If the audio is going into an editor, a DAW or a noise reduction step, uncompressed is the correct input, and an MP3 would only have to be decoded again on arrival. Editing a lossy file and saving it as a lossy file spends a generation of quality for no benefit. For that kind of work, keep the video's original track with the ffmpeg stream copy below and decode it in your editor.
Transcription is similar. Whisper and the tools built on top of it want plain PCM and will decode an MP3 before they start, so an MP3 only helps when the file has to travel somewhere first.
Where it falls short
- The browser has to be able to decode the file. Ordinary MP4s with AAC audio are fine. Unusual codecs, protected files and some MKV or AVI containers are not.
- Only one audio track comes out. A film with several language tracks gives you whichever one the decoder picks, with no way to choose.
- Nothing is trimmed. You get the full length of the recording and cut it afterwards in an editor.
- The bitrate is fixed at 192 kbps. There is no setting for a smaller file or a higher quality one.
- No tags, no chapter marks, no cover art. Samples and nothing else.
When to use ffmpeg instead
If you want the original audio untouched, a stream copy is the honest answer. Running ffmpeg -i video.mp4 -vn -c:a copy audio.m4a lifts the AAC track straight out of the container. It takes about a second, the file is small, and the audio is bit identical to what was in the video, because nothing was decoded and nothing could degrade.
For an MP3 with more control, ffmpeg drives the same LAME encoder and lets you set the quality: ffmpeg -i video.mp4 -vn -q:a 2 audio.mp3 writes a variable bitrate file that typically lands between 170 and 210 kbps. Both commands beat a browser tab on a long file, and both need an install. For a five minute clip you would rather not hand to a stranger, the browser is the quicker road.
The video never leaves your computer
Nothing is uploaded, which is the point. Meeting recordings, interviews, medical consultations and family video are exactly the files you would least like sitting in someone else's processing queue under a retention policy you cannot audit. Open the Network tab in your browser's developer tools and run an extraction. The first time, you will see the MP3 encoder library download. You will not see a request carrying your video, because none is made.
MP4 to MP3 takes your files in this tab and converts them without uploading anything.
Open MP4 to MP3