Initializing... drag & drop files here
Supports: AVI
AVI is a Microsoft container introduced in November 1992 as part of Video for Windows, built on the RIFF specification that Microsoft and IBM published in 1991. MP4 (formally ISO/IEC 14496-14:2003) is the modern ISO Base Media File Format derivative used by virtually every camera, phone, browser, and streaming platform shipped in the last decade. Re-muxing or re-encoding an AVI to MP4 trades a 30+ year old container for one that handles modern codecs, streaming-friendly indexing, soft subtitles, and chapters.
<video> tag, Quick Look on macOS, the Photos app on iPhone, and most smart TVs reject AVI; MP4 with H.264 + AAC plays everywhere a video tag is supported.mov_text subtitles, multiple audio tracks, and chapter markers, so a single file can ship dubs and captions together.| Property | AVI | MP4 |
|---|---|---|
| Introduced | Microsoft, November 1992 (RIFF-based) | ISO/IEC 14496-14:2003 |
| Container family | RIFF (chunk-based, indexed at end) | ISO Base Media File Format (atom/box-based) |
| Typical video codecs | DivX, Xvid, MS MPEG-4, MJPEG, uncompressed | H.264, H.265/HEVC, AV1, MPEG-4 ASP |
| Typical audio codecs | PCM, MP3, AC-3 | AAC, AC-3, MP3, ALAC |
| Soft subtitles | Not in the spec (requires hacks) | Yes (mov_text, TTML) |
| Multiple audio tracks | Awkward, codec-dependent | Native, well-supported |
| Chapters | Not supported | Native |
| HTTP progressive download | Poor (index at EOF by default) | Excellent (moov can be at start via +faststart) |
Browser <video> playback |
Not supported by any major browser | Chrome, Firefox, Edge, Safari 14.1+ |
| Best use today | Legacy reading only | Default for sharing, streaming, archiving |
| AVI video codec | Era | XConvert handling | Notes |
|---|---|---|---|
| DivX (3-6) | 1999-2010 | Re-encoded to H.264/H.265 | Most common AVI in the wild; MPEG-4 ASP family |
| Xvid | 2001-present | Re-encoded to H.264/H.265 | Open-source DivX competitor; nearly identical decoder |
| Microsoft MPEG-4 v1/v2/v3 | 1998-2001 | Re-encoded to H.264 | Often the culprit when a Windows-era AVI fails on Mac |
| MJPEG (Motion JPEG) | 1990s camcorders | Re-encoded; large size drop | Each frame is a standalone JPEG, so bitrates are huge |
| HuffYUV | Lossless archival | Re-encoded to H.264 | Pristine source; safe to use CRF 18 for near-lossless MP4 |
| Uncompressed YUV/RGB | Capture cards | Re-encoded to H.264/H.265 | Often hundreds of MB per second; HEVC slashes size |
| H.264 in AVI | 2008+ (rare) | Falls back to re-encode | AVI's index doesn't support B-frames cleanly; remux not always safe |
Any time you re-encode from one lossy codec to another (Xvid to H.264, for example) you incur some generational loss, but at the default Very High preset the difference is generally imperceptible. If you want zero perceptual loss, switch to Constant Quality and set CRF to 17-18; the result will be visually indistinguishable from the source while still being substantially smaller than the AVI.
Usually no. Most AVI files use DivX/Xvid/MPEG-4 ASP or MJPEG, which the MP4 container does not accept verbatim — the codec has to be transcoded. In rare cases where the AVI already holds H.264, AVI's index format still doesn't cleanly support B-frames or VFR, so a clean remux often fails. The safest path is a single quality re-encode to H.264 or H.265.
H.264 if you want it to play everywhere by default — every browser, every iPhone since 2010, every Android device, every smart TV. H.265 if file size matters more than reach: it cuts size 25-50% further, but Firefox on desktop still does not decode HEVC, and some older Android devices struggle. For compressing the MP4 further after conversion, H.265 is the better re-encode target.
Yes. Both video and audio tracks are converted. The audio is re-encoded to AAC by default — the standard MP4 audio codec, more efficient than the MP3 or PCM commonly found in AVI. If your AVI has 5.1 AC-3 audio (common on DVD rips), pick AC-3 in the audio codec dropdown to keep the surround layout instead of folding it to stereo AAC.
Yes. XConvert decodes all common AVI video codecs including DivX 3-6, Xvid, Microsoft MPEG-4 v1/v2/v3, MJPEG, HuffYUV, and uncompressed YUV/RGB. The source codec is detected automatically; you just pick the output quality.
The output bitrate exceeds the source. AVI files using highly compressed Xvid at low bitrates can be smaller than a re-encode at the default Very High preset. Either lower the quality preset, switch to Constant Quality with a higher CRF (28-32), use Specific file size to target a percentage of the source, or once the MP4 is saved you can compress the video down to a target size.
Yes. Under the Trim section switch from Unchanged to Time Range and enter start/end timestamps in HH:MM:SS.mmm format. For dedicated cut-only work without re-encoding the whole timeline, the video cutter tool is faster.
The Conversion runs on our servers. Files are not retained after you close the tab and there is no account or sign-up required. There's also no watermark, file count limit, or paid tier for AVI to MP4 conversions.
If you need the opposite direction — sending a clip to legacy Windows software that only reads AVI — use MP4 to AVI. For other container moves see AVI to MKV (open-source container, better for archival) or MKV to MP4 (mobile-friendly output).