Only extract audio from videos you made yourself or have the right to use. Downloading and ripping other people’s videos from streaming sites usually breaks their terms and can infringe copyright.
FFmpeg (fastest)
To keep the original audio track without re-encoding (often AAC, saved as .m4a):
ffmpeg -i video.mp4 -vn -c:a copy audio.m4a
To make an MP3:
ffmpeg -i video.mp4 -vn -codec:a libmp3lame -q:a 2 audio.mp3
The -vn option drops the video stream.
VLC media player
VLC is a free, open-source, cross-platform player. Its Convert/Save feature (in the Media menu) can convert a video to an audio profile such as MP3.
Audacity
Audacity can import the audio from many video files when the optional FFmpeg library is installed. Then edit and export as MP3.
Sources
Facts checked against the sources above on 12 November 2026.