What happens when you convert MKV to XVID
- The video is re-encoded to MPEG-4 Part 2 video labelled Xvid, with MP3 audio, in an AVI container.
- Re-encoding in a browser is slow: expect several times the video's length for HD footage on a laptop, and longer on a phone. Short and low-resolution clips finish much sooner.
- The video is labelled with the XVID code that Xvid-compatible DVD players and TVs look for. Older players only play up to 720 by 576, so choose 480p for them.
How to convert MKV to XVID online
- Press "Choose MKV files" and select one or more files, or drag them onto the box. You can add files of any size your device can hold in memory.
- Adjust the settings if you need to: resolution and quality control the size of the result. The defaults suit most people.
- Press "Convert to XVID". The first audio or video conversion downloads the converter engine, about 32 MB, which your browser then keeps for next time.
- Save each XVID with its download button. Close the tab and every trace of the files is gone from memory.
Why convert MKV to XVID?
MKV files usually come from films and TV rips, OBS recordings and anime releases. People convert them to XVID because Xvid is what many older DVD players, TVs and media boxes play from a disc or USB stick, often only as Xvid in AVI.
In short, MKV is good at what it was made for, and XVID is the more practical choice when the file has to play, upload or edit somewhere else. Chrome and Edge play many MKV files; Safari and iPhones do not, while XVID does not play in browsers; plays in VLC and in DVD players with DivX or Xvid support.
How to convert MKV to XVID on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your MKV files in from File Explorer, and press Convert. Each XVID is saved to your Downloads folder. If you prefer a desktop program, VLC can also convert MKV to XVID: choose Media, then Convert / Save.
On a Mac
Safari, Chrome and Firefox all work. Drag the MKV files from Finder onto the drop zone and the XVID files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose MKV files. You can pick from Photos or from the Files app. The converted XVID appears in Files, in the Downloads folder; to put it in your photo library, open it there, tap Share and choose Save Video.
On Android
Open the page in Chrome, tap Choose MKV files and pick them from Files or your gallery. The XVID is saved to the Download folder, where any file manager can find it. Keep the screen on while a long video converts, because Android may pause a tab in the background.
Best settings for MKV to XVID
XVID is written as MPEG-4 Part 2 video labelled Xvid, with MP3 audio, in an AVI container. The Resolution setting is the one to reach for: 1080p keeps full HD detail, 720p is plenty for phones and laptops and roughly halves the size, and 480p suits email and old devices.
The quality levels map to the H.264 CRF scale where the target uses H.264, and to fixed high-quality settings for older codecs such as MPEG-2, MPEG-4 Part 2, WMV and Theora. Re-encoding always costs a little detail, so convert from the best copy of the MKV you have.
MKV vs XVID: the differences
| MKV | XVID | |
|---|---|---|
| Full name | Matroska video | Xvid video |
| Type | video | video |
| Created by | the Matroska project | the Xvid project |
| First released | 2002 | 2001 |
| Compression | Lossy | Lossy |
| Usually contains | almost any codec, often H.264 or H.265 with several audio and subtitle tracks | MPEG-4 Part 2 video encoded with Xvid, usually with MP3 or AC3 audio in an AVI file |
| In a browser | Chrome and Edge play many MKV files; Safari and iPhones do not | does not play in browsers; plays in VLC and in DVD players with DivX or Xvid support |
| Common uses | films and TV rips, OBS recordings and anime releases | films and TV episodes shared in the 2000s, and DVD players that play Xvid discs |
| MIME type | video/x-matroska | video/x-msvideo |
About MKV and XVID files
What is an MKV file?
MKV can hold unlimited audio tracks, subtitle tracks and chapters in one file, which is why film rips use it. OBS offers MKV recording because a crash part way through does not corrupt the whole file.
What is an XVID file?
Xvid is an open-source MPEG-4 Part 2 codec, the free rival of DivX, and its name is DivX spelled backwards. Most Xvid videos are AVI files; a file with the rare .xvid extension holds the same kind of video and converts the same way.
MKV to XVID not working? Common problems
- The conversion is slow. Audio and container changes take seconds, but re-encoding video runs on your own processor. Lower the resolution to 720p, close other tabs, and keep the device plugged in.
- The tab stops or reloads on a very large file. Browsers limit how much memory one tab can use, around 2 GB and less on phones. Split long recordings or convert them on a computer.
- The XVID will not play on an old device. Try the other formats offered for MKV, or choose 720p, which older players handle more reliably.
Convert MKV to XVID with ffmpeg
This converter runs ffmpeg inside your browser. If you would rather use the ffmpeg command line on your own computer, this command produces an equivalent XVID with the same kind of settings:
ffmpeg -i input.mkv -c:v mpeg4 -q:v 4 -vtag XVID -c:a libmp3lame -b:a 192k -f avi output.xvidReplace input.mkv with the name of your file. For a whole folder of MKV files, run the command in a loop, or drop them all on the converter above, which processes them one after another.
MKV to XVID converter FAQ
Will I lose quality converting MKV to XVID?
A little. Both formats are lossy, so re-encoding compounds the loss slightly. Keep the default quality or higher and the difference is rarely noticeable.
Why is the XVID a different size from the MKV?
Compared with video made with a modern codec such as H.264, the XVID is usually two to four times larger, because MPEG-4 Part 2 needs more data for the same picture. Choose 720p or 480p for a smaller file.
Are my MKV files uploaded anywhere?
No. The conversion runs inside this browser tab using ffmpeg compiled to WebAssembly, so your files stay on your device. You can disconnect from the internet after the page and converter engine have loaded and it still works.
Can I convert several MKV files to XVID at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open an XVID file?
XVID does not play in browsers; plays in VLC and in DVD players with DivX or Xvid support. XVID is common for films and TV episodes shared in the 2000s, and DVD players that play Xvid discs.
Is this MKV to XVID converter free?
Yes. There is no sign-up, no watermark and no limit on how many files you convert. The site is paid for by advertising, and because conversions run on your device there is no server cost per file.
Can I convert MKV to XVID on my phone?
Yes. The converter works in Safari on iPhone and iPad and in Chrome on Android. Long HD videos convert more slowly on a phone than on a computer.