Subtitle guide Workflow guides

How to extract subtitles from MKV

Updated

TL;DR — Extract embedded text subtitles from MKV files locally, check whether the stream is text-based, and save captions as a separate subtitle file.

Related tool

Extract Subtitles from Video

Open Video extractor

MKV files often contain separate subtitle streams inside the video container.

That is different from a subtitle file sitting next to the video. In an MKV container, the captions can be packaged inside the video file as their own stream. If that stream is text-based, it can usually be extracted into a separate subtitle file. If it is image-based or burned into the picture, extraction is a different problem.

Quick answer

Open Extract Subtitles from Video, choose the MKV file, and let the browser extract the first embedded text subtitle stream as SRT. The video stays on your device; FFmpeg runs locally in the browser.

What this can extract

This works when the MKV contains a text subtitle stream such as:

Stream #0:2: Subtitle: subrip
Stream #0:3: Subtitle: ass

It usually cannot convert image-based subtitle streams such as:

Stream #0:4: Subtitle: hdmv_pgs_subtitle

If extraction returns no subtitle text, the MKV may still have captions, but not in a text stream the browser can save as SRT. PGS, VobSub, and burned-in captions need a different OCR workflow.

Embedded, external, and burned-in subtitles

Before extracting, identify what kind of subtitle you have:

  • Embedded text subtitles are stored inside the MKV as a selectable text stream. These are the best match for this workflow.
  • External subtitles are separate files such as .srt, .ass, or .vtt next to the video. You do not need extraction for those.
  • Burned-in subtitles are part of the video image. They cannot be saved as text without OCR.

If you can turn captions on and off in the player, they are probably embedded or external. If the text is always visible in the picture, it is probably burned in.

If the MKV has multiple subtitle tracks

Some MKV files include several subtitle streams for different languages or commentary tracks. The browser extractor attempts the first embedded subtitle stream, so check the extracted text before treating it as final.

If the language is wrong, inspect the MKV in a desktop tool such as VLC or MediaInfo to identify the track order, then extract the correct subtitle stream with a dedicated video workflow. Keep the browser output as a quick first check, not proof that every track has been exported.

Step-by-step workflow

  1. Open Extract Subtitles from Video.
  2. Choose your .mkv file.
  3. Wait for FFmpeg.wasm to load in the browser.
  4. Check the extracted SRT preview.
  5. Download the subtitle file.
  6. If the text has broken characters, run it through the Subtitle Encoding Fixer.

What to check after extraction

Do not treat the first extracted file as final until you check it:

  • Open the output and confirm it contains readable text, not binary-looking symbols.
  • Check the first cue, a middle cue, and the final cue against the video.
  • Confirm the language is the one you wanted if the MKV has more than one subtitle stream.
  • Convert or clean the output before delivery if the extracted file contains tags, odd spacing, or encoding issues.

For a simple delivery file, SRT is often easiest. For browser playback, convert the cleaned subtitle file to VTT afterward.

Privacy note

The video stays on your device. FFmpeg runs in the browser, so the file does not need to be uploaded to a server.

Frequently asked questions

Can I extract subtitles from an MKV file online for free?

Yes. Use the browser-local Extract Subtitles from Video tool to read embedded text subtitle streams from an MKV file and save a separate SRT output without uploading the video.

Can this extract burned-in MKV subtitles?

No. Burned-in subtitles are part of the video image and need OCR. The extractor works on embedded text subtitle streams that can be separated from the MKV container.

Why did MKV subtitle extraction find no subtitles?

The MKV may not contain a subtitle stream, the first stream may be image-based such as PGS, or the subtitle track may use a format the browser extractor cannot convert.

Are MKV files uploaded during subtitle extraction?

No. FFmpeg runs locally in your browser, so the MKV file stays on your device.

Common mistakes

Expecting burned-in subtitles to extract

If subtitles are part of the video picture, there is no text track to extract. You need OCR for that.

Confusing audio language with subtitle language

An MKV can have multiple audio streams and no subtitle streams. The extractor only looks for subtitle streams.

Assuming the first stream is the right language

Some MKV files contain multiple subtitle tracks. The browser tool attempts the first subtitle stream, so check the language and text before sending the file to someone else.

Skipping cleanup

Extracted subtitles can still need cleanup. Use the Subtitle Cleaner if the text contains unwanted tags or spacing.

Next steps after extraction

The extracted file is often the start of the workflow, not the end. Use How to convert subtitles to UTF-8 if characters look wrong, Common subtitle format errors and fixes if the structure looks messy, or Best subtitle format for HTML5 video if the final target is a browser player.

Use the Extract Subtitles from Video

Extract embedded text subtitle tracks from MKV, MP4, MOV, and WebM files locally with no video upload. No signup, no upload, and everything runs locally in the browser.

Open Video extractor