AVI to MP4 Converter
Upload Video
Drag & drop or click to select a video file
- Upload an AVI file.
- Optionally trim the time range.
- Click Convert and wait for completion.
- Download the MP4 file.
AVI is outdated - why convert it?
AVI is a 1990s container with poor compression, huge files, and few features. MP4/H.264 is the modern replacement: better quality at smaller sizes.
Legacy format, little or no modern compression, very large.
Modern standard, small and widely compatible.
New projects rarely need to produce AVI anymore.
Help
FAQ
Why is AVI conversion slow?ShowHide
Will the MP4 be smaller than the AVI?ShowHide
Does converting AVI to MP4 lose quality?ShowHide
What codecs do AVI files typically contain?ShowHide
Is my file uploaded?ShowHide
How to convert AVI to MP4
- Upload an AVI file.
- Optionally trim the time range.
- Click Convert and wait for completion.
- Download the MP4 file.
Privacy
Full guide
AVI to MP4 Converter
Convert legacy AVI videos to modern MP4 format for better device compatibility. Unlike MKV-to-MP4 conversions (which often succeed as a fast lossless remux), AVI almost always requires a real re-encode - this page explains why, and what to expect in terms of speed, size, and quality.
Why AVI files are so large: a 1992 container in a 2026 world
AVI (Audio Video Interleave) was introduced by Microsoft in 1992 as part of the Video for Windows API. Its design assumptions are frozen in that era:
- No modern codec support. AVI predates H.264 by 15 years and B-frame interleaving by over a decade. It can technically hold MPEG-4 ASP video (DivX/XviD), but the hacks required made the format brittle.
- Weak compression. The dominant AVI codecs - DivX, XviD, and older Indeo/Cinepak - encode at a fraction of H.264's efficiency. A 700 MB AVI "CD rip" from 2006 carries less video information than a 200 MB H.264 file today.
- No streaming, no chapters, no subtitles. The index sits at the end of the file, so playback cannot start until the whole file is available.
This is why AVI survived mainly as the output of 2000s-era DVD rippers, early digital cameras, and screen recorders - and why every modern player, phone, and editor treats it as a legacy import format at best.
Why AVI → MP4 means transcoding (usually)
A container swap (remux) copies the compressed video stream into a new wrapper without re-encoding - fast and lossless. It only works when the codec inside is natively at home in the target container.
For AVI this usually fails in practice:
- The codec itself is the problem. DivX/XviD are MPEG-4 Part 2 (ASP). MP4 can technically wrap ASP video, but virtually no hardware decoder or browser will play it - you would produce a file that is "MP4" in name only.
- AVI's timestamp model doesn't translate. AVI uses fixed frame durations while MP4 uses per-sample timestamps; B-frames in AVI require packed bitstream hacks that break stream-copy.
So this tool tries the fast copy path first (it sometimes succeeds for simple cases), detects failure, and falls back to a genuine H.264 transcode. That fallback is the expected path for AVI - which is why conversion here is slower than MKV or MOV conversions, and why the result is actually useful: an H.264/AAC MP4 that plays everywhere.
What the pipeline does when transcoding:
- Video: re-encode to H.264 (libx264),
yuv420ppixel format for maximum compatibility - Audio: re-encode to AAC at 128 kbps (from the typical mp3/AC3 sources)
- Container: MP4 with
+faststart, so web playback can start before the download finishes
What to expect: speed, size, and quality
| Aspect | Expectation |
|---|---|
| Speed | Real-time transcoding in the browser (wasm FFmpeg); a 1-hour AVI can take a while - trim to the segment you need first |
| Size | Usually 2-5x smaller than the source; old MPEG-4 ASP is that much less efficient than H.264 |
| Quality | Visually near-identical at default CRF; sources are typically already 480p-era compressed footage |
| Compatibility | Output plays on every browser, phone, TV, and editor |
Two practical notes:
- Trim before converting. Since transcoding processes every frame of the selected range, cutting to the 30 seconds you actually need is the single biggest speedup available.
- Browser memory limit. In-browser conversion runs in a ~2 GB WebAssembly address space. Files approaching that size will fail; use the desktop build or trim the input for very large AVIs.
Typical sources of AVI files
- DVD rips from the 2000s (DivX/XviD era) - the most common case
- Early digital cameras and camcorders (Motion JPEG AVI, which is enormous because every frame is a JPEG)
- Old screen recordings and game captures
- Legacy software exports that still default to AVI
Motion JPEG footage deserves a special mention: an hour of it can exceed 10 GB because MJPEG barely compresses temporally. Converting to H.264 typically shrinks it by 10-20x with no visible loss - one of the most dramatic size wins of any conversion this tool offers.
Tips
- AVI files usually require transcoding (slower than remux)
- Old codecs like DivX/XviD are supported
- Consider trimming large files before conversion
- If the file is close to 2 GB, expect browser conversion to fail - trim first or use the desktop app