File types / Video
.mkv file
Matroska video
- Extensions
- .mkv, .webm
- MIME type
video/x-matroska- Signature
1A 45 DF A3at byte offset 0- Safety
- Low risk
What is a .mkv file?
Matroska is an open container that can hold any number of video, audio and subtitle tracks, which is why it is popular for downloaded films. WebM is a restricted subset of it.
Both start with the EBML header 1A 45 DF A3. The DocType field further in distinguishes matroska from webm.
Used for: Videos with multiple audio or subtitle tracks.
How can I tell if a file is really a MKV?
Read its first bytes rather than trusting the name. A genuine MKV file has the signature 1A 45 DF A3 at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.
To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.
Is a .mkv file safe to open?
MKV is a media container. Subtitle tracks are text, not code.
Easy to confuse
MKV and WebM look identical at the first four bytes.