Step-by-step instructions
- 1
Lossless remux with FFmpeg (no quality loss)
Most AVI files contain DivX, Xvid (MPEG-4 Part 2), or H.264 video with MP3 audio. Remux these into MKV without re-encoding: `ffmpeg -i input.avi -c copy output.mkv`. This is instant regardless of file size, lossless, and just changes the container. If video or audio is wrong, try full re-encoding instead.
Go to converter - 2
Re-encode to H.264 MKV (better compression)
To re-encode to modern H.264: `ffmpeg -i input.avi -c:v libx264 -crf 20 -c:a aac output.mkv`. Or H.265 for smaller files: `ffmpeg -i input.avi -c:v libx265 -crf 24 -c:a aac output.mkv`. Re-encoding takes longer but produces much smaller files with modern codecs.
- 3
Use MKVToolNix for lossless remuxing (GUI)
Download MKVToolNix (mkvtoolnix.download — free, all platforms). Open MKVMerge GUI. Drag in your AVI file. MKVToolNix shows all tracks (video, audio, subtitles). Deselect any unwanted tracks. Click Start Multiplexing. MKVToolNix remuxes the AVI into MKV — lossless, fast, and reliable.
- 4
Add subtitles during conversion
One major advantage of MKV: you can embed SRT subtitles. With FFmpeg: `ffmpeg -i input.avi -i subtitles.srt -c copy -c:s srt output.mkv`. With MKVToolNix: drag the SRT file into the source panel alongside the AVI — both are muxed into the MKV together. The subtitles become part of the file without affecting video or audio quality.
Why convert AVI to MKV?
MKV solves AVI's biggest limitations: multiple audio tracks, embedded subtitles, chapter markers, and any codec. Converting your AVI library to MKV future-proofs it while potentially reducing file size significantly if you re-encode to H.264 or H.265.
Your files never leave your device
FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.
Frequently asked questions
Should I remux or re-encode AVI to MKV?
What codec do old AVI files usually have?
Does MKV play on smart TVs and media players?
No account. No upload. Works in any browser.