Skip to content

Convert MKV to MP4 in your browser

Convert Matroska MKV videos to H.264 MP4 for phones, TVs, and editors, without uploading them.

One-click sharing presets: Discord / Gmail / WhatsApp / Outlook and Yahoo Mail / Telegram / Slack / iMessage / X (Twitter)

Video compression workspace

Drop a video or browse

MP4, MOV, AVI, WebM, MKV & more

Files stay on your device
Settings
CRFLower = higher quality
26
23–26 recommended · 0 = lossless · 51 = smallest
Speed presetFaster = larger file
Resize1.000 = original size
Audio bitrateAAC codec
Compression
Progress0%

Buy Me a Coffee

To convert MKV to MP4, select the MKV file and click Compress. Localsquash re-encodes the main video and audio streams to H.264/AAC MP4 locally in your browser, with no upload or watermark.

How to convert MKV to MP4

  1. Select your MKV file.
  2. Optionally trim, crop, or lower the resolution.
  3. Keep CRF 23–26 for a balance of size and quality, or lower it for more detail.
  4. Click Compress to export an H.264 MP4 and download it.

Why convert MKV to MP4?

Device support

Many phones, TVs, and editors do not open MKV. MP4 with H.264 is the most widely supported combination.

Streams

One video stream and one audio stream are converted. Subtitle tracks and extra audio tracks are not carried over.

Large files

MKV files are often long. Trim, or lower the resolution, to reduce encoding time and memory use in the browser.

Technical specifications

Localsquash video processing specifications
EngineFFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab
InputsMP4, MOV, WebM, MKV, AVI (decodable by the bundled FFmpeg build)
Video outputH.264 (libx264, yuv420p) in MP4 with faststart
Audio outputAAC; can be removed in target-size mode
Quality controlCRF 0–51 with x264 presets from ultrafast to veryslow
Size controlTwo-pass target size in MB (1,000,000 bytes) or MiB (1,048,576 bytes); inputs below 2,000 MB
Not supportedHDR tone mapping, subtitle tracks, batch queues
MemoryLimited by the browser and device; phones fail sooner on large files
NetworkAbout 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent

How to verify nothing is uploaded

  1. Open your browser’s developer tools and select the Network tab.
  2. Select a file and wait until the engine status shows Ready.
  3. Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
  4. Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.

MKV to MP4 FAQ

Are MKV subtitles kept?

No. Only the main video and audio streams are exported. Use a desktop tool if you need to keep soft subtitles or multiple audio tracks.

Which codecs does the MP4 use?

H.264 (libx264, yuv420p) video and AAC audio with the moov atom moved to the start (faststart), which plays in browsers, phones, TVs, and editors. Choose Trim only to cut without re-encoding; that keeps the original container instead of MP4.

Is my MKV file uploaded?

No. The MKV file is decoded and re-encoded by FFmpeg WebAssembly inside your browser tab. Nothing is sent to a server, and there is no account or watermark.