AudioUtils

How to Extract Audio from Video Files

Extract audio tracks from video files and save as MP3, WAV, or other formats. Step-by-step guide for any video format.

The quick answer

You get the audio out by converting the video file and keeping only its sound track. Nothing is re-recorded: the sound already sits in the video as its own track. Choose MP3 to listen anywhere, or WAV if the audio is going into an editor.

  • WAV adds no second loss — the track is only decoded; MP3 compresses it again. MP4 to WAV.
  • Use WAV for sync work — MP3 adds 576 silent samples in the encoder and 528 in the player, about 25 ms.
  • If you pick MP3 — 192 kbps for music, 128 kbps for speech.
  • Free — 1 full file a day, for audio up to 10 minutes, under 20 MB. After that, a 10-second preview, five times a month. MP4 to MP3.

Do it in your browser — free, no upload

Every video file already contains the audio you want as a separate stream — extracting it is a question of pulling that stream out, not re-recording or re-mixing anything. The right method depends on the source container, what you plan to do with the audio next, and whether you can afford an extra round of lossy re-encoding. This guide covers every scenario, every common source format, and the exact decisions that determine the quality of your output.

Why People Extract Audio From Video

The use cases are broader than most people realize:

  • Lectures and webinars recorded as MP4 or MOV that students want to re-listen to during commutes, at 1.5x or 2x speed in a podcast app.
  • YouTube tutorials saved as offline video that work better as audio in a car or on a run.
  • Conference talks and interviews filmed but consumed audio-first.
  • Voice memos recorded on iPhone in QuickTime that arrive as .mov files but are functionally voice notes.
  • Podcasts recorded on camera (most modern podcasts have a video version) where the host needs to publish an audio-only feed alongside YouTube.
  • Music videos and live performances where the official audio release is unavailable.
  • Screen recordings from OBS, ScreenFlow, or QuickTime where only the narration matters.
  • Transcription prep — every transcription service (Otter, Rev, Whisper, Descript) accepts audio more efficiently than video and many charge by file size.
  • Sampling and music production where producers pull short audio segments from films, interviews, or live recordings as source material for tracks. Once extracted, cut the audio down to the exact clip you need before importing into your DAW.

In each case, the underlying operation is the same: separate the audio elementary stream from the video container.

What Is Actually Inside a Video File

A video file is a container — a wrapper format that holds one or more video streams, one or more audio streams, optional subtitle tracks, chapter markers, and metadata. The container and the codecs inside it are independent decisions:

  • MP4 (.mp4) — almost always carries AAC audio. Sometimes MP3, occasionally AC-3 for theatrical content.
  • MOV (.mov) — Apple's QuickTime container. Typically AAC for iPhone recordings; can carry PCM (uncompressed), ALAC, or AC-3 for professional workflows.
  • MKV (.mkv) — Matroska. The flexible one. Audio can be AAC, AC-3, DTS, FLAC, Vorbis, Opus, PCM, or TrueHD. MKV files of films often carry multiple audio tracks (English, foreign dubs, commentary).
  • WebM (.webm) — Google's web container. Audio is Vorbis or Opus, never AAC.
  • AVI (.avi) — legacy Microsoft container. Usually MP3 or PCM audio.
  • MTS / M2TS (.mts, .m2ts) — AVCHD, the format consumer camcorders and Blu-ray use. Audio is AC-3 or LPCM.
  • FLV (.flv) — Flash Video. Almost always AAC or MP3 audio. Rare in 2026 but still surfaces in old archives.

When you 'extract audio,' you are demuxing — pulling the audio stream out of the container. Whether re-encoding happens depends entirely on whether your target format matches the source codec.

Three Approaches: Browser, Desktop, Command-Line

If you just need an MP3 from any video file (MP4, MOV, MKV, WebM, AVI and others), the video to MP3 converter does it in your browser without uploading the video. The approaches below cover every other case.

There are three categories of tools, with very different trade-offs.

Browser-based (recommended for most users)

Tools like AudioUtils run FFmpeg compiled to WebAssembly directly in your browser tab. The video file is loaded into browser memory, processed locally, and the audio is downloaded back to your device. The file never touches a server. This matters for unreleased lectures, internal company recordings, interviews under NDA, or any video you would not upload to a random web service.

Workflow: drag the video into a converter like MP4 to MP3, MOV to MP3, MP4 to WAV, or MOV to WAV. Pick a bitrate. Download the result.

