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
- 1Drop your MKV (or any video your browser can open) or pick it from your device.
- 2Choose a compression level: smaller file, balanced, or higher quality.
- 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 →Video CompressorCompress a video to a smaller file in your browser. Re-encodes to H.264 at the quality level you pick.Image CompressorCompress JPG, PNG, and WebP images. Each one keeps its format. Defaults aim for the smallest file you can't tell apart from the original.PNG CompressorCompress PNG images. Color quantization cuts real size, and there's a lossless option when you need it.JPEG CompressorCompress JPG and JPEG images in bulk. A quality slider lets you trade size for sharpness.Compress MOVCompress a MOV (QuickTime) video to a smaller file in your browser. Re-encodes to H.264 at the quality level you pick.
