Skip to content
JSF
The cables of a suspension bridge with city towers behind them
Back to blog
Explained

MKV vs MP4: what is the difference and which one to use

Two video files can look the same and still behave very differently. MKV and MP4 are both containers, and the right one depends on where the video will be played.

Eric Rada · Founder · · 3 min read

In short

A video file is a box. Inside the box are the video, the audio and sometimes subtitles, each compressed with a codec. MKV and MP4 are two kinds of box.

That is why an MKV and an MP4 with the same codec inside can look exactly the same. The extension alone does not tell you the quality.

A container, not a codec

The Matroska team, who make MKV, put it simply: a container is not a video or audio compression format. It is an envelope that can hold many audio, video and subtitle streams in one file.

MP4 is also a container. The quality comes from the codec inside, like H.264 or HEVC, and from the settings used when the video was made.

What MKV does well

MKV can hold many audio tracks, many subtitle tracks and chapters in one file. That is why it is popular for movies with several languages and for archiving recordings.

It is an open format, designed to grow with new features without breaking old files.

What MP4 does well

MP4 is supported by all major browsers, according to MDN, and by almost every phone, TV, editor and social app.

If you do not know what the other person will use to play the video, MP4 is the safe choice.

Which one to use

Use MP4 to send a video to someone, upload it to a site, play it on a phone or open it in an editor.

Use MKV to keep a recording with several audio or subtitle tracks, or when your recording app saves MKV and you only watch it on a computer.

Changing MKV to MP4

If the codecs inside are ones MP4 supports, a converter can often move them into an MP4 box without compressing again, so the quality stays the same.

If it has to re encode the video, choose a high quality setting and keep the original MKV until you have checked the new file.

Sending big video files

Most chat apps compress videos or refuse large files. Sending the file through a link keeps it exactly as it is, whether it is MKV or MP4.

In a Room, MP4 videos up to 4 GB play right on the page. Any other file, MKV included, is there to download in original quality, with no account.

MP4 plays on the page, any file downloads in original quality. Free up to 10 GB.

Big videos, exactly as they are →

Questions

Is MKV better quality than MP4?

Not by itself. Both are containers, the quality depends on the codec and settings inside.

Why will my MKV not play on my phone?

Not every player supports MKV. MP4 is supported far more widely.

Does converting MKV to MP4 lose quality?

Not if the streams are only moved into an MP4 box. Re encoding can lose some.

Which is better for YouTube or social media?

MP4, because it is the format almost every site and app accepts.

One link. Everyone’s photos.
Free up to 10 GB. Guests never need an account.
Create a Room