FormatDrop
How-To Guide

How to Extract Audio from Video

Extracting audio from a video file is one of the most common media tasks — getting an MP3 from a music video, extracting dialogue from a recording, or archiving a podcast that was only published as a video. FFmpeg makes this instant, and VLC provides a GUI option. The audio can be extracted losslessly (from compatible containers) or re-encoded to MP3, AAC, or any other format.

Step-by-step instructions

  1. 1

    Extract audio with FFmpeg (recommended)

    Lossless extraction (keeps original codec): `ffmpeg -i input.mp4 -vn -c:a copy output.m4a` (AAC from MP4). Re-encode to MP3: `ffmpeg -i input.mp4 -vn -c:a libmp3lame -q:a 2 output.mp3`. Re-encode to AAC: `ffmpeg -i input.mp4 -vn -c:a aac -b:a 192k output.aac`. The `-vn` flag disables video output — only the audio track is written.

    Go to converter
  2. 2

    Extract audio with VLC

    Open VLC → Media → Convert/Save → Add your video file → click Convert/Save. In the Profile dropdown, select Audio - MP3 (or AAC). Set an output filename with .mp3 extension. Click Start. VLC re-encodes the audio — good for occasional use without command-line access.

  3. 3

    Extract audio with Audacity

    Open Audacity → File → Import → Audio → select the video file. Audacity imports the audio track only. Edit if needed (trim, normalise volume). Export: File → Export → choose format (MP3, WAV, FLAC, OGG). Audacity is useful when you want to edit the audio before saving.

  4. 4

    Choose the right output format

    For sharing and streaming: MP3 (widest compatibility) or AAC (better quality, smaller size). For high quality archiving: FLAC (lossless). For phone ringtones: MP3 or M4A. For podcasts: MP3 at 128 kbps mono. For music: MP3 at 320 kbps or AAC at 256 kbps. If the video already has AAC audio, extract losslessly: `ffmpeg -i input.mp4 -vn -c:a copy output.m4a`.

Why convert MP4 to MP3?

Video files often contain the audio content you want — music videos, recorded lectures, podcast episodes published as video, or interview recordings. Extracting the audio saves storage and lets you listen on any audio device.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

Can I extract audio from video without losing quality?
Yes — if the video contains AAC audio (common in MP4), extract it losslessly: `ffmpeg -i input.mp4 -vn -c:a copy output.m4a`. This copies the audio stream without re-encoding — zero quality loss, instant. If the video has MP3 audio (AVI files), extract as MP3: `ffmpeg -i input.avi -vn -c:a copy output.mp3`.
How do I extract audio from a YouTube video?
You'd need to download the video first (yt-dlp is a popular command-line tool: `yt-dlp -x --audio-format mp3 URL`). Note: downloading YouTube videos may violate YouTube's terms of service. Only download content you own or have permission to use.
What if the video has multiple audio tracks?
List all tracks: `ffprobe -v error -select_streams a -show_entries stream=index,codec_name -of csv=p=0 input.mkv`. Extract a specific track: `ffmpeg -i input.mkv -map 0:a:1 -vn output.mp3` (where 0:a:1 is the second audio track). HandBrake also lets you select which audio track to include in the output.
Convert MP4 to MP3 Now — Free

No account. No upload. Works in any browser.