Skip to content

MP4 to MKV converter

Choose an MP4 and download an MKV with H.264 video and AAC sound. The converter re-encodes the picture, so our test trailer scored 0.990 on SSIM, where 1 is identical; FFmpeg's copy of the same trailer into an MKV kept all 1253 frames unchanged.

Choose a file or drag it here
MP4, AVI, MOV, FLV, MKV, WebM, 3GP, MPEG, MPG, GIF, WMV, TS (up to 500 MB)
Input
MP4 files
Utdata
MKV, H.264 and AAC
Limit
Up to 500 MB
Price
Free, no account

How to convert MP4 to MKV

  1. 01

    Choose your MP4

    Drop it on the box. The limit is 500 MB.

  2. 02

    Check what changes

    The table under your file shows what the MKV keeps and what it drops.

  3. 03

    Download the MKV

    The link lasts one day.

Does converting MP4 to MKV lose quality?

With this converter, yes: it re-encodes the picture, and the trailer's MKV grew from 14.6 MB to 17.5 MB.

MP4MKV
The same frame from the MKV this converter madeFrame 481 of the Sintel trailer from the MP4: a stone alley with a girl running
Drag across the picture, or focus the handle and use the arrow keys. This frame is one of the trailer's hardest: it scores 0.956, and half the frames score above 0.993. Sintel trailer © Blender Foundation, durian.blender.org, CC BY 3.0.

The MKV without re-encoding

FFmpeg's copy of the trailer into an MKV kept every frame, came out at about the MP4's size, and played in our test browser, Chromium, the open-source base of Chrome.

It is the first command under Convert on your computer.

Trailer MP4
First frame checksum 9b2c4088acb2c896d5d79adbe4b893ac
14.6 MB
Copied MKV
First frame checksum 9b2c4088acb2c896d5d79adbe4b893ac
14.6 MB
Copy0.24 s
Re-encode29.2 s
The first frame's checksum in both files; all 1253 frames matched. Time on our test machine, against this converter's MKV run on the same trailer.

What the converter's MKV keeps

Picture
Any size and frame ratebecomes Same size and frame rate
Video
Your MP4'sbecomes H.264, re-encoded
Sound
Every trackbecomes Every track as AAC, 5.1 stays 5.1
Chapters
Anybecomes Kept
Subtitles
Anybecomes Dropped

Where is the MKV going?

Keep the MP4.

Apple names .mkv among the files its devices may not play without another app.

Source: Apple: play older or specialized media files

Convert on your computer

FFmpeg, same frames

Copies every video and sound track as it is.

ffmpeg -i in.mp4 -map 0 -c copy out.mkv
FFmpeg, as this converter runs it

The command behind this page.

ffmpeg -i in.mp4 -map 0:v:0? -map 0:a? -codec:v libx264 -preset ultrafast -crf 28 -codec:a aac -b:a 128k -threads 0 out.mkv

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

MP4 to MKV questions

All file converters

Search converters