How to Convert MKV to MP3
Extract the audio from an MKV video and save it as MP3 with FFmpeg or VLC. Choose the right audio track, pick sensible quality settings and check the result.
An MKV file is a container. It can hold video, several audio tracks, subtitles and chapters. Converting MKV to MP3 means picking one audio track, decoding it and re-encoding it as an MP3 file. The video and subtitles are dropped. This guide covers two local tools, FFmpeg and VLC, and explains how to check the result.
Before you start
- A copy of the MKV file you have the right to use. The conversion writes a new file and leaves the original untouched, as long as you give the output a different name.
- One local tool: FFmpeg, a free command-line program, or VLC media player. Both process the file on your own computer, so nothing is uploaded.
- Enough free disk space for the new audio file.
- Some idea of which audio track you need if the video has more than one, such as a different language or a commentary track.
Online converters work differently. They upload your file to a remote service, which processes it and returns the MP3. If you use one, read its terms on file retention, deletion and size limits before uploading. Don't assume files are deleted right away, especially for private recordings or calls.
Quality expectations matter too. The audio inside an MKV is usually already compressed, for example as AAC, AC3, DTS, Opus or FLAC. MP3 is a lossy format, so each conversion discards some detail. The MP3 can match the source closely, but it can't sound better than it. If you need an exact copy of the original audio, see the last section on extracting the track without re-encoding.
Step-by-step instructions
Option 1: FFmpeg (Windows, macOS, Linux)
- Open a terminal or Command Prompt in the folder that contains your MKV file.
- List the streams in the file with: ffprobe input.mkv
- In the output, find the lines marked Audio. Each audio stream shows its codec, channel layout and often a language tag. The first audio stream is 0:a:0, the second is 0:a:1, and so on.
- Convert the default audio track with: ffmpeg -i input.mkv -vn -c:a libmp3lame -q:a 2 output.mp3
- To convert a specific track, add a map option, for example the second audio track: ffmpeg -i input.mkv -map 0:a:1 -vn -c:a libmp3lame -q:a 2 output.mp3
- Wait for FFmpeg to finish, then open output.mp3 in any player.
Here is what the key options do. The -vn option drops the video. The -c:a libmp3lame option selects the LAME MP3 encoder. The -q:a option sets variable-bitrate quality on a scale where 0 is the highest quality and 9 is the smallest file; 2 is a common high-quality choice. If a device or service needs a fixed bitrate, replace -q:a 2 with -b:a 192k or another value. For 5.1 or 7.1 sources, add -ac 2 to downmix to stereo, which is what most MP3 players expect. MP3 supports sample rates up to 48 kHz, so add -ar 48000 or -ar 44100 if FFmpeg reports an unsupported sample rate.
To convert every MKV in a folder, use a loop. In a Linux or macOS shell: for f in .mkv; do ffmpeg -i "$f" -vn -c:a libmp3lame -q:a 2 "${f%.mkv}.mp3"; done. In Windows Command Prompt: for %f in (.mkv) do ffmpeg -i "%f" -vn -c:a libmp3lame -q:a 2 "%~nf.mp3". In a batch file, write %%f and %%~nf instead.
Option 2: VLC media player
- Open the conversion dialog. On Windows and Linux, it is Convert / Save in the Media menu. On macOS, look for Convert / Stream in the File menu.
- Add your MKV file, then click Convert / Save or continue to the conversion settings.
- Under Profile, select the MP3 audio profile, usually labelled Audio - MP3.
- Optionally, open the profile settings and confirm that the audio codec is MP3. This is also where you can adjust the bitrate and channel count.
- Set a destination file name that ends in .mp3, in a different location or with a different name from the source.
- Start the conversion and wait until the progress bar finishes.
VLC's labels and layout differ between versions and operating systems, so the wording on your screen may not match exactly. VLC usually converts the default audio track and offers less control over track selection than FFmpeg. If the video has several audio tracks and you need a specific one, FFmpeg is the more reliable choice.
Check the output
- Play the MP3 from start to finish, or at least jump to the beginning, middle and end. Confirm you hear the expected language or track.
- Compare the duration with the original video. They should match closely; a much shorter file suggests the conversion stopped early.
- Run ffprobe output.mp3 and check that the stream is listed as mp3, with the expected channel count and sample rate.
- Check the volume. Dialogue that was clear in surround sound can sound quieter after downmixing to stereo.
- If you plan to batch-convert, check a few files individually rather than assuming every conversion succeeded.
Some things do not carry over to MP3. Subtitles, extra audio tracks and the video are discarded, and players rarely support chapter markers in MP3 files. An MP3 also holds at most two channels, so surround audio always ends up as stereo or mono. Title and artist tags may or may not be copied from the MKV; add or correct them in a tag editor if needed.
Common problems and next steps
The steps are the same however the task is phrased. Searches like "mkv a mp3" or "mkv en mp3" in other languages describe the same conversion, and the commands above work regardless of your system language. Only the menu labels in graphical tools like VLC change with the interface language.
- Unknown encoder 'libmp3lame': your FFmpeg build does not include the LAME MP3 encoder. Install a build that includes it, then run the same command again.
- Output has the wrong language or a commentary track: list the streams with ffprobe and choose the correct one with -map 0:a:N, where N counts from 0.
- Output file contains no audio or FFmpeg reports no audio stream: check the ffprobe output. Some MKV files contain only video and subtitles, so there is nothing to convert.
- VLC creates a file that won't play or has no sound: confirm the profile's audio codec is MP3, the destination name ends in .mp3, and the conversion actually finished before you opened the file.
- Dialogue is too quiet after conversion from 5.1: try a stereo track if the MKV includes one, or raise the level with an audio editor afterwards.
- An online converter rejects the file: many services limit upload size. A local tool avoids this limit and keeps the file on your computer.
If MP3 isn't strictly required, consider extracting the original audio without re-encoding, which avoids any quality loss. For an AAC track, ffmpeg -i input.mkv -map 0:a:0 -vn -c:a copy output.m4a copies the audio unchanged. For other codecs, an MKA file, the audio-only form of MKV, accepts almost any track with the same -c:a copy option. Choose MP3 when you need the widest playback compatibility, and the copied original when you need full fidelity.