How to Compress an MKV Video Online
Compress a saved OBS recording or other Matroska (.mkv) video and export it as MP4 in three steps in your browser.
Select Your MKV Video File
Choose a .mkv video file from your computer or phone, or drag and drop it directly into the browser workspace.
Choose Quality (Preset or CRF 18–45) & Resolution
Select High, Medium, or Low, or choose Customize and set the Custom CRF slider from 18 to 45. Keep Original or choose an available resolution preset.
Compress Locally and Download MP4
Start compression in your browser. When it finishes, compare the MKV and MP4 file sizes, then click Download to save the H.264 MP4.
Precision Controls for Compressing Large MKV Files
Adjust quality and resolution to balance visual detail and file size in your MKV recordings.
One-Click Quality Presets (High, Medium, Low)
High uses CRF 23, Medium uses CRF 30, and Low uses CRF 40. Each preset also sets the encoding speed and AAC bitrate.
Custom CRF Fine-Tuning (18–45)
Choose Customize to set the Constant Rate Factor (CRF) from 18 to 45. For the same recording and resolution, lower values generally retain more detail and higher values tend to produce smaller files.
Original Resolution and Presets
Choose from 1080p, 720p, 480p, or 360p. When the browser detects the source video height, it disables higher presets. Choose Original to skip scaling, including when the source height is unavailable.
H.264 MP4 Export
The compressor re-encodes the first video stream as H.264 and any audio tracks as AAC in a widely supported MP4 file. Separate subtitle tracks and additional video streams are omitted.
Custom CRF Settings for OBS Recordings and HD MKV Files
Use these ranges as starting points for the Custom CRF slider when compressing OBS recordings, gameplay clips, or HD archives.
| Custom CRF Range | Visual Detail and File Size | MKV Use Cases | Suggested Resolution |
|---|---|---|---|
| 18–22 | Favors fine detail and tends to produce larger files within the custom range | 1080p OBS gameplay captures at 60 fps or demos with small text | Original or 1080p |
| 23–28 | A starting point for balancing visual detail and file size | Sharing recorded demos or gameplay highlights | Original or 720p |
| 29–35 | Typically produces smaller files with some loss of fine detail | Short gameplay clips or tutorials for email or chat uploads | 720p or 480p |
| 36–45 | Favors smaller exports where fine details matter less | Long static screen recordings, webinars, or review copies | 480p or 360p |
Choose an available resolution preset or keep Original. Compare the source and output sizes after compression to see whether the result fits your upload limit.
How Does Local Browser MKV Compression Work?
CompressFly uses WebAssembly to process MKV videos in your browser. Your MKV stays on your device. The file size you can process depends on your device and available browser memory. The resulting MP4 can be larger or smaller than the source, depending on the recording and settings.
Use MKV to MP4 to set 24, 25, 30, 50, or 60 fps, choose 22.05, 44.1, or 48 kHz, or select Mono or Stereo. MP4 to MKV re-encodes an MP4 as a new Matroska file. Use Extract Audio from Video to save the first audio track directly from the original MKV, or Video Compressor to compress other video formats.
What "processed locally" means
- Your MKV video stays on your device
- Video and audio encoding run locally in your browser
- Compressed MP4 files save straight from your browser with no watermarks
MKV Compressor FAQ
How do I compress an MKV video online for free?
Select or drag and drop a .mkv file into the browser workspace. Pick High, Medium, or Low, or choose Customize to set a CRF from 18 to 45. Keep Original or select an available resolution preset. Compress the video, compare the file sizes, and download the MP4.
Why does CompressFly's MKV Compressor output an MP4 file instead of MKV?
The compressor outputs MP4 so your recording is easier to play and share, including in apps that accept MP4 and lack MKV support. It encodes the first video stream as H.264 and any audio tracks as AAC. Separate subtitle tracks and additional video streams are omitted. File size depends on your recording and compression settings.
How do the High, Medium, Low presets and custom CRF 18–45 controls work?
High uses CRF 23, Medium uses CRF 30, and Low uses CRF 40. The presets also set the encoding speed and audio bitrate. Choose Customize to set a Constant Rate Factor (CRF) from 18 to 45. At the same resolution, lower values generally retain more detail and higher values tend to produce smaller files.
Can I shrink a large 4K or 1080p OBS MKV recording by lowering its resolution?
Yes—lowering the resolution can reduce file size. The presets are 1080p, 720p, 480p, and 360p. When the browser detects the source height, it disables higher presets. Choose Original to skip scaling, including when the source height is unavailable.
What is the difference between MKV Compressor and MKV to MP4?
MKV Compressor lets you choose a resolution and set video quality with High, Medium, Low, or Custom CRF 18–45. MKV to MP4 offers 24, 25, 30, 50, or 60 fps, audio sample rates of 22.05, 44.1, or 48 kHz, and Mono or Stereo output.
Can I batch compress multiple MKV files or import a folder at once?
No. Each compression job handles one video file. The largest MKV recording you can process depends on your device and available browser memory. To compress several recordings, select and compress each file individually.
Are my large MKV videos uploaded to a server, and is this tool free?
No—your MKV stays on your device, and yes, it is free. Decoding and encoding run locally in your browser. There are no watermarks or daily limits, and you don't need an account.