Strengths: no install, no upload, works on iPhone/Android/Chromebook/locked-down work computers, identical workflow on every OS. Limits: practical file size around 1-2 GB before browser memory pressure becomes an issue; not a great fit for batch processing 200+ files.

Desktop applications

  • HandBrake — primarily a video transcoder but can output audio-only. Overkill for a single extraction; useful when you also want to re-encode the video.
  • VLC — Media > Convert/Save will demux any container VLC plays. Free, every OS, but its conversion UI is awkward.
  • Audacity — opens MP4/MOV via its FFmpeg plugin. Best when you also want to edit, denoise, or normalize the audio.
  • Permute (macOS) — drag-and-drop, $10. Solid pick for Mac users who do this regularly.

Command-line: FFmpeg

The professional answer. FFmpeg is the engine behind virtually every other tool in this list (including the browser-based ones). It is free, scriptable, and handles every codec and container in existence.

Step-by-Step: Extracting Audio With AudioUtils

For a typical YouTube-downloaded MP4 or iPhone MOV file:

  1. Open MP4 to MP3 for MP4 or MOV to MP3 for MOV in your browser.
  2. Drag the video file into the converter. Files up to about 500 MB load smoothly on most computers; larger files may need a few seconds of patience.
  3. Choose a bitrate. 192 kbps is the sweet spot for most extracted speech and music. 128 kbps is fine for voice-only content. 320 kbps for music you want to keep at the highest practical MP3 quality.
  4. Click Convert. Processing takes 5-30 seconds depending on the source length and your CPU.
  5. Download the .mp3.

For lossless intermediate output — for example, if you plan to load the audio into a DAW for editing — use MP4 to WAV or MOV to WAV instead. The output WAV is decoded PCM, ready for any editing software.

For Apple-ecosystem use where you want to stay in the AAC family rather than hop to MP3, use MP4 to M4A. Be clear about what that does: this converter re-encodes the track to AAC, so the output is a second AAC generation, not a byte-identical copy of the audio inside the video. If you need the original bytes untouched, use FFmpeg's '-c:a copy' (below) or extract to WAV.

Output Format Decision Tree

Once you have the audio out of the video, the container choice depends on what you are going to do with it:

  • MP3 — sharing, sending to friends, uploading to a podcast host, listening on any device. Universal compatibility, manageable file size, lossy.
  • WAV — editing in a DAW, transcription with services that prefer PCM, archival for short clips, sampling. Uncompressed, large.
  • M4A (AAC) — Apple ecosystem, AirPods, anywhere you want better quality per byte than MP3. If the source video already carries AAC, staying in AAC avoids a cross-codec hop, though a browser converter still re-encodes. Only FFmpeg's '-c:a copy' avoids re-encoding entirely.
  • FLAC — long-term archival of the extracted audio. Lossless compression, half the size of WAV.
  • OGG / Opus — web playback, Discord, game development. Most efficient lossy codec available; not universally supported on legacy hardware.

Quality Preservation: When Extraction Is Lossless

This is the most important point in the article and the one most tutorials get wrong.

Extracting AAC audio from an MP4 file to an M4A file is lossless — but only with a stream copy. That means FFmpeg's '-c:a copy', described below. With a stream copy no re-encoding happens: the audio bytes are copied from the MP4 container into an M4A container with their codec parameters preserved, and the output is bit-identical to the audio that was inside the source video. The converter on this site is not a stream copier — it always re-encodes AAC output through its own encoder, so an M4A you make here is one generation away from the source, not bit-identical.

Extracting that same AAC to MP3 is lossy. The audio is decoded from AAC to PCM, then re-encoded to MP3. You incur the artifacts of two lossy codecs in series — once when the original video was created, again when you convert to MP3. At 192 kbps target MP3 from a 128 kbps AAC source, the result is audibly OK for casual listening but noticeably worse than the AAC original.

The rule: match codecs when possible. If the source has AAC, output AAC (M4A). If the source has Vorbis, output OGG. Only transcode when you need a specific format the recipient or platform requires.

FFmpeg One-Liners (Every Flag Explained)

For users comfortable on the command line, FFmpeg gives you exact control.

