Skip to content

MP4 to MKV Converter

FileFlip converts MP4 to MKV entirely inside your browser, using WebCodecs and FFmpeg compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert MP4 to

How do I convert an MP4 file to MKV?#

  1. Drop your MP4 file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to MKV and the conversion starts on its own. FileFlip usually downloads nothing, falling back to 30.8 MB of WebAssembly if your browser cannot encode these codecs itself, then runs WebCodecs and FFmpeg on your own machine.
  3. Save the MKV file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting MP4 to MKV lose quality?#

Sometimes. When the codecs inside the MP4 file are ones the MKV container can hold, the streams are copied straight across and nothing at all is lost. When they are not, the file has to be decoded and encoded again, and that step does cost a little quality.

Is it safe to convert MP4 files online?#

Yes, because nothing is uploaded. FileFlip converts MP4 files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What MP4 to MKV actually does to the file#

Converting MP4 to MKV runs on WebCodecs and FFmpeg, usually downloads nothing, falling back to 30.8 MB of WebAssembly if your browser cannot encode these codecs itself, copies the streams through when the codecs fit and re-encodes when they do not.

EngineWebCodecs and FFmpeg
Conversion pathOne step: MP4 → MKV
Downloaded to your browserNothing in most browsers, or 30.8 MB if yours cannot encode these codecs itself
QualityLossless when the codecs fit, lossy when they do not
You get backOne file
Where it runsIn a background worker, so the page stays responsive

What survives the conversion

What is in the fileThis conversionWhy
Encoded streamsSometimesSurvives for some files and not others.

Worth knowing before you start:

  • the FFmpeg fallback is an LGPL build, so a re-encode produces MPEG-4 Part 2, VP8, VP9, or Theora rather than H.264 or H.265
  • whether the browser can do this without FFmpeg depends on the codecs it exposes through WebCodecs
  • the encoded streams are copied when the file's codecs fit the target container, and re-encoded when they do not

What is an MP4 file?#

An MP4 file holds video, audio, subtitle and chapter tracks together in the MPEG-4 Part 14 container, the structure ISO standardised from Apple's QuickTime format and the way most video is stored and shared today.

Choose MP4 when the file has to play somewhere you do not control, which covers anything uploaded, emailed or handed to another person.

Convert an MP4 to something else when the destination is not a player: pulling out the audio, making a GIF, or moving into Matroska to keep several subtitle and audio tracks in one file.

What is an MKV file?#

An MKV file is a Matroska container built on the EBML binary format, and it can hold any number of video, audio, subtitle and attachment tracks, encoded with essentially any codec, in a single file.

Use MKV when a video needs multiple audio tracks, several subtitle languages, or a codec MP4 doesn't accommodate, and it's staying on software you control, like a media server or a desktop player.

Convert MKV to MP4 when a file needs to play on a device that never added MKV support, since that's usually a hardware or software gap rather than anything wrong with the codec inside.

MP4 to MKV questions people ask#

Does converting MKV to MP4 lose quality?

Converting MKV to MP4 loses nothing at all when the video is already H.264 or H.265 with AAC audio, because the streams are lifted out of one container and dropped into the other untouched. That is a remux, and it runs at disk speed. Quality only drops when the codec has to change, for example a VP9 video that MP4 players do not expect, which forces a full re-encode.

Is MP4 a video format or a codec?

MP4 is a container, not a codec. It is a wrapper holding video, audio and subtitle streams side by side, and the codec inside decides whether a device can actually decode it. Two MP4 files can behave completely differently: one holding H.264 plays everywhere, one holding H.265 or AV1 may not play at all on older hardware.

Why won't my MP4 file play?

An MP4 that refuses to play is almost always carrying a codec the player cannot decode rather than being damaged. H.265 and AV1 are the usual culprits, since both need recent hardware or software support, and some MP4s from streaming services are encrypted and will only open in an authorised app. Re-encoding the video to H.264 fixes nearly all of these.

What is the difference between MP4 and MOV?

MP4 was standardised from Apple's QuickTime file format, which is what a MOV file uses, so the two share the same underlying atom structure. In practice this means an H.264 video in a MOV and the same video in an MP4 are the same bytes in a slightly different wrapper, and converting between them is a fast remux rather than a re-encode. MOV also carries codecs MP4 does not, ProRes being the common one.