Skip to content
I Hate Online Tools

MKV to Y4M

Convert MKV to Y4M in your browser. Nothing's uploaded.

Runs in this tab. The file stays here.

This runs in your browser. Nothing is uploaded. Longer clips take longer here than they would on a fast server. That's the trade-off for not sending the file.

Format hubs: MKV · Y4M · Convert

About MKV to Y4M

Converts MKV to Y4M in your browser. Matroska container. Decode and encode via ffmpeg.wasm. Output is Y4M. Nothing is uploaded.

MKV is matroska container. Decode and encode via ffmpeg.wasm. Y4M is yUV4MPEG2 raw video stream. This page is only that pair. It isn't a generic dump box that guesses the destination after an upload. If you have a different container, use that format's hub instead of forcing the file through the wrong decoder.

The clip is read into memory and converted with FFmpeg compiled to WebAssembly, loaded from this origin once (~30 MB) and then cached. You can open the network tab first: you should see this origin load, and on the first video or audio visit a local ffmpeg-core.wasm, not a POST of the file. After the page (and encoder, if this is media) has loaded, wifi can go off. That's the whole product, not a badge.

Y4M is a lossless or uncompressed target. It won't restore detail a lossy MKV file already threw away. It stores the current samples or pixels more honestly, usually in a larger file. That's useful when the next tool in a chain insists on Y4M, not when you're trying to “improve” a compressed original.

Related conversions sit on this same origin. MKV to another destination, or another source into Y4M, are separate pages so the titles stay specific. The MKV hub and the Y4M hub list every pair I actually ship. Missing pairs are missing because the encoder or decoder isn't here, not because they are paid.

Start from the MKV hub if you're leaving this format, or the Y4M hub if you need to arrive in it. Those pages are indexes, not upload forms. A generic dropdown still exists under Video convert and Audio convert when you would rather pick the destination after you drop the file. Stills use jSquash or canvas; clips and recordings share the same FFmpeg core as the rest of the media tools. You can disconnect after that core has loaded.

How to use MKV to Y4M

  1. 1Drop a MKV file. The in-browser encoder loads from this site the first time you open a video or audio tool.
  2. 2Click Convert. Encoding a long clip can take a while on a phone; that wait is local CPU, not an upload bar.
  3. 3Download the Y4M result. It was never on my disk.

What it won't do

  • Input is MKV (video/x-matroska,.mkv). A different container belongs on its own pair.
  • The encoder is GPL FFmpeg in WebAssembly, single-thread, from this origin. Exotic codecs inside a familiar extension can still fail.

Common questions

Does converting MKV to Y4M upload the file?

No. This is a static page. The clip stays in the tab. The network panel should show this origin, not a POST of your MKV file.

Will MKV to Y4M look or sound the same?

Pixels or samples that are already in the MKV file are kept. Anything MKV already discarded is gone. Y4M won't invent it back.

Why is there a separate MKV to Y4M page instead of one converter?

Searchers type this pair. A generic convert tool with a dropdown is easy to build and easy to bury. Each pair is its own URL, its own title, and a file picker that expects MKV. The generic pickers still live at video convert and audio convert if you want a dropdown.

Can I convert Y4M back to MKV on this site?

Yes: that's /convert/y4m-to-mkv. Going back and forth through a lossy codec twice is how you make mud. Do it once if you must.

Related tools

Why this one doesn't upload your file

There is no server to upload to. This page is a static file, and the work happens in your browser using the same graphics and WebAssembly code that renders every other site you visit. Your file is read from disk into memory, processed, and handed back as a download. Once the page has loaded you can disconnect from the network entirely and it keeps working. The longer explanation

Install the app