Free converter · Lossy re-encode

Convert AVI to MKV

Runs in your browserNo uploadUp to 100 MB

Short answer

Drop your AVI file into the converter below and download the MKV file. It runs in your browser with FFmpeg, for files up to 100 MB; nothing is uploaded. The file is re-encoded to H.264 video and AAC audio in Matroska. Re-encoding takes longer than a container swap and costs some quality; how much depends on the clip and on the quality setting, and at the converter's default setting the loss can be visible, so keep the original.

Maximum file size: 100 MB. The first conversion loads a ~30 MB converter engine, once per visit. Nothing is uploaded - conversion runs on your device.

Re-encode to H.264/AAC inside MKV. · Lossy re-encode · Browser-side via FFmpeg WASM - nothing uploaded.

Key takeaways

  • The 7.89 MB AVI file was re-encoded and became 3.81 MB (-51.7%).
  • The result holds: Video: h264 1920x1080; Audio: aac 48000 Hz 2 ch.
  • In your browser the same conversion of a 3 second clip took 27.8 seconds on the single-thread engine; natively, the 10 second clip took 4.7 seconds.
  • The picture scored SSIM 0.998 against the source (1.0 would be identical).
  • Next to it: AVI to AAC (-97.9%), AVI to FLAC (-79.8%), AVI to GIF (+676%).

Measured: AVI to MKV

The converter's own ffmpeg arguments, run on a 10 second 1920 × 1080 excerpt of Big Buck Bunny (an animated film, not camera footage) saved in AVI. The browser column is the same arguments on the single-thread WebAssembly core with a 3 second excerpt, in a headless run; your device will differ. Results describe this clip and these encoders.

CheckResult
ModeRe-encoded
InputAVI, 7.89 MB
OutputMKV, 3.81 MB (-51.7%)
Output streamsVideo: h264 1920x1080; Audio: aac 48000 Hz 2 ch
Time, native, 10 s clip4.7 s
Time, browser engine, 3 s clip27.8 s
Picture similarity (SSIM)0.998

A re-encode decodes and encodes every frame or sample, so the time grows with the length of the file.

AVI vs MKV

AVIMKV
Full nameAudio Video Interleave (Microsoft)Matroska
What is insideOlder codecs such as MPEG-4 Part 2 (DivX, Xvid) with MP3 audioAlmost any codec, plus several audio and subtitle tracks
CompressionDepends on the codec insideDepends on the codec inside
Best forOld Windows software and media players that need itArchiving and playback in desktop players; most social platforms do not list it

What you get

H.264 video and AAC audio in Matroska. Re-encode to H.264/AAC inside MKV.

Where you can upload MKV

PlatformMKVWhat the platform documents
YouTube ShortsUnclearMKV is absent from YouTube's published upload-format list.
TikTokNot acceptedMKV is not listed for TikTok Content Posting API uploads.
Instagram ReelsNot documentedMKV is not in Instagram's published video specs, which list MOV and MP4. Convert to MP4 before uploading.

Planning a bigger file

These are estimates scaled up from the 10 second clip. Real files differ with content, resolution and bitrate, so treat them as an order of magnitude, not a promise.

Length of the video or recordingInput size (like ours)MKV sizeTime in your browser
1 minute47.09 MB22.75 MB9.3 minutes
10 minutes470.94 MB227.51 MB93 minutes
1 hour2825.62 MB1365.09 MB556 minutes

An AVI file of this kind reaches the 100 MB limit of the converter after about 2.2 minutes; converting it would take roughly 21 minutes on the single-thread engine, and the MKV would be about 50.66 MB.

AVI and MKV next to their neighbors

The same clip through other conversions with the same source or the same target.

ConversionHowSize changeTime (native)
AVI to MKVRe-encode-51.7%4.7 s
AVI to AACRe-encode-97.9%0.30 s
AVI to FLACRe-encode-79.8%0.11 s
AVI to GIFRe-encode+676%5.4 s
AVI to M4ARe-encode-97.9%0.31 s
AVI to MOVRe-encode-51.7%4.7 s
AVI to MP3Re-encode-98.0%0.24 s

Choosing MKV

MKV: Matroska. Archiving and playback in desktop players; most social platforms do not list it. AVI: Audio Video Interleave (Microsoft). Old Windows software and media players that need it.

  • Keep your original: a re-encode is a copy of a copy.
  • If the destination states the format it accepts, use that and nothing else.

Questions people ask

Is this AVI to MKV converter free and private?

Yes. It is free, needs no account and runs entirely in your browser, so the file never leaves your device.

Will converting AVI to MKV reduce quality?

Some, because MKV is depends on the codec inside and the file is re-encoded. How much depends on the clip and on the quality setting, and at the converter's default setting the loss can be visible, so keep the original. For uploads, the platform re-encodes again anyway.

Is there a file size limit?

Files up to 100 MB. The first conversion downloads a converter engine of about 30 MB once per visit; larger files are better handled by a desktop app such as HandBrake or FFmpeg.

How do I convert AVI to MKV?

Choose the file in the converter above and download the MKV. It runs in your browser with no upload.

Will converting AVI to MKV reduce quality?

A little. The picture scored SSIM 0.998 against the source in our test.

Why did the file size change by -51.7%?

The target codec and settings decide the size. This 10 second clip came out at 3.81 MB.

How long does it take?

A 3 second clip took 27.8 seconds in the browser engine in our test; time grows with the length of the file.

How long will an AVI file of 100 MB take?

At the speed we measured in the browser engine, about 21 minutes for a file like our clip. Your device and the content will change it.

Is my file uploaded?

No. The conversion runs in your browser.

Is there a size limit?

Files up to 100 MB. The first conversion downloads a converter engine of about 30 MB once per visit.

More converters

Sources and how we checked

  1. MDN: Media container formats
  2. MDN: Web audio codec guide
  3. MDN: Image file type and format guide
  4. FFmpeg documentation: stream copy
  5. FFmpeg Documentation: ffmpeg (stream selection, -map, -c copy) (read 2026-10-09)
  6. MDN: Media container formats (read 2026-10-09)
  7. Blender Foundation: Big Buck Bunny (CC BY 3.0), the clip used for the measurements (read 2026-10-09)

Reviewed October 8, 2026. What the converter writes was measured with ffprobe on the same FFmpeg build your browser downloads; format descriptions follow MDN's media guides.