Moves the video into an MP4 without re-encoding and turns AC-3, DTS or Opus audio into AAC.
Drag & drop a MKV video, or
MKV files (WebM, AVI and other formats work too)
Fastest, with no quality loss. H.264 and HEVC video is copied as it is; other codecs become H.264.
This MKV to MP4 converter takes the video out of a Matroska (.mkv) file and puts it in an MP4. When the video is H.264 or HEVC, which covers most MKV files, the tool copies it across without decoding it. That's called remuxing: the picture stays bit for bit identical, and a full-length episode converts in about the time it takes to read the file.
The part of an MKV that usually causes trouble is the audio. Movie and TV rips often carry Dolby Digital (AC-3), DTS, FLAC or Opus audio, which many phones, browsers and editors won't play inside an MP4. The tool converts that audio track to AAC, the format every MP4 player supports, and copies it untouched when it's already AAC or MP3. It all runs in your browser on your own device.
Drag it into the tool above or click browse. A small sample MKV is there if you want to see how it works first.
Keep original copies H.264 or HEVC as it is. Convert to H.264 also re-encodes HEVC, for players that can't decode it.
The result panel lists what the tool did with the video and the audio, shows a preview, and gives you the MP4.
The converter first tries your browser's built-in media engine (WebCodecs, through the Mediabunny library), which reads the MKV in pieces. Browsers can't decode AC-3, E-AC-3 or DTS audio, so for those files the tool switches to FFmpeg compiled to WebAssembly, which can. That path takes a little longer to start, because it downloads the engine once, and it keeps the whole file in memory while it works.
A video file has two layers. The codec (H.264, HEVC, AAC, AC-3) decides how the picture and sound are compressed. The container (MKV, MP4, MOV) packs those compressed streams together with timing, track names and other metadata. MKV and MP4 are both containers, and they can hold many of the same codecs.
Remuxing means unpacking the streams from one container and packing them into another without touching the compressed data. Re-encoding means decoding every frame and compressing it again. Remuxing is fast and lossless, while re-encoding is slow and adds a generation of quality loss. Plenty of online "MKV converters" re-encode everything by default. For an H.264 MKV that wastes your time and some of your picture quality for no benefit.
MKV can hold almost any codec ever made, and MP4 accepts fewer of them. Here's what this tool does with each part:
| In the MKV | In the MP4 |
|---|---|
| H.264 video | Copied as it is |
| HEVC (H.265) video | Copied (Keep original) or re-encoded to H.264 (Convert to H.264). Copied HEVC is tagged "hvc1" so Apple devices accept it. |
| VP9, AV1, VP8, MPEG-4 Part 2 (Xvid/DivX) video | Re-encoded to H.264 |
| AAC or MP3 audio | Copied as it is |
| AC-3, E-AC-3, DTS, FLAC, Opus, Vorbis audio | Converted to AAC at 160 kbps |
| Subtitle tracks (SRT, ASS, PGS) | Left out |
| Extra audio tracks, fonts, cover art | Left out. The MP4 gets the main video track and the main audio track. |
Converted audio comes out as stereo, or mono for a mono source, so a 5.1 surround track gets mixed down to two channels. I chose that because stereo AAC plays on every device and in every browser, while surround AAC trips up a lot of players. An AAC track that's already 5.1 is copied with all its channels.
Subtitles are the biggest thing the MP4 loses. MP4 only supports a basic text subtitle format, styled ASS subtitles lose their styling in it, and image-based PGS subtitles from Blu-ray rips can't go in at all. If you need the subtitles, keep them as a separate .srt file next to the MP4; most players load a sidecar file with the same name automatically.
MKV is a great archive format, flexible and open, but support for it is patchy outside desktop media players like VLC. People convert MKV to MP4 to:
MKV files are often big: a 1080p movie runs 4 to 10 GB, a 4K remux far more. When the browser's own engine handles the file, the tool reads the MKV in pieces, so the input size isn't the problem. The finished MP4 does get built in memory before you download it, so the real limit is how much memory your browser lets one tab use. On a typical laptop, files up to a few gigabytes work.
Files with AC-3 or DTS audio go through the WebAssembly engine, which holds the entire input in memory and tops out around 2 GB. For a larger file with that kind of audio, a desktop tool like FFmpeg or HandBrake is the better choice.
Use Keep original. When the video is H.264 or HEVC, the tool copies it into the MP4 untouched, so the picture is identical to the MKV. Only the audio gets converted, and only when it's a format MP4 players struggle with.
No. Quality comes from the codec and bitrate inside the file, not from the container. The same H.264 stream looks exactly the same in an MKV and in an MP4.
No. MKV and MP4 have completely different internal structures, so a renamed file won't open in most players. The streams have to be repacked into a real MP4, which is what this tool does.
The MKV most likely had no audio track, or the player you're using can't play the audio. This tool converts AC-3, DTS, FLAC and Opus audio to AAC, which every player supports. If the MKV plays with sound but the MP4 is silent, tell me through the contact page.
It probably holds HEVC video. Convert the file again with Convert to H.264 selected. The result panel also offers a one-click button for this after a conversion that kept HEVC.
No. Subtitle tracks are left out, because MP4 can't hold image-based subtitles and loses the styling of ASS subtitles. Keep the subtitles as a separate .srt file next to the MP4.
The main audio track, usually the first or default one. MKV files with several languages or a commentary track come out with one audio track.
A remux takes seconds. A long wait means the video is VP9, AV1 or another codec that has to be re-encoded, or that the tool switched to the WebAssembly engine for AC-3 or DTS audio. Keep the tab in the foreground while it runs.
No. Your browser reads the MKV and writes the MP4 on your own device, so nothing gets sent to a server.
Yes. The MOV to MP4 converter handles iPhone and QuickTime videos the same way, copying what it can and converting only what it must.