VideoBinary

video/x-matroska

MKV (Matroska)

Reference for video/x-matroska, the Matroska container format supporting virtually any video, audio, and subtitle codec.

MIME Type Detector

Drop a file to detect its MIME type — no upload, runs in your browser

📄

Drop any file here or click to choose

Expected extensions: .mkv

HTTP Content-Type Header

HTTP Header
Content-Type: video/x-matroska

Associated File Extensions

.mkv

Quick Facts

MIME Typevideo/x-matroska
CategoryVideo
TypeBinary
Extensions.mkv

Common Usage

MKV is the most flexible video container format, supporting any video codec, multiple audio tracks, subtitles, chapters, and attachments. It is the preferred format for high-quality video archiving, Blu-ray rips, anime fansubs, and media server libraries (Plex, Jellyfin).

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.mkv" type="video/x-matroska">

<!-- Or for script/media elements -->
<script type="video/x-matroska" src="file.mkv"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('video/x-matroska');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'video/x-matroska' });
nginx
# nginx.conf — add to types block or use default
types {
    video/x-matroska  mkv;
}

# Or set for a specific location
location /api/ {
    default_type video/x-matroska;
}

Related MIME Types

More Video MIME Types

Other video types in the Video family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.