How to convert AVI to MKV online
- 1
Add the AVI
Drag the .avi onto the box or tap to choose it.
- 2
It's moved into MKV
Your browser copies the video and sound into an MKV file. If that can't be done, it re-encodes the video instead.
- 3
Download the MKV
Click Download and add it to your library or media server.
AVI vs MKV: format overview
Audio Video Interleave
Microsoft · 1992
- Compression
- lossy
- Transparency
- No
- ✓ Universal Windows compatibility
- ✓ Simple container format — widely supported
- ✗ Large file sizes (minimal compression)
Matroska Video
Matroska.org · 2002
- Compression
- lossy
- Transparency
- No
- ✓ Supports virtually any codec combination
- ✓ Multiple audio tracks and subtitles per file
AVI magic bytes: 52 49 46 46 xx xx xx xx 41 56 49 20
MKV magic bytes: 1A 45 DF A3
Why convert AVI to MKV?
Add an .avi above and an .mkv comes back. For most old AVI files, the video and sound are moved into the new file as they are, without re-encoding. That means no quality loss and almost the same file size. Your browser does the work, so the footage stays on your computer.
What we measured: - Xvid AVI: the video came out bit for bit the same, and the MP3 sound was kept as is. - MJPEG AVI (common from old cameras and capture cards): also bit for bit the same, with the uncompressed sound kept. - H.264 AVI: this one was re-encoded, with the sound turned into AAC. The picture scored 0.995 out of 1 on SSIM, so it looks the same, and the file came out smaller. It took longer: 7.5 seconds for 10 seconds of 720p.
Why move AVI to MKV? Media servers like Plex and Jellyfin, and players like VLC, handle MKV well. MKV can also hold extra sound tracks and subtitles if you add them later with a tool such as MKVToolNix.
Need something else? For a file that plays on phones and in browsers, use AVI to MP4. To go the other way, use MKV to AVI.
Quality & file size: AVI to MKV
Three AVI files we converted on formatdrop.com: - 10-second 720×480 Xvid AVI with MP3 sound, 4.70 MB → 4.68 MB MKV. The video was identical, frame for frame. - 10-second 640×480 MJPEG AVI with uncompressed sound, 10.1 MB → 10.1 MB MKV. The video was identical, and the sound stayed uncompressed. - 10-second 1280×720 H.264 AVI with MP3 sound, 3.74 MB → 3.11 MB MKV. Re-encoded: H.264 video with AAC sound, SSIM 0.995.
Same size in pixels and same length in every test.
The first two took about 1.6 seconds each. Video never gets a watermark. Each MKV counts as one of your 2 free files a day.
Frequently asked questions
Does converting AVI to MKV lose quality?
Will the MKV be smaller?
Why can't VLC play my AVI file?
Can I add subtitles to the MKV here?
Your AVI file never leaves this tab — FormatDrop has no endpoint that receives file data. How it works