Skip to content
Browser Media Studio

Convert video to MKV

Open the studio

Free, no sign-up, and nothing is uploaded.

Worked example

MKV is a container rather than a codec, so converting into it is often just repackaging.

Extension.mkv
MIME typevideo/x-matroska
PlaybackLimited support
From MP4 without re-encodingYes
Video codeclibx264
Audio codecaac

The equivalent command

ffmpeg -i holiday-clip.mp4 -c:v libx264 -crf 23 -pix_fmt yuv420p -preset veryfast -c:a aac -b:a 160k -threads 1 -y out-holiday-clip.mkv

This is exactly what runs in the browser. Copy it to run the same job locally on a file too large for a tab.

What to expect

Size is only predictable when you set a bitrate. These figures are for the bitrate example above:

At 1500 kbps for 60s12.1 MB
Rough encode time5:38

At a constant quality the encoder lets the bitrate follow the content, so the output size genuinely cannot be predicted in advance — a slide deck and handheld footage of leaves differ by an order of magnitude at the same setting.

Why it matters

Because MKV can hold almost any codec, an MP4's existing H.264 and AAC streams can usually be copied into it untouched — instant, and lossless. That makes MKV the right choice when you want to change the wrapper without touching the content. The cost is reach: browsers do not play MKV, so it is a storage and playback-software format rather than a sharing one.

Related tools