Video · 8 min read

Extract Audio from a Video (MP4 to MP3) Without Losing Quality

By the · Published

Taking the sound out of a video sounds like it should always be lossless: the audio is already in the file, so why would anything be lost? Whether it is depends on one thing — whether the sound is copied as it is or encoded again into another format. Copying keeps every bit of the original; re-encoding a sound that is already compressed throws away a little more detail, no matter how high you set the bitrate.

This guide explains how to tell the two apart, which format to pick for which purpose — M4A, MP3, WAV or FLAC — what the bitrates mean, and what to look out for on phones, with long videos and with files that carry more than one audio track. The steps use Toolula's Extract audio and MP4 to MP3 tools, which run in your browser; the video is not uploaded.

What is inside a video file

An MP4, MOV, MKV or WebM file is a container. Inside it are separate tracks: one for the picture and usually one for the sound, each compressed with its own codec. Videos from phones, cameras, screen recorders and most editing programs store their sound as AAC; WebM files usually carry Opus; MKV files may contain AAC, Opus, MP3, AC-3 or other formats. The sound track has its own bitrate, independent of the picture's.

Extracting the audio means taking that one track out and writing it into an audio-only file. If the target format is the same codec the video already uses, the compressed data can simply be copied. If it isn't, the sound has to be decoded and compressed again.

Copying the audio track: the lossless way

When a video's sound is AAC — which covers almost every MP4 and MOV — choosing M4A in Extract audio copies the AAC track bit for bit into an .m4a file. Nothing is decoded or re-compressed, so the sound is exactly the original, and the job takes seconds even for long videos, because only the data has to be read and written. M4A plays on iPhones, Android phones, Macs, Windows and in almost every current music app and car stereo.

The same applies to MP3: if a video's sound is already MP3, choosing MP3 copies it instead of encoding it again. This is less common, but some older cameras and MKV or AVI-style downloads use it.

Strictly speaking, “MP4 to MP3 without losing quality” is therefore usually not possible: the AAC sound of an MP4 is turned into MP3 by decoding and encoding again. If you need the original quality, take M4A. If you need MP3 because a device or a program accepts nothing else, choose a high enough bitrate, and the extra loss stays small.

Re-encoding: MP3, AAC, WAV and FLAC

Re-encoding into a lossy format (MP3, AAC, Opus) is a second generation of compression. Each lossy codec removes the parts of the sound it considers least audible, and the second codec doesn't know what the first one already removed. A higher bitrate means less additional loss — but never better sound than the source. A 320 kb/s MP3 made from a 128 kb/s AAC track sounds like the 128 kb/s track at best; it is just a larger file.

Re-encoding into an uncompressed or lossless format (WAV, FLAC) adds no further loss. The decoded sound is stored exactly. It doesn't bring back what the AAC compression removed either, but it is the right choice when you want to keep editing the sound in an audio program, because every further edit and export then starts from an exact copy.

Which format to choose

  • M4A (AAC): the original sound, copied without loss, for keeping or listening. Only if the video's sound isn't AAC — for example Opus in a WebM — is it encoded to AAC by your browser, at 192 kb/s by default.
  • MP3: for players, cars, older software and upload forms that only take MP3. Extract audio and MP4 to MP3 offer 128, 192 or 320 kb/s and encode with the LAME MP3 encoder, which is built into the page.
  • WAV: uncompressed 16-bit audio for editing programs and video editors. Expect roughly 10 MB per minute of stereo sound.
  • FLAC: lossless like WAV but compressed, usually much smaller. Open the video in Toolula's Audio converter, which accepts video files and uses their sound, and choose FLAC (16 or 24 bit). The converter also writes Opus and offers more bitrates: MP3 from 96 to 320 kb/s, AAC from 96 to 192 kb/s, Opus from 48 to 256 kb/s.

Which MP3 bitrate?

For speech — lectures, interviews, voice notes, podcasts — 128 kb/s is plenty. For music you want to keep, 192 kb/s is a sensible default and 320 kb/s the safe choice if storage doesn't matter. Going much higher than the source's own bitrate gains nothing, but because MP3 is a less efficient codec than AAC, it makes sense to stay somewhat above it. If you don't know the source bitrate, 192 kb/s is a good compromise for most videos.

Step by step: Extract audio

