How to Extract Audio from Video Files
Learn multiple methods to extract audio tracks from video files, whether you need MP3 from a YouTube download, a podcast from a webinar, or a soundtrack from a film.
Sarah Kim
There are many reasons you might want to extract just the audio from a video file: turning a lecture recording into a podcast episode, saving a song from a music video, creating sound effects from film clips, or pulling dialogue for transcription. Whatever your reason, there are several reliable methods ranging from browser-based tools to command-line utilities.
What Happens During Extraction
Every video file is a container (like MP4, MKV, or WebM) that holds separate streams: at least one video stream and typically one or more audio streams. When you "extract" audio, the tool either:
- Copies the audio stream directly (remuxing) — no quality loss, fastest method, but the output format depends on what codec the video used.
- Re-encodes the audio (transcoding) — converts to your chosen format (MP3, WAV, etc.), slight quality loss for lossy formats but gives you full control over the output.
When possible, prefer direct copy to avoid unnecessary quality loss.
Method 1: Online Extraction (Easiest)
Browser-based tools handle extraction without any software installation:
Using PureConverter
- Go to PureConverter Extract Audio.
- Upload your video file (MP4, MKV, AVI, MOV, WebM supported).
- Choose your output format:
- MP3 — best for music, podcasts, and general use.
- WAV — best for editing and production work.
- FLAC — best for lossless archiving.
- AAC/M4A — best for Apple devices and streaming.
- Adjust quality settings if needed (bitrate, sample rate).
- Click Extract and download the audio file.
This method works for files up to 100 MB on the free tier and handles most common video formats.
Method 2: Using VLC Media Player
VLC is not just a media player — it has powerful conversion capabilities built in:
- Open VLC and go to Media > Convert/Save (or press Ctrl+R).
- Click Add and select your video file.
- Click Convert/Save at the bottom.
- Under Profile, select "Audio - MP3" (or another audio profile).
- Choose a destination file and click Start.
VLC is free, open source, and available on Windows, macOS, and Linux. It handles virtually every video format without needing additional codecs.
Method 3: Using FFmpeg (Command Line)
FFmpeg is the Swiss Army knife of audio/video processing. Here are the most useful commands for audio extraction:
Direct Copy (No Quality Loss)
# Extract audio without re-encoding
ffmpeg -i video.mp4 -vn -acodec copy audio.aac
The -vn flag tells FFmpeg to ignore the video stream. -acodec copy copies the audio stream as-is. The output format depends on the original codec — most MP4 files use AAC audio.
Convert to MP3
# Extract and convert to MP3 at 320kbps
ffmpeg -i video.mp4 -vn -acodec libmp3lame -ab 320k audio.mp3
Convert to WAV (Lossless)
# Extract as uncompressed WAV
ffmpeg -i video.mp4 -vn -acodec pcm_s16le audio.wav
Extract Only a Portion
# Extract audio from 1:30 to 3:45
ffmpeg -i video.mp4 -vn -ss 00:01:30 -to 00:03:45 -acodec libmp3lame -ab 256k clip.mp3
Method 4: Using Audacity
Audacity is a free audio editor that can import video files (with FFmpeg libraries installed):
- Install Audacity and the FFmpeg library for Audacity.
- Go to File > Open and select your video file.
- Audacity will import only the audio stream and display the waveform.
- Edit if needed — trim, apply effects, adjust levels.
- Go to File > Export Audio and choose your format.
This is the best option when you need to edit the audio after extraction — trimming silence, normalizing volume, or removing background noise.
Choosing the Right Output Format
For Music and Podcasts
Use MP3 at 192-320 kbps. It is universally supported and sounds great at higher bitrates. For podcasts (mostly speech), 128 kbps is sufficient.
For Professional Editing
Use WAV (16-bit, 44.1 kHz). No quality loss, universal editor support, and you can always convert to a lossy format later.
For Archiving
Use FLAC. Same quality as WAV but 30-60% smaller files, with good metadata support.
For Apple Ecosystem
Use AAC/M4A at 256 kbps. Native support on all Apple devices and slightly better quality than MP3 at the same bitrate.
Common Issues and Solutions
Audio Is Out of Sync
This usually happens with variable frame rate video. Use FFmpeg with the -async 1 flag to correct timing during extraction.
Multiple Audio Tracks
Some videos (especially MKV files) contain multiple audio tracks in different languages. Use FFmpeg to select a specific track:
# Extract the second audio track
ffmpeg -i video.mkv -map 0:a:1 -acodec copy audio.aac
No Audio in Output
Some video files (screen recordings, GIFs converted to video) may not contain an audio stream at all. Check with ffprobe video.mp4 to see if an audio stream exists.
Conclusion
Extracting audio from video is a common task with many good tools available. For quick, one-off extraction, use PureConverter or VLC. For batch processing or automated workflows, FFmpeg is unmatched. And when you need to edit the audio after extraction, Audacity gives you a full editing environment. Whatever method you choose, prefer direct copy when possible to avoid unnecessary quality loss.
Written by
Sarah Kim
Product Manager
Contributing writer at PureConverter, covering file conversion, web performance, and digital workflows.
Related Articles
How to Convert PDF to Word Without Losing Formatting
Learn practical techniques to convert PDF files to editable Word documents while preserving layouts, fonts, tables, and images exactly as they appear.
How to Compress PDF Files Without Losing Quality
Practical methods to reduce PDF file size for email, web uploads, and archiving without visibly degrading document quality.
How to Merge PDF Files Online — Step by Step Guide
A complete walkthrough for combining multiple PDF files into a single document using free online tools, with tips for page ordering and optimization.