MKV to MP4

Convert MKV videos to MP4 in seconds, one file or many at once, without sending them to any server.

loading MKV to MP4
About this tool

What are MKV and MP4?

MKV (Matroska) is an open container that holds any codec, many audio tracks and subtitles in one file; common for movies and screen recordings from OBS. MP4 is the video container that plays everywhere: phones, browsers, TVs, WhatsApp, Instagram and every editor, normally with H.264 video and AAC audio.

OBS recordings and downloaded movies are often MKV, which iPhones, many TVs and social networks do not accept; when the video is already H.264 it is copied into the MP4 without re-encoding.

This page opens the video converter ready for MKV → MP4. The conversion runs in your browser: the files never leave your device.

MKV vs MP4

MKVMP4
Extension.mkv.mp4
What it iscontainercontainer
Usual codecsany (H.264, H.265, VP9, AV1…)H.264, H.265, AV1 + AAC
Plays onVLC, desktop players, Chrome; iPhone, many TVs and social networks do noteverything
Best formovies, OBS recordingssharing, web, phones

When to convert MKV to MP4

  • Convert to MP4 when the video must play on any phone, browser or social network.
  • Keep the MKV when you keep several audio tracks and subtitles together, or record with OBS without risk of losing the file.

What changes in the conversion

  • When the MKV already has H.264 video, the "fast" option copies the picture into the MP4 untouched (no re-encoding, no quality loss, seconds instead of minutes). Other codecs are re-encoded to H.264.
  • Only the first video and the first audio track are kept; extra audio languages and subtitle tracks of the MKV are not copied.
  • Everything runs in your browser with FFmpeg compiled to WebAssembly: big files need free memory (the page warns above 300 MB) and take longer on phones.

How to convert MKV to MP4

  1. Drop one or more MKV files (.mkv) on the page.
  2. Convert; MP4 is already selected.
  3. Download each MP4 or a ZIP with all of them.

Example

The converter runs FFmpeg in your browser. With the default "balanced" quality, a MKV is re-encoded with these exact arguments:

ffmpeg -i input.mkv -map 0:v:0 -map 0:a:0 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -c:v libx264 -preset veryfast -crf 24 -pix_fmt yuv420p -c:a aac -b:a 160k -movflags +faststart -y output.mp4

When the source video is already H.264 and the size is kept, the "fast" option copies the picture instead (-c:v copy), which takes seconds:

ffmpeg -i input.mkv -map 0:v:0 -map 0:a:0 -c:v copy -c:a aac -b:a 160k -movflags +faststart -y output.mp4

Frequently asked questions

Are my files uploaded?

No. Your browser reads and converts the MKV files itself.

Why does a MKV file not play everywhere?

A MKV file is a container that usually carries any (H.264, H.265, VP9, AV1…); it plays on VLC, desktop players, Chrome; iPhone, many TVs and social networks do not. A MP4 plays on everything.

Is there a size limit?

No fixed limit, but the browser holds the file about three times in memory while converting; the page warns above 300 MB and above 1 GB, where a desktop with plenty of RAM works best.

Report a problem