How to Extract Subtitles from MKV Files
Extracting subtitles from an MKV (Matroska) video container is a quick and simple process when using the right software. This guide demonstrates how to easily extract subtitle tracks—such as SRT, ASS, or SUB files—from an MKV video using the free and popular GUI tool gMKVExtractGUI (paired with MKVToolNix) as well as the powerful command-line utility FFmpeg.
Method 1: Using gMKVExtractGUI and MKVToolNix
This is the easiest method for Windows users who prefer a graphical interface.
- Download the tools: Download and install
MKVToolNix. Next, download
gMKVExtractGUI and extract its files into the
MKVToolNix installation directory (typically
C:\Program Files\MKVToolNix). - Open gMKVExtractGUI: Launch the
gMKVExtractGUI.exeapplication. - Import your MKV file: Drag and drop your MKV file into the input area at the top of the interface.
- Select the subtitle track: The software will read the file and display all embedded tracks (video, audio, and subtitles). Check the box next to the subtitle track you wish to extract (usually marked as SRT, ASS, or PGS).
- Extract the file: Choose your output directory and click the Extract button. The subtitle file will be extracted and saved to your computer.
Method 2: Using FFmpeg (Command Line)
For users on macOS, Linux, or Windows who prefer command-line tools, FFmpeg is a highly efficient way to extract subtitles without a GUI.
- Open Terminal or Command Prompt: Navigate to the folder containing your MKV file.
- Identify the subtitle tracks: Run the following
command to see the streams inside the MKV file:
ffmpeg -i input.mkvLook for the stream labeled “Subtitle” and note its stream number (e.g.,#0:2). - Run the extraction command: Use the command below
to extract the subtitle. Replace
input.mkvwith your filename andoutput.srtwith your desired subtitle name:ffmpeg -i input.mkv -map 0:s:0 output.srt(Note: If there are multiple subtitle tracks and you want the second one, change0:s:0to0:s:1.)