MKV to AVI Converter

Turn an MKV video into an AVI with MPEG-4 video and MP3 sound, in your browser.

or drop files here

MK

MKV Format

Matroska video

An open, free container format that can hold unlimited video, audio, picture and subtitle tracks in one file. WebM is a subset of Matroska.

  • Open standard
  • Multiple audio and subtitle tracks
  • Chapters and metadata
  • Supports almost any codec
AV

AVI Format

Audio Video Interleave

A container introduced by Microsoft in 1992 and based on RIFF. It interleaves video and audio and can hold many codecs.

  • RIFF-based container
  • Many codecs
  • Limited support for modern features
  • Legacy format

How to convert MKV to AVI

Follow these steps to convert MKV to AVI online.

    1

    Choose your MKV file, or several at once.

    2

    Wait while the converter turns each file into AVI.

    3

    Download each new AVI file. Your original file isn't changed.

What to know before converting MKV to AVI

  • The video is re-encoded as MPEG-4 Part 2 tagged Xvid; nothing is copied through.
  • The sound is re-encoded as MP3 at 96 kbps.
  • The longer side is capped at 1920 pixels and the frame rate at 30 fps.
  • Odd widths and heights are rounded down to even numbers, losing 1 pixel.
  • The page has no audio track selector.

Understanding MKV and AVI

What is an MKV file?

An MKV file is a Matroska video. Matroska is an open container format whose structure is written in EBML, itself a binary relative of XML, and it grew out of the earlier MCF project. One MKV can hold several picture, sound and subtitle streams together with chapter marks and descriptive tags.

Matroska fixes neither the codec nor the quality. What sits inside is the author's choice, so two MKV files can call for very different decoders and look very different on the same player.

You find MKV files in video collections, Blu-ray rips and downloads with several audio languages or subtitle tracks. WebM is a subset of Matroska, and IANA registers video/matroska for Matroska video.

Programs that open MKV files

  • Windows, Mac and Linux: mpv plays MKV with selectable audio and subtitle streams. ffplay, which ships with FFmpeg, reads the container through FFmpeg's Matroska demuxer and plays the video and audio inside.
  • Windows: Windows Media Player opens MKV only with codecs added.
  • Mobile: VLC for Android plays whatever its decoders support, which depends on the streams in the file, and VLC for iOS plays most movie formats stored on the device or on the network.

MKV and AVI compared

  • Extensions and media types: .mkv and video/matroska; .avi and video/x-msvideo, one commonly used label.
  • Structure: Matroska is built on EBML and holds many streams, chapters and tags. AVI is a RIFF file with a header for dimensions and frame rate and another chunk for the media.
  • Codecs: Matroska takes almost any codec. AVI names its streams with FOURCC codes, and its video can be stored raw or compressed, with or without loss, so the .avi ending says nothing about quality.
  • Size limits: the original AVI format has size restrictions that differ from those of the later OpenDML extension.
  • Modern features: AVI has limited support for them.

This conversion picks the codecs for you. The MKV is decoded and its video and sound are encoded again, which adds another lossy pass to both. Video becomes MPEG-4 Part 2 carrying an Xvid tag and no B-frames, and sound becomes 96 kbps MP3. Any frame larger than 1920 pixels in either direction is reduced, a frame rate above 30 fps is lowered to 30 by dropping frames, though the running time stays the same, and 1 pixel is cut from any odd width or height.

You cannot choose a stream here. If the MKV holds several audio tracks, the one FFmpeg selects by default is the one you get.

Other ways to convert MKV to AVI

  • FFmpeg (command line): run ffmpeg -i feature.mkv -c:v mpeg4 -c:a libmp3lame feature.avi. FFmpeg's format list shows Matroska and AVI as both readable and writable. Add explicit -map options when you need a particular audio language.
  • Avidemux: open the MKV with the Open button, set AVI in the Output Format section on the left, choose the video and audio encoders, then Save. Its output-format table lists AVI with MPEG-4 ASP video among many codecs, and calls MPEG-1 and MPEG-2 in AVI highly problematic.
  • Prism for Windows: choose Add File(s), select AVI in Output Format, check Encoder Options, choose Save to Folder and press Convert. Prism lists MKV as an input only when the Matroska DirectShow filter is installed.

Problems with MKV files

  • Wrong language or subtitles in your player: you picked the wrong stream. The same MKV can hold several, so switch tracks in a player such as mpv.
  • Seeking is slow or jumps: Matroska keeps its seek index (the cues) apart from the media, so a file with that index missing or damaged is harder to skip around in.
  • The file opens but shows nothing or has no sound: the container was recognized but a codec inside it was not. Try another player, such as VLC.
  • The file is cut short or damaged: the AVI is generally still produced, only shorter, and it stops at the point where FFmpeg could no longer read. Copy or download the MKV again if you need all of it.
  • The file is very large: the page sets no size limit; a long film mostly means a longer wait on your device.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert MKV to AVI?

Does the converter just change the container?

Which codecs end up inside the AVI?

Will a 4K MKV stay 4K?

Why did my video lose one pixel in width or height?

What frame rate does the AVI have?

Can I choose the audio track or language for the AVI?

Why is the sound lower quality than in my MKV?

Can I convert more than one MKV in a single go?

What does an "FFmpeg failed with exit code" error mean?