Compress MKV

Re-encodes an MKV to H.264 at a lower quality target to shrink it, keeping the .mkv container.

What this does

This decodes your MKV and re-encodes the video stream to H.264 at the quality target you pick, then writes the result back into a Matroska (.mkv) container. The audio is re-encoded to AAC. A lower quality target spends fewer bits per frame, which is what makes the file smaller.

How much it shrinks depends on the source. A file that is already heavily compressed has little left to remove, so re-encoding it can keep it about the same size or even grow it slightly. Footage with a high bitrate has the most to gain. Re-encoding is lossy: each pass discards detail, so compress from the original whenever you can.

How it works

  1. 1Drop your MKV (or any video your browser can open) or pick it from your device.
  2. 2Choose a compression level: smaller file, balanced, or higher quality.
  3. 3Click Compress, check the before/after size, then download the MKV.

Built with open source

  • Mediabunny Converts and edits video and audio in the browser via WebCodecs. Add-on encoders cover MP3, AAC, and FLAC. · MPL-2.0

Frequently asked questions

Related tools

All Compress