Stream copy AAC from MP4 (lossless, fastest): 'ffmpeg -i input.mp4 -vn -c:a copy output.m4a'. The flags: '-i input.mp4' specifies the input. '-vn' means 'no video' — drop the video stream. '-c:a copy' means 'audio codec: copy' — copy the audio bytes without re-encoding. Output is an M4A with the original AAC bytes. Process time: a few seconds for a 1-hour file.

Transcode to MP3 at 192 kbps (lossy but universal): 'ffmpeg -i input.mp4 -vn -c:a libmp3lame -b:a 192k output.mp3'. '-c:a libmp3lame' uses LAME, the gold-standard MP3 encoder. '-b:a 192k' sets bitrate to 192 kbps CBR. Use '-q:a 2' instead of '-b:a' for VBR (better quality at similar average rate).

Extract to WAV (lossless PCM): 'ffmpeg -i input.mp4 -vn -c:a pcm_s16le output.wav'. 'pcm_s16le' is 16-bit signed little-endian PCM, the standard CD-quality WAV format. Use 'pcm_s24le' for 24-bit if your source has higher bit depth.

Pick a specific audio track from a multi-track MKV: 'ffmpeg -i input.mkv -map 0:a:0 -c:a copy output.m4a'. '-map 0:a:0' means 'from input 0, take audio stream index 0.' Use '0:a:1' for the second audio track (commentary, foreign dub). Run 'ffprobe input.mkv' first to see what tracks exist.

Batch Conversion

For more than a handful of files, scripting beats clicking. A simple shell loop processes every .mp4 in a folder to a same-named .mp3 with the LAME encoder at 192 kbps. Replace the codec or bitrate as needed. For batch jobs above a hundred files, FFmpeg is dramatically faster than browser tools because it can process files in parallel and skip the browser-memory ceiling.

Multiple Audio Tracks

Films and concerts on MKV often carry several audio streams: original language, dubs, director's commentary, isolated music. Browser tools typically grab the default (track 0). To pick a specific track:

  • VLC: Audio menu > Audio Track > pick before exporting.
  • FFmpeg: '-map 0:a:N' where N is the track index. Use 'ffprobe' to list tracks.
  • HandBrake: Audio tab > Track dropdown shows all available streams.

Preserving Timestamps for Sync Workflows

If you are extracting audio for transcription that you will sync back to the video later, frame-accurate timing matters. Stream copy ('-c:a copy') preserves the original sample-accurate timing. Transcoding to MP3 introduces a small delay at both ends of the chain: LAME's own header defines an encoder delay of 576 samples ('ENCDELAY') and a decoder delay of 528 samples ('DECDELAY'), so unless the player honors the gapless metadata that strips them, the audio you hear starts roughly 1,100 samples — about 25 ms at 44.1 kHz — later than the source. That is enough to offset a transcript. For transcription that must sync precisely, extract to WAV — PCM has no encoder or decoder delay.

File Size Expectations

Rough numbers for a one-hour source:

  • Original MP4 video (1080p, 5 Mbps video + 128 kbps audio): about 2.3 GB total
  • Extracted M4A (FFmpeg stream copy): about 56 MB
  • Transcoded MP3 at 192 kbps stereo: about 86 MB
  • Transcoded MP3 at 128 kbps mono: about 56 MB
  • Extracted WAV (16-bit / 44.1 kHz stereo): about 605 MB
  • Extracted FLAC from the WAV: about 300 MB

The audio is always a tiny fraction of the original video file. Even uncompressed PCM audio is roughly 25% of a typical 1080p MP4.

Edge Cases

  • DRM-protected video (iTunes movie rentals, Netflix downloads, Disney+ offline files) cannot be extracted. The audio stream is encrypted at the container level. This is a hardware-enforced limit, not a tooling limit.
  • Corrupted or partially-downloaded videos sometimes have a recoverable audio stream even when the video stream is broken. FFmpeg's '-err_detect ignore_err' flag forces extraction past errors.
  • Variable frame rate (VFR) screen recordings from OBS or game capture can have audio sync drift. Extract to WAV first to bypass any container-level remapping.
  • Live-streamed videos saved as .ts (transport stream) or fragmented MP4 may have multiple audio segments concatenated; FFmpeg handles them correctly but some browser tools may stop at the first segment break.

Mobile Workflows

iPhone: open the video in the Files app, share to your browser, navigate to MOV to MP3 or MP4 to MP3, drop the file in, and download the audio back to Files. The whole operation works without installing anything because Safari supports WebAssembly and the Files app handles input and output.

