esc
MP4 → MKV

MP4 to MKV:
Converter

Rewrap MP4 as MKV with the same picture and sound.

MP4 to GIFMOVWEBMAVIMP3WAV Reverse MKV → MP4

How to convert MP4 to MKV

  1. 01Add MP4 filesChoose files or drop them on the page.
  2. 02Converted on your deviceNothing is uploaded. Adjust settings if you like.
  3. 03DownloadSave each file, or all of them as one ZIP.

With this MP4 to MKV converter, the video and audio streams are copied as they are into a Matroska (.mkv) container instead of being re-encoded. That’s why it usually takes seconds, the quality is identical and the file size barely changes. It runs in your browser, so the video isn’t uploaded.

Why convert MP4 to MKV

MKV is the most flexible video container. It can hold almost any codec, several audio and subtitle tracks, chapters and attachments, which is why it’s popular for film collections, media servers such as Plex, Jellyfin and Kodi, and players like VLC and mpv.

People usually convert to MKV to keep a library in one format, or to add subtitle or audio tracks later with a desktop tool such as MKVToolNix. If you just need a video to play on phones, TVs and social apps, keep the MP4: iPhones, many editors and most social apps don’t open MKV.

Copied, not re-encoded

ffmpeg moves the existing streams into the Matroska container: H.264 or HEVC video and AAC audio stay exactly the same, at the same resolution, frame rate and bitrate. That’s why this page has no quality setting. Nothing is compressed again, so there is nothing to choose.

One video track and one audio track are kept. If the MP4 has several audio tracks, such as two languages, ffmpeg picks one of them and the others are left out.

When it has to re-encode

If copying fails, the converter falls back to re-encoding the video as H.264 (CRF 22) and the audio as AAC at 192 kbps. That is much slower and loses a little quality.

The usual reason is a built-in MP4 subtitle track, the kind some phones, editors and downloaded films include. Matroska can’t store that subtitle type as it is, so the straight copy fails. If a conversion that should take seconds is crawling, this is probably why. Let it finish, or remove the subtitle track in a desktop tool and convert again.

Limits

  • The whole file is loaded into your browser’s memory. Very large files, several gigabytes, can fail, especially on phones.
  • The first conversion downloads the ffmpeg engine, about 32 MB, which is then reused.
  • Converting doesn’t add anything. To put extra subtitles or audio tracks in the MKV, use a desktop muxing tool afterwards.

Other directions

MKV to MP4 goes back the other way. If an Apple app or a client is asking for .mov, use MP4 to MOV, and for web pages MP4 to WEBM.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Files are processed in your browser and never uploaded.
Accepts
MP4, M4V
You get
MKV
Batch
Convert many files at once and download them as a ZIP
Works in
Chrome, Edge, Firefox and Safari, on phones and computers
Offline
After the first conversion, it keeps working without internet

Questions

Are my files uploaded?

Never. MP4 to MKV conversion runs in your browser, so your files stay on your device.

Can I convert many at once?

Yes. Add as many as you like and download them all as one ZIP.

How long does it take?

H.264 video is copied without re-encoding, so it is quick. Other codecs are re-encoded on one processor thread, which is slow for long videos. Files over about 1.5 GB (about 400 MB on a phone) are refused.

Does MP4 to MKV lose quality?

No. The streams are copied unchanged. Only the rare fallback to re-encoding loses a little quality.

Will the MKV be smaller?

No. It holds the same video and audio, so it’s about the same size as the MP4.

Can I add subtitles to the MKV here?

No. Convert first, then add subtitle tracks with a desktop tool such as MKVToolNix.

Why did it take seconds?

Because nothing was re-encoded. Copying streams into a new container is fast even for long videos.