MKV to MP4 Converter
This MKV to MP4 converter rewrites one Matroska (.mkv) file as an MP4 entirely inside your browser, with nothing uploaded. H.264 and HEVC sources are copied into the new container without re-encoding; other codecs such as VP9, AV1 or DivX are re-encoded to H.264 instead. One file at a time, up to 50 MB.
MKV files containing H.264 or HEVC can be moved into MP4 without re-encoding. VP9, AV1, Theora and similar codecs have to be re-encoded to H.264 — slower, and with some quality loss.
How to use
- Add one MKV file: Drop the file onto the box or click to choose it. One file at a time, up to 50 MB — if you drop several at once the whole batch is refused and nothing is added. To swap files, remove the current one with ✕ first.
- Convert to MP4: Click Convert to MP4. The first run quietly downloads about 31 MB of processing core, which shows no percentage while it loads; the percentage appears once ffmpeg starts working. Cancel stops it at any stage and takes you back to the form.
- Read the route, then save: The first line of the result says whether your file was stream-copied or re-encoded, and the notes under it list what happened to the audio tracks, subtitles and metadata. Download saves the MP4; on a phone, Save to device opens the system share sheet when the browser offers file sharing and otherwise just downloads.
How this MKV to MP4 converter picks its route
This MKV to MP4 converter processes one file up to 50 MB locally in your browser. H.264 and HEVC sources use stream copy without re-encoding; VP9, AV1, Theora, MJPEG and DivX/Xvid sources are re-encoded to H.264. The route is automatic, with no quality or track settings.
A stream copy is the route people have in mind when they ask how to convert MKV to MP4 without losing quality; the re-encode route cannot offer that, which is why the result names the route it took instead of leaving you guessing. Unlike most online MKV to MP4 converters, this one works without uploading anything: the conversion runs on your own device, it is free, and there is no account to create. The trade-off is that 50 MB ceiling.
| What is inside the MKV | Route | What happens to the picture |
|---|---|---|
| H.264 (AVC) | Stream copy | Not re-encoded — the original stream is copied into MP4 |
| HEVC (H.265) | Stream copy | Not re-encoded, but tagged hev1 (see below) |
| MPEG-4 Part 2 (DivX, Xvid) | Re-encode | Rebuilt as H.264, CRF 23, veryfast preset |
| VP9, AV1, Theora, MJPEG | Re-encode | Rebuilt as H.264, CRF 23, veryfast preset |
| Codec cannot be read | Re-encode | Rebuilt as H.264 if the file decodes at all |
AV1 is worth singling out: an AV1 stream can legally sit in an MP4, but this page re-encodes it anyway.
Which tracks survive the trip into MP4
MKV's great strength is also what you stand to lose. One Matroska file can carry several picture tracks, a stack of audio tracks in different languages, subtitles and even the font files those subtitles need. MP4 is narrower, and the two routes answer the question differently — which is why the tool spells out what it did instead of just handing you a file.
On the stream-copy route no track mapping is requested at all, so which picture track and which audio track come across is decided by the processing core's default stream selection, and there is no rule in the code to appeal to. Only one audio track comes across, and the tool cannot tell you which. In desktop ffmpeg checks, a file holding a 320x180 clip plus an 800x800 cover image — neither flagged as the default track — came out as nothing but the cover image, 78% smaller than the source; flagging the clip as default produced the clip. Those are observations of one ffmpeg build, not a rule this page enforces, so when more than one picture track is detected you get a warning on the result rather than a promise.
Subtitles follow the same logic on that route: nothing here asks for them to be stripped and nothing asks for them to be kept. A file with an SRT (subrip) track lost its subtitles in our checks, which is what the core's default selection did with that file — it is not guaranteed either way. The re-encode route is definite instead: subtitle tracks are always dropped, and every audio track is kept and re-encoded to AAC 128 kbps. Font attachments come across on neither route, because MP4 has no attachment track to put them in.
Chapters and the title and comment tags came across on both routes in our checks. GPS location data is stripped from every result this site produces, and the recording date is not copied into the MP4, so a converted clip may show today's date in a phone's photo library.
If keeping the subtitle tracks matters more than the container does, stay in Matroska and shrink the file with Compress MKV instead.
HEVC files, the hev1 tag and Apple players
If your MKV holds HEVC, the stream copy produces a valid MP4 that Apple players may still refuse to open. Matroska stores no codec tag, so when the stream is copied into MP4 the sample entry is written as hev1, while Safari, QuickTime and the iPhone photo library basically only accept hvc1. The tool warns you whenever it sees an HEVC source, because the file itself looks perfectly fine until you try to play it.
The fix is a second pass that rewrites the tag to hvc1 without touching the video. The two routes also differ on where the playback index sits: a stream copy leaves it at the end of the file, which is fine for local playback but can force a web player to fetch the whole file before it starts, while the re-encode route writes the index at the start.
Run the result through Faststart MP4 to rewrite an hev1 tag as hvc1 and move the playback index to the front of the file.
Limits to check before you start
One file at a time, up to 50 MB. For MKV that ceiling bites hard: a feature-length film is usually hundreds of megabytes to several gigabytes, so what fits here is short clips, screen and OBS recordings, trailers and sections you have already cut out. Drop several files at once and the whole batch is refused, with the notice telling you how many were turned away, so add a single file instead. Once a file is in the list you have to remove it with ✕ before you can choose another.
The .mkv extension itself is not enforced. The file picker accepts any video, and a file with a different extension gets a notice but is converted all the same, down the same two routes. A file with no picture track — an audio-only .mka, for instance — is refused before any work starts, since an MP4 built here needs a picture to put in it.
The whole conversion runs through ffmpeg compiled to WebAssembly, which means the page needs multi-threaded WebAssembly: SharedArrayBuffer and cross-origin isolation. Up-to-date Chrome, Edge and Firefox have it; private windows and some in-app browsers (the browser built into a chat or social app) switch it off, and in that case the page tells you so before downloading anything. The first conversion fetches roughly 31 MB of processing core, and there is no percentage to show while that loads. The file is read into memory in full, so a phone can run short of room on a large one.
You can cancel at any stage — while the core downloads, while the file is being inspected, while ffmpeg runs — and you land back on the form with no error message. Not every unusable file is caught up front, either: only a file nothing at all can be read from is refused early, while one whose details read partly will start converting and may fail at the end. There is no DRM detection on this page, so a protected file can fail at either point and the message will not be the same one.
What this converter does not do
It is not a compressor. On a stream copy the selected streams are not re-encoded, but the file size still moves with container overhead and with which tracks actually came across: a single-track sample grew by 7,744 bytes (+0.21%), while a file that shed a spare audio track and a subtitle track came out 12% smaller, and the cover-image case above lost 78%. The re-encode route's size change is a side effect of CRF 23 rather than a target — a DivX sample came out around half the size, while a VP9 sample grew 17.5% and an AV1 sample grew 82.8%, because both of those codecs are more efficient than H.264 to begin with.
There are no settings of any kind. No quality preset, no resolution, frame rate or bitrate, no container choice, no track picker, no trimming, rotating or muting, and no switch for keeping the recording date. The output is MP4 and nothing else, saved as your original file name with a .mp4 ending. Nothing here raises quality either: a stream copy is a straight copy, and a re-encode can only lose a little.
An HDR source that takes the re-encode route comes out as 8-bit yuv420p, and no tone mapping is applied, so highlights and colour may not look like the original — there is no automatic conversion to SDR here, and the HDR is not preserved. On speed, a stream copy only rewrites the container while a re-encode has to compress every frame with a single-threaded encoder, so the re-encode route is much slower; we do not publish in-browser timings for either route.
When the conversion finishes you get a video preview, which plays if your browser can decode the result and otherwise falls back to a card with the file name and a download button. On a phone, Save to device opens the system share sheet when the browser offers file sharing and simply downloads the file when it does not — and if you cancel the share sheet, nothing happens at all rather than falling back to a download.
How this tool is checked
- The logic behind this tool is covered by 9 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Can I convert MKV to MP4 without losing quality?
- Only when the MKV already holds H.264 or HEVC. Those streams are copied into the new container rather than compressed again, so the picture is the same data as before. VP9, AV1, Theora, MJPEG and DivX sources have to be re-encoded to H.264 at CRF 23, which does cost some quality. The result's first line tells you which route ran.
- Will my subtitles be in the MP4?
- On the re-encode route, definitely not; on a stream copy, there is no guarantee either way. That first route drops subtitle tracks outright. The second asks for nothing either way, so it comes down to the processing core's default stream selection — an SRT track did not come across in our checks. Nothing here converts MKV subtitles into MP4 subtitles, so keep the MKV if you need them.
- Why won't the converted MP4 play on my iPhone or in QuickTime?
- If the source uses HEVC, check the hev1 tag first. Matroska carries no codec tag, so a stream copy writes the sample entry as hev1, and Apple players basically only accept hvc1. Run the result through Faststart MP4, which rewrites that tag to hvc1 — in our check the file size did not change at all.
- Can I convert a full-length film?
- Not here: one file, up to 50 MB. A feature-length MKV is far bigger than that, so this page suits clips, screen and OBS recordings, trailers and sections you have already cut out. The file is also held in memory in full while it is converted, so even under the limit a large clip can run a phone short of room.
- Which audio track do I get if the MKV has several?
- On a stream copy, exactly one — and the tool cannot say which. No mapping is requested, so the choice falls to the processing core and the code has no rule for it. The re-encode route keeps every audio track and re-encodes each one to AAC 128 kbps. There is no track picker on this page either way.
- What happens to a DTS, FLAC or TrueHD soundtrack?
- The audio codec plays no part in choosing the route, and nothing checks whether it fits an MP4. On a stream copy the audio is handed to the MP4 muxer as it is, and the muxer decides. Desktop ffmpeg wrote AC-3, FLAC, Opus and DTS into MP4 in our checks, but the build running in your browser is a different one, so no audio codec is promised.
- Is my video uploaded to a server?
- No. The conversion runs inside your browser with ffmpeg compiled to WebAssembly, and the server fallback is switched off in the code, so no upload is ever attempted. Nothing is kept anywhere either — close the tab and both the file and the result are gone.
- Will the MP4 be smaller than the MKV?
- Not reliably, and this is not a compressor. A stream copy does not re-encode, so the size moves only with container overhead and with which tracks came across: single-track samples grew slightly, while files that shed spare tracks shrank. A re-encode can go either way — a DivX sample halved, while VP9 and AV1 samples grew. Use Compress MKV or Compress Video to actually make a file smaller.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). MKV to MP4 Converter [Online tool]. Retrieved November 21, 2026, from https://gingertool.com/en/video/mkv-to-mp4/
“MKV to MP4 Converter.” Gingertool, November 21, 2026, https://gingertool.com/en/video/mkv-to-mp4/. Accessed November 21, 2026.
@misc{gingertool-mkv-to-mp4,
author = {{Gingertool}},
title = {MKV to MP4 Converter},
year = {2026},
url = {https://gingertool.com/en/video/mkv-to-mp4/},
note = {Accessed: 2026-11-21}
}