Android: identical pattern with Chrome and the Files app or any file manager. Android also has native FFmpeg apps (FFmpeg Media Encoder, Termux + ffmpeg) for users who want command-line control.

For further format decisions, see the lossless vs lossy guide, and the audio bitrate explainer covers what bitrate to pick for the extracted file. If your source is specifically an MP4 from YouTube or another website, the extract audio from MP4 guide walks through the no-software workflow specifically. For background on why MP4 typically holds AAC audio, see what is AAC.

Frequently Asked Questions

Is extracting audio from a video lossless?

It depends on whether re-encoding happens. If you copy the audio stream into a compatible container — for example, AAC from MP4 into M4A — no re-encoding occurs and the output is bit-identical to the source audio. If you transcode (AAC to MP3, Vorbis to AAC, anything to a different codec), the audio is decoded to PCM and re-encoded into the new format, introducing a second generation of lossy compression. To keep extraction lossless you need a tool that copies the stream instead of re-encoding it: FFmpeg with '-c:a copy' does, and browser converters — this site's included — do not. In a browser the no-second-loss route is WAV, which only decodes the track.

What is the best format to extract video audio to?

MP3 for sharing and portable playback because every device on earth plays it. M4A (AAC) when the source already has AAC audio inside the video, because staying in the same codec family costs less quality than moving to MP3 — note that a browser converter re-encodes rather than copies, so it is not a free operation. WAV when you plan to load the audio into a DAW for editing or send it to a transcription service that prefers PCM. FLAC for long-term archival because it compresses to half the size of WAV with zero quality loss. Avoid extracting to a low-bitrate MP3 from a video that already had low-bitrate audio — you stack two generations of lossy compression and quality drops noticeably.

Can I extract audio from a YouTube video legally?

Only with permission or under a license that allows it. YouTube's Terms of Service prohibit downloading content unless YouTube provides a download button or you are using YouTube Premium's offline feature. Creative Commons-licensed videos, public domain content, and your own uploads are clearly fine. For copyrighted content, the legal path is a streaming subscription with offline downloads (YouTube Premium, Spotify, Apple Music) or buying the audio from Bandcamp or similar stores. The audio extraction process itself is technically straightforward; the legality lives entirely in the licensing of the source content.

How do I extract audio without losing quality?

Use stream copy whenever possible. If your source is an MP4 or MOV with AAC audio, extract to M4A with FFmpeg using '-c:a copy' — that output is byte-identical to the audio inside the original video. Browser converters, this one included, re-encode rather than copy, so here the no-second-loss route is WAV: the track is decoded to PCM and nothing is compressed again. The losses come from transcoding between two lossy codecs in series, not from the extraction itself.

Why is the extracted audio so much smaller than the video?

Audio is a tiny fraction of a typical video file. A 1080p MP4 at 5 Mbps video bitrate has about 40x more video data than audio data — the 128-256 kbps audio track represents roughly 2-5% of the total file size. A one-hour 1080p YouTube video that comes in around 2 GB contains roughly 50-100 MB of actual audio. Extracting that audio to MP3 at the same bitrate gives you a file approximately matching the size of the audio stream that was already inside the container. The video bytes are simply removed, not compressed further.

How do I extract audio from a video on my iPhone or Android phone?

On iPhone or Android, open the converter page, such as MOV to MP3 or MP4 to MP3, in Safari or Chrome. Tap the drop area, pick the video from Photos or Files, choose a bitrate, convert, and save the MP3. The conversion runs in the browser tab, so the video never leaves your phone. The free tier converts 1 full file a day, for audio up to 10 minutes, from files up to 20 MB. After that, or for longer audio, you get a 10-second preview, up to 5 times a month. Pro converts full-length files up to 500 MB, with no daily limit.

How do I pick a specific audio track from a video with multiple languages or commentary?

MKV files of films and concerts often carry several audio streams: original language, dubs, director's commentary, isolated music. Run 'ffprobe input.mkv' to list every track with its index and language tag. Then use FFmpeg's '-map 0:a:N' flag, where N is the zero-based audio stream index, to pick exactly one. For example, '-map 0:a:1 -c:a copy commentary.m4a' extracts the second audio track losslessly. In VLC, use Audio menu > Audio Track to switch before exporting via Convert/Save. HandBrake exposes every track in the Audio tab dropdown.