Before you start: the option “Remove location, device and time” is on by default, so the audio file doesn't carry the GPS position or the phone model that the video's metadata may contain. Untick it if you want to keep those details.

  • Open Extract audio (or MP4 to MP3, which starts with MP3 selected).
  • Drop one or more videos — MP4, MOV, MKV, WebM — onto the page.
  • Choose the Audio format: M4A, MP3 or WAV. For MP3 also choose the Bitrate.
  • Click Start. The picture is ignored, so only the sound is written.
  • Download the audio files one by one or with “Download all”.

On a phone

Extract audio works in current Safari and Chrome on iPhone, iPad and Android. Pick the video from your photo library or from Files. While the job runs the screen is kept on, because phones stop a page once the screen locks; keep the tab in front until it finishes.

On an iPhone or iPad a single audio file goes through iOS's download prompt and ends up in the Files app, usually in Downloads; several files at once are handed to the share sheet, where you can save them to Files or send them to another app. The MP3 encoder is part of the page, so MP3 works on iOS as well.

Because the picture is discarded without being decoded, extracting the sound also works for videos whose picture format the browser can't play, such as HEVC clips on some Windows PCs — unlike the tools that change the picture.

Long videos and large files

There is no fixed size limit. The video is read in small pieces and the result is written straight to the browser's storage, so recordings of several hours and files of several gigabytes don't have to fit into memory. Copying to M4A is the fastest by far; encoding MP3 or writing WAV for a long recording takes longer and depends on your device's processor.

For very long recordings, WAV grows quickly — an hour of stereo is around 600 MB. Use M4A to keep the original, or FLAC through the Audio converter if you need a lossless file for editing. If you only need part of the sound, extract it first and then cut it with the Audio cutter, which cuts an MP3 without re-encoding as long as the result stays MP3 and has no fades.

Videos with several audio tracks

Some MKV and MP4 files contain more than one audio track — several languages, a commentary track or a separate stereo and surround mix. Extract audio uses the file's main audio track only; there is no track picker. If you need another track, use a desktop program that lists the tracks. For a single file with surround sound, the Audio converter can fold the channels down to stereo or mono.

Common problems

“This file has no audio track”: the video really contains no sound — screen recordings without the microphone, muted exports or some downloaded clips. There is nothing to extract.

The M4A doesn't play in an old player or a car stereo: choose MP3 instead, which plays almost everywhere.

The WAV is huge: that is uncompressed audio. Use M4A or MP3 for listening, FLAC for lossless storage.

The sound is too quiet or noisy: extracting doesn't change the sound. Run the result through Enhance audio or Normalize audio, or improve the video's own sound with Enhance video audio.

M4A fails for a WebM video in one browser: its sound is Opus and has to be encoded to AAC, which needs an AAC encoder in the browser. Choose MP3, which uses the encoder built into the page, or try another browser.

What Toolula doesn't do

The tools work on files you have; they don't download videos from YouTube, social networks or other websites. Only extract sound you have the right to use — your own recordings, material under a suitable licence, or content you are allowed to edit. In return, nothing leaves your device: the video is processed in your browser tab, without an account and without a watermark.

Frequently asked questions

How do I extract audio from an MP4 without losing quality?

Choose M4A. Almost every MP4 stores its sound as AAC, and M4A copies that track bit for bit, in seconds. MP3 always means encoding again, which loses a little more.

Which bitrate should I choose for MP3?

128 kb/s for speech, 192 kb/s for most music, 320 kb/s if storage doesn't matter. A higher bitrate than the source can't make the sound better than the original.

Is WAV better than MP3?

WAV adds no further loss and is the right choice for editing, but it can't restore what the video's AAC compression removed, and it is about ten times larger than a 128 kb/s MP3.

Can I get FLAC from a video?

Yes. Open the video in Toolula's Audio converter, which accepts video files, and choose FLAC. It stores the decoded sound losslessly, at 16 or 24 bit.

Does it work on an iPhone?

Yes, in current Safari or Chrome. A single file ends up in the Files app via the download prompt; several files open the share sheet. The screen stays on while the job runs.

Is my video uploaded?

No. Extract audio and MP4 to MP3 read the video and write the audio inside your browser tab; nothing is sent to a server.

How this guide is kept current: it is checked against the official sources it cites and against the Toolula tools it describes, and revised when a rule, deadline or tool changes. The date above shows the last revision.

Extract audio from video