MKV to WebM Converter: VP9 and Opus for the Web | MiConvert

MKV to WebM Converter

Get a WebM with VP9 video and Opus audio that plays in a standard HTML5 video element. Every file is re-encoded at a fast setting, so the WebM is not guaranteed to be smaller than your MKV, and subtitle tracks are not carried over.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
MKV → WEBM

MKV and WebM: same family, different rules

MKV is Matroska, an open container that can hold almost any codec, along with several audio tracks, subtitle streams and chapters. That flexibility is why rips, game captures and OBS recordings often end up as .mkv files. It is also why browsers handle MKV unevenly: depending on the codecs inside, a video element may refuse the file or play the picture without the sound.

WebM is a stricter profile of Matroska designed for the web. It allows only VP8, VP9 or AV1 video and Vorbis or Opus audio, and current desktop versions of Chrome, Firefox, Edge and Safari play it. Most MKV files carry H.264 or HEVC, so getting to WebM means re-encoding the picture, not just renaming the file.

Our converter does this with ffmpeg on MiConvert's servers. The video is encoded to VP9 by libvpx in realtime mode at the fastest speed setting. No target bitrate is set, so the encoder uses its default constant quality. Audio becomes Opus at 96 kbps and 48 kHz. There is no copy step: even an MKV that already holds VP9 and Opus goes through a full encode.

Resolution, frame rate and length carry over, and the rotation flag on a phone clip is applied so portrait footage plays upright. Several things do not survive. Subtitle tracks are removed, only one audio track is kept, and any alpha channel is dropped. 10-bit and HDR depth are also lost, because the output is ordinary 8-bit 4:2:0 video, and HDR recordings may look dull without tone mapping.

These settings favor speed over compression, so the WebM can end up larger than an efficient H.264 MKV. The page fits people who need a WebM specifically, such as a developer adding a clip to a site, or anyone posting to a forum or chat service that takes WebM uploads but not MKV. If you just want a file that opens everywhere, MKV to MP4 is the more common conversion. To shrink a video, use our Compress tools.

Converting an MKV to WebM

  1. Check which tracks matter. Only one audio track is kept (in our tests, the one marked default) and subtitles are dropped. If your file has several audio tracks, set the right default in a tool such as MKVToolNix before uploading.
  2. Make sure the MKV fits your plan's per-file limit: 50 MB as a guest, 100 MB with a signed-in account, 200 MB on Plus and 1 GB on Pro.
  3. Upload one or more .mkv files. WebM is preselected as the output.
  4. Start the job and leave the tab open. VP9 encoding is heavier than a remux: short clips take seconds, and long or HD files take noticeably longer. If the page stops waiting, the server may still finish, and signed-in users can ask for an email when the file is ready.
  5. Download the .webm, which keeps your original file name, and test it in the browsers you target before publishing.
  6. Serve it with the video/webm MIME type. For visitors on older Apple devices, keep an MP4 as a second source in the same video element.

What happens to your MKV

  • VP9 video from libvpx with row-based multithreading, encoded in realtime mode.
  • Opus audio at 96 kbps, resampled to 48 kHz.
  • 8-bit 4:2:0 pixel format, which hardware and software VP9 decoders widely support.
  • Rotation applied, so vertical phone footage stays vertical.
  • ffmpeg decoders for H.264, HEVC, VP9 and AV1 are installed, covering the codecs most MKV files use.
  • Several MKVs in one go: 10 per batch for guests and signed-in users, 25 on Plus and 50 on Pro, with each output named after its source.

Video Tutorial

Watch this step-by-step tutorial to learn how to convert MKV files to WEBM format online for free using MiConvert.com. No software installation required.

MKV to WebM questions

What is the difference between MKV and WebM?

WebM is built on Matroska, so the container structure is nearly the same. The difference is what each allows inside. MKV takes almost any video, audio or subtitle codec, plus chapters and attachments. WebM limits itself to VP8, VP9 or AV1 video and Vorbis or Opus audio, and that short list is what lets browsers commit to playing it.

Will my WebM be smaller than the MKV?

Not reliably. We encode at VP9's fastest setting with no bitrate target, and in our own testing a short H.264 file came out bigger as WebM. If size is the goal, run the video through a compressor, or keep it as H.264 in MP4.

Does the conversion lose quality?

Yes, some. Every file is decoded and encoded again with a lossy codec, including MKVs that already contain VP9, and there is no quality or bitrate setting to raise. The loss tends to show first in fine detail and dark gradients.

Are subtitles and multiple audio tracks kept?

No. Subtitle tracks are removed, and only one audio track is written. If you need captions on the web, extract the subtitles to a separate file with a tool such as MKVToolNix, convert them to WebVTT, and attach them with a track element.

Does WebM output keep transparency?

No. The output pixel format has no alpha channel, so any transparency in the source is flattened. A transparent VP9 WebM has to be made with a desktop encoder set to the yuva420p pixel format.

How do I convert MKV to WebM with ffmpeg on Linux?

Our settings correspond to: ffmpeg -i input.mkv -c:v libvpx-vp9 -row-mt 1 -deadline realtime -cpu-used 8 -c:a libopus -sn -dn -pix_fmt yuv420p output.webm. For a smaller file at the cost of encoding time, replace the speed options with -crf 31 -b:v 0 -deadline good -cpu-used 2. On your own machine you also choose which tracks to map, and our file size limits don't apply.

Can I convert WebM back to MKV online?

Not on MiConvert. WebM to MKV is not one of our conversions, although WebM to MP4, MOV and AVI are. Because WebM is already Matroska, the command ffmpeg -i input.webm -c copy output.mkv rewraps it locally in moments without touching the picture.

Where is my MKV processed, and how long is it kept?

It is processed on our servers, not in your browser, and uploads arrive over HTTPS. The MKV is deleted when its final conversion attempt finishes. The WebM is available for about 4 hours, then deleted automatically. Until then, anyone with the random download link can fetch the file, so keep the link private. We log file names, sizes and outcomes, and signed-in accounts keep a conversion history entry until the account is deleted.