What Is a .MKV File? (.mkv, .mka, .mks)

A .mkv file is a Matroska video, an open, royalty-free container that can hold unlimited video, audio and subtitle tracks plus chapters and attachments in a single file. It is popular for films and TV rips because it keeps multiple languages and subtitles together. VLC plays it everywhere; Windows 11 Media Player plays most MKVs.

Extension
.mkv, .mka, .mks
Full name
Matroska Video
Type
Video file
MIME type
video/matroska, video/x-matroska
Developed by
Matroska project (open standard, IETF RFC 9559)

About MKV files

Matroska is a flexible container built on EBML, a binary format similar in spirit to XML. Almost any codec can go inside: H.264, HEVC, AV1, VP9 video; AAC, AC-3, DTS, FLAC or Opus audio; and text or image subtitles such as SRT, ASS and PGS. The related .mka extension holds audio only and .mks holds subtitles only. WebM is a restricted subset of Matroska.

Because one file can carry several audio tracks, subtitle tracks and named chapters, MKV is a favorite for archiving Blu-ray and DVD rips with tools like MakeMKV. It also recovers well from damage: a truncated MKV usually still plays up to the point where it breaks, unlike an MP4 whose index sits at the end.

The trade-off is support on locked-down devices. Apple's QuickTime Player, Photos and iMovie do not open MKV, many smart TVs depend on which audio codec is inside, and some editors refuse it. In those cases you can often remux to MP4 without re-encoding, provided the codecs inside are MP4-compatible, which keeps full quality and takes seconds.

What MKV files are used for

  • Ripped Blu-rays and DVDs with several audio and subtitle tracks
  • Films and TV episodes for Plex, Jellyfin and Kodi media servers
  • OBS Studio recordings (MKV survives crashes better than MP4)
  • Archiving video with chapters and embedded fonts or cover art

How to open a .mkv file

Windows

Double-click to play in Media Player, which handles most MKV files. If audio or subtitles are missing, use VLC or MPC-HC.

Mac

QuickTime Player cannot open MKV. Use VLC or IINA, both free, which also let you switch audio and subtitle tracks.

iPhone and iPad

Install VLC for Mobile or Infuse and open the file from the Files app; the built-in Photos app will not play it.

Android

VLC for Android or MX Player play MKV with track switching; some built-in galleries also work.

How to convert a .mkv file

To get an MP4 without losing quality, remux it: in a free tool such as MKVToolNix or FFmpeg you can copy the streams into an MP4, provided the audio is AAC, AC-3 or another MP4-compatible codec.

To re-encode for an iPhone, iMovie or a picky TV, open the MKV in HandBrake, choose a preset and pick which audio and subtitle tracks to keep on the Audio and Subtitles tabs.

Renaming .mkv to .mp4 does not convert the file and usually leads to playback errors.

Free video tools: Compress Video · Video to MP3 · all video tools

Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.

Naming and renaming MKV files

  • Media servers like Plex, Jellyfin and Kodi match films by name and year (Title (2019).mkv) and episodes by season and episode (Show Name - S02E05.mkv); following that pattern gets you the right artwork and metadata.
  • Put language or edition in the name only when you keep separate files (Title (2019) - Director's Cut.mkv); multiple audio languages are better stored as tracks inside one MKV.
  • Keep external subtitles next to the video with the same base name plus a language code, such as Title (2019).en.srt, so players load them automatically.

Renaming lots of .mkv files? See how to rename mkv files with ai, use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.

Related file types

Frequently Asked Questions

Is MKV better than MP4?

MKV is more flexible, with unlimited tracks, more codecs and better subtitle support. MP4 is more compatible with phones, editors and TVs, so the best choice depends on where you will play it.

Why will my MKV not play on a Mac?

Apple apps do not support the Matroska container. Play it in VLC or IINA, or remux or convert it to MP4.

Why is there no sound when I play an MKV?

The audio track probably uses a codec like DTS or TrueHD that your player or TV cannot decode. VLC handles these, or you can convert the audio to AAC with HandBrake.

Can I convert MKV to MP4 without losing quality?

Often yes, by remuxing with MKVToolNix, FFmpeg or similar tools, which copies the existing streams into an MP4 container instead of re-encoding them.

More video file extensions · all file extensions