Rescreen / Free tools / MKV to MP4
MKV to MP4 converter
Drop an MKV here and get an MP4 in seconds, copied with no quality lost for most recordings.
Convert an MKV file to MP4
This browser cannot convert video or audio. The converter needs WebCodecs, which is in current Chrome, Edge, Safari and Firefox on a computer. Open this page in one of those and try again.
Drop an MKV file here
or choose one from your device
Up to 2.0 GB. Stays on your device.
- File
- Contains
- Length
- Will become
Starting…
How to convert MKV to MP4
Three steps, all on this page.
Choose your MKV
Choose or drop an MKV file. The page reads what is inside and checks that this browser can convert it before anything starts.
Convert to MP4
Pick the options you want, then press Convert to MP4. Tracks that an MP4 can hold as they are get copied, which is near instant.
Check and download
The new file is opened again and checked against the original before it is offered. Play it in the preview, then download it.
What changes from MKV to MP4
- OBS’s own recording guide recommends MKV because it will not corrupt the whole file if the recording is not stopped gracefully, for example when OBS or the computer crashes. Source
- OBS can turn its MKVs into MP4 itself: File › Remux Recordings, or the Automatically remux to mp4 setting, which remuxes each recording as soon as you stop it. Source
- OBS 30.2 added Hybrid MP4 as a beta recording format, meant to combine the crash safety of fragmented MP4 with the compatibility of a regular MP4. Source
- MDN lists MP4 as supported by all browsers. MKV (Matroska) is not on its list of web formats at all; only WebM, which is based on Matroska, is. Source
- WebCodecs, the browser feature this page converts with, has no decoder for Dolby Digital (AC-3, E-AC-3) or DTS sound. This page fetches Mediabunny’s add-on decoders for those, built from FFmpeg, when a file needs one. Source
- Mediabunny, the library this page is built on, can write WebVTT subtitles but reads none, so the subtitle tracks in an MKV are not carried into the MP4. Source
MKV file
MKV (Matroska)
- PictureH.264, HEVC or VP9
- SoundAAC or Opus, often several tracks
MP4 file
MP4
- PictureH.264
- SoundAAC
Who converts MKV to MP4
Mostly OBS users. OBS saves recordings as MKV unless you change it, and the file then meets an editor, a phone, a chat app or an upload form that wants MP4. The rest have an MKV from somewhere else, a downloaded film or a camera or capture card, that will not open in QuickTime, Photos, iMovie or a browser. In both cases the picture inside is usually H.264 already, so the job is a change of container rather than a conversion, and it takes about as long as saving the file.
Why OBS records MKV, and the fix already inside OBS
An MP4 keeps its table of contents at the end of the file, written when the recording stops. If OBS crashes, the computer loses power or the disk fills mid-recording, that table is never written and the whole MP4 can be unreadable. An MKV is written so that everything up to the moment it stopped can still be played, which is why OBS recommends it.
So the honest answer for OBS users: OBS can do this conversion itself. File › Remux Recordings takes any MKV it made and writes an MP4 next to it, untouched. Turn on Settings › Advanced › Recording › Automatically remux to mp4 and every recording gets an MP4 copy the moment you stop. Newer versions also offer Hybrid MP4 as a recording format, which aims to be crash-safe and an MP4 at once. This page is for when OBS is not to hand: an MKV someone sent you, a recording on another computer, or a file from a capture card or a downloaded video.
If you are still choosing a recorder, our comparison with OBS covers when OBS is the right tool and when a simpler screen recorder is quicker.
Why it takes seconds and loses nothing
MKV and MP4 are both containers: boxes that hold a video track and sound tracks side by side. OBS, most capture cards and most video downloads put H.264 video and AAC sound in the box, and MP4 takes both exactly as they are. Moving them from one box to the other is called remuxing, and it is what this page does whenever it can. No frame is decoded, so nothing about the picture or sound changes.
In our test, a three-minute 1080p 60 fps MKV of 136 MB, laid out like an OBS recording with H.264 and two AAC tracks, became a 133 MB MP4 in a quarter of a second in Chrome, a third of a second in Safari and two-thirds of a second in Firefox, on an M1 Mac. The result says Copied without re-encoding, so no quality was lost when that is what happened.
When the sound is re-encoded
Not every MKV holds AAC. Opus and FLAC are common in files made with free tools, and films usually carry Dolby Digital (AC-3, E-AC-3) or DTS, sometimes as 5.1 surround. QuickTime, iPhones and most editors will not play those inside an MP4, so the page turns that one track into AAC and still copies the picture untouched. Surround sound is mixed down to stereo. That takes longer than a copy, though far less than re-encoding the picture, and the page tells you before you start.
Browsers cannot decode Dolby Digital or DTS on their own. For those, the page downloads a small extra decoder the first time it meets one; like everything else here, it runs on your computer.
OBS recordings with more than one audio track
In OBS’s advanced output mode you can record up to six audio tracks at once, typically your desktop sound on one and your microphone on another, so they can be balanced later in an editor. Most players only ever play the first track of an MP4, so a file with several often looks as if the voice has vanished.
When the MKV has more than one track, this page lists them by the names OBS gave them and you choose which one goes into the MP4. If you need both, keep the MKV for editing, or use the ffmpeg command below to copy every track into the MP4 at once.
Subtitles, HEVC and other things to know
Subtitle tracks are left out. MKV can hold almost any subtitle format, MP4 very few, and this page carries none across; it tells you how many are being dropped as soon as you choose the file. To keep them, save them as a separate .srt file first (the ffmpeg steps below show how), and most players will pick up an .srt with the same name as the video.
Newer graphics cards let OBS record HEVC (H.265) or AV1 instead of H.264. HEVC is turned into H.264 by default so the MP4 plays everywhere, which re-encodes the picture and takes longer; tick Keep HEVC as it is to copy it instead, for an MP4 that plays on Apple devices and anywhere else HEVC is supported. AV1 is always re-encoded to H.264, since few editors accept AV1 in an MP4.
When not to convert
If the MKV already plays where it needs to, leave it. VLC, Plex and most smart TVs open MKV, and for an OBS recording you will edit, the MKV is the safer file to keep: it survives a crash and keeps every audio track.
Converting cannot rescue a damaged recording. If the MKV stutters, has a frozen picture or drifting sound, the MP4 will too, and an MKV cut short by a crash converts only as far as it goes. It also cannot burn subtitles into the picture; for that you need an editor or HandBrake.
Other ways to convert MKV to MP4
OBS Studio Windows, Mac or Linux
- In OBS, open the File menu and choose Remux Recordings.
- Click the … button in the OBS Recording column and pick one or more MKV files.
- Choose Remux. The MP4 is saved next to the MKV, with the same name.
- To skip this next time: Settings › Advanced › Recording, tick Automatically remux to mp4.
A true remux like this page’s, and it keeps every audio track. It copies the sound as it is, so an MKV with Opus or DTS sound gives an MP4 that QuickTime and many editors will not play.
ffmpeg Any computer, from the command line
- Install ffmpeg (on a Mac with Homebrew:
brew install ffmpeg; on Windows:winget install Gyan.FFmpeg). - Run
ffmpeg -i input.mkv -c copy output.mp4to copy the video and sound as they are. - Run
ffmpeg -i input.mkv -map 0:v -map 0:a -c copy output.mp4to keep every audio track, not just the first. - Run
ffmpeg -i input.mkv -map 0:s:0 subtitles.srtto save the first subtitle track as its own file.
The most control, and it can do a whole folder in one go. If the sound is Opus, FLAC or DTS, use -c:v copy -c:a aac instead so the MP4 plays in QuickTime and editors.
VLC Windows, Mac or Linux
- Choose Media › Convert / Save (File › Convert / Stream on a Mac) and add the MKV.
- Under Profile, pick Video – H.264 + MP3 (MP4), then click the spanner icon.
- On the Video codec tab, tick Keep original video track, and on Audio codec, tick Keep original audio track. Save.
- Choose a file name ending in .mp4 and press Start.
Free and already on many computers. Without the two tick boxes VLC re-encodes everything, which is slow and loses a little quality.
HandBrake Windows, Mac or Linux
- Open HandBrake and drop the MKV on it.
- Pick a preset such as Fast 1080p30 and set Format to MP4.
- On the Audio and Subtitles tabs, choose the tracks to keep; a subtitle track can be burned into the picture here.
- Press Start Encode.
Always re-encodes, so it is slow and the file changes, but it is the easy way to burn subtitles in or shrink a large film.
Frequently asked questions
How do I convert MKV to MP4 without losing quality?
Remux it instead of re-encoding: copy the video and sound into the MP4 as they are. This page does that automatically for H.264 with AAC, which covers most OBS recordings, and so do OBS’s Remux Recordings and ffmpeg -c copy. Nothing is decoded, so nothing is lost.
Is MKV or MP4 better for recording in OBS?
MKV, or Hybrid MP4 in OBS 30.2 and later. A plain MP4 can be lost completely if OBS or the computer crashes mid-recording; an MKV keeps everything up to that point. Record MKV and remux to MP4 afterwards, which OBS can do for you automatically.
Can I just rename .mkv to .mp4?
No. Unlike MOV and MP4, which are close relatives, MKV and MP4 are built completely differently inside, so a renamed MKV will not open in most players and editors. A remux copies the same video and sound into a real MP4 and takes about as long as the rename.
Why does my converted MP4 have no sound, or no voice?
Usually the voice was on a different audio track. OBS can record desktop sound and the microphone to separate tracks, and an MP4 player plays only the first. Convert again and choose the other track from the Sound to keep menu, or mix both tracks into one in OBS’s audio settings for future recordings.
Will my subtitles be kept?
Not by this page: the MP4 has none, and the page says so before converting. Save them as an .srt file with ffmpeg first (see the steps above), or burn them into the picture with HandBrake.
Why won’t my MKV open in Premiere Pro, iMovie or on my iPhone?
Because they do not read the MKV container, even when the video inside is H.264 they play every day. Remuxing to MP4 fixes it without changing the video, and all three take the MP4.
Is it free, and is my file uploaded?
It is free, with no sign-up and no watermark, and the file never leaves your computer: the conversion runs in your browser and the MP4 is saved straight to your downloads. That is also why a large recording takes seconds instead of an upload and a download.
Is my file uploaded?
No. Your MKV is read, converted and checked on your own computer, so there is no upload and no queue. In Chrome and Edge on a computer files of any size work, written straight to a file you choose; in other browsers, files up to 2.0 GB. We count anonymous page views and whether a conversion worked; when one fails, the event also carries the step, your browser’s error and the file’s codecs, size and length in broad bands, never the file or its name. If a conversion fails you can choose to send us the file, which is deleted within 30 days. See the privacy policy.
Spend less time editing
your next recording.
Create an account and record your first video in your browser.
No credit card required