Tool

MKV to MP4 Converter With No Upload

When you open an MKV, the tool first reads each track’s codec and decides whether it can go into MP4 as is. If it can, the video and audio are moved into an MP4 and saved without being re-encoded; if not, it shows the reason, an FFmpeg command, and the estimated size if re-encoded. The file is read only inside this browser and is never sent anywhere.

What it checks, and how

MKV and MP4 are containers that hold compressed video and audio, and quality is decided by the codec inside. If both containers accept the codec, the job is a remux: the compressed data is moved byte for byte into a new box, so picture and sound quality don’t change. When you open a file, the tool sorts each track in the following way.

TrackWhat this tool does
Video H.264, HEVC, AV1 (when the decoder configuration is in the file)Moves it into MP4 directly.
Audio AAC, MP3Moves it into MP4 directly. Uncheck it to leave it out.
Audio AC-3, E-AC-3, Opus, FLAC and other codecs MP4 can holdThis tool can’t write them. FFmpeg’s -c:a copy is known to handle them, so it shows the command.
Audio DTS, TrueHD, Vorbis; video VP8Judged as codecs MP4 can’t hold, and it tells you re-encoding is needed.
Video such as VP9 that MP4 can hold but this tool can’t writeShows an FFmpeg command that uses -c copy.
SubtitlesNot included in the resulting MP4. Text subtitles can be converted to mov_text in the FFmpeg command.

A codec that isn’t in the list is not assumed to work; it is marked “Needs checking.” The per-track verdicts use the same table as the MKV to MP4 Remux Feasibility Checker. The checker only produces the verdict and the command; this tool adds the actual conversion on top of that.

How the conversion runs

  1. Reading frame positions (1/2): It reads through the whole file from the start and notes where each frame is, how large it is, when it is displayed, and whether it is a keyframe. It doesn’t interpret or change the video data at this stage.
  2. Writing the MP4 (2/2): It writes the playback information (moov) at the front of the file first, then copies the frame data from the source unchanged. Because the playback information is at the front, the file can start playing right away on the web too.
  3. Check: When it finishes, it checks whether this browser can open the result and read its duration. If the browser can’t play the codec, opening may fail, so you still need to play the file yourself to check the sound and sync.

Video with B-frames has a decode order that differs from its display order, so the tool calculates the decode times MP4 requires from the display times written in the MKV, along with the difference between the two (ctts). If that calculation were wrong the frame order would be scrambled, so always scrub through the result to the end.

How much does the file size change?

Since the compressed data is moved as is, the size is expected to change only by the difference in container information (the playback tables, cluster headers and so on). This is an expectation from general principles; this site has not measured it across many files. When the conversion finishes, the tool shows the actual sizes of the source and the result side by side, so look at those numbers.

When it can’t be done: estimating the size if re-encoded

If the tool says re-encoding is needed because the video codec doesn’t fit in MP4, it reads from this site’s measured CSV (CRF measurements) the bitrate at which x264 reaches the target VMAF, and multiplies it by the file’s duration to show the video size. VMAF is a score from 0 to 100 for how close the result looks to the original. The result is shown as a min–max range over the 4 clips because the bitrate needed differs greatly with the nature of the footage. We did not measure re-compressing already-compressed video or resolutions other than 1080p, so treat the range as a reference only. For the size multiplier when you change codec, see the Re-encode Size Predictor; for choosing a CRF, see the CRF Recommender.

Using it on OBS recordings

OBS is known to recommend MKV recording because the file survives even if the recording is cut off partway, while many editors and devices accept MP4 better. If your OBS settings are H.264 + AAC, the file falls within this tool’s direct conversion range. If you recorded the audio as several separate tracks in OBS, you can check only the tracks you need in the list and move just those. OBS itself is also known to have a remux feature that moves a recording to MP4, so you can use that right after recording. If you are worried about recording size, see the OBS Recording Disk Usage Estimator.

Good to know: limits

  • Not every MKV has been verified. The structure varies slightly depending on the program that made the file, so for an important file, play the result to the end and check the sound, sync and subtitles (handled separately) before deleting the original.
  • Subtitles, chapters, tags and attachments are not carried over. Only video and audio go into the result. If you need subtitles, use the FFmpeg command.
  • Tracks that use lacing (several frames packed into one block), compressed or encrypted tracks, clusters of unknown size (the live-recording style), and files with a single cluster over 512 MB stop with an error and the reason.
  • It doesn’t create the MP4 boxes for video rotation, HDR static metadata (mdcv, clli), or the Dolby Vision configuration. Information inside the stream is copied as is, but for HDR video be sure to check the result in an HDR-capable player.
  • In browsers that support a save dialog, such as Chrome and Edge, the result is written straight to disk, so large files can be handled. Browsers that don’t support it (Firefox, Safari and others) collect the result in memory, so the source is limited to 1.5 GB.
  • Being storable in MP4 and playing on your device are separate things. AV1, MP3 and others may not play depending on the device and app, so check with Codec Support Check and the Video File Info Inspector.
  • Conversion speed depends on disk read and write speed (there is no re-encoding, so there is almost no CPU computation). This site has not measured conversion times; when a conversion finishes, it only shows the time that particular run took.