HexaConverter
mkvmp4

Convert Matroska (MKV) to MP4

Free online converter for Matroska (MKV) files. H.264/AAC video that plays on virtually any device. Nothing to install, no watermark, and every file is deleted automatically.

Drag and drop your files

or

Upload a Matroska (MKV) file to convert it to MP4. Up to 3 files at once, 100 MB each.

Free · up to 3 files · 100 MB each · files deleted automatically after 1 hour.

About MKV and MP4

Matroska (MKV) .mkv

Matroska: an open container that will hold almost any combination of video, audio, subtitle and chapter tracks in one file.

Good for

  • Unlimited tracks — multiple languages, subtitles, chapters
  • Codec-agnostic, so it holds nearly anything
  • Open, well documented, and resilient to damage

Trade-offs

  • Browsers will not play it natively
  • Many TVs and phones refuse it — the usual reason to convert
  • Being a container, contents vary wildly file to file

video/x-matroska

MP4 .mp4

The universal video container, normally holding H.264 video and AAC audio. If a device plays video at all, it plays MP4.

Good for

  • Plays on effectively every device, browser and editor
  • Excellent compression at high quality
  • Streams well, and seeks quickly

Trade-offs

  • H.264 carries patent licensing obligations
  • Lossy — quality drops each time it is re-encoded
  • Less flexible than MKV for subtitles and multiple tracks

video/mp4

MKV and MP4 side by side

Matroska (MKV) compared with MP4
MKVMP4
CompressionContainer — any codecLossy (usually H.264)
TransparencyDepends on codecNo
Typically used forArchival video, multi-language releasesEverything — the safe default for video

What changes when you convert MKV to MP4

MKV and MP4 are unrelated containers

MKV is built on Matroska, an open container that accepts almost any codec. MP4 is the ISO base media format, derived from QuickTime. A container is a box, not a compression method: what decides how a video looks and how large it is, is the codec stored inside, and these two boxes accept different ones.

This is a re-encode, not a repackage

Some tools can move a stream into a different container untouched when the codecs happen to line up. We do not — every job here is decoded and encoded again, so the conversion takes time in proportion to the length of the file and costs a small amount of quality even where a repackage would have been possible. In exchange the output is predictable: it plays everywhere, rather than inheriting whatever the source happened to contain.

What your MP4 will contain

The output is H.264 video with AAC audio — the index is moved to the front of the file so it can start playing before it has finished downloading, and the colour is written as 8-bit 4:2:0, which is what phones, browsers and TVs all agree on. Quality is set by a constant-quality target rather than a fixed bitrate, so a still interview compresses small and a fast-moving clip is allowed the bits it needs.

MKV to MP4 questions