About the AVI to MP4 tool
AVI is one of the oldest video formats still around. Old camera clips, archived downloads and legacy software often produce AVI files encoded with Xvid, DivX (MPEG-4 Part 2), MJPEG or other codecs that modern phones, browsers and editors refuse to play.
This converter brings those files up to date by re-encoding them to an MP4 with H.264 video and AAC audio, the combination supported by practically every device made in the last decade. Dimensions are rounded to even numbers so the H.264 stream is valid, and the MP4 is optimised with fast-start for web playback. If an AVI happens to contain H.264 video with AAC or MP3 audio already, the tool remuxes it instead: the streams are copied without re-encoding, which is much faster and lossless.
Choose High, Good or Compact quality to control the size of the result. Browsers can't preview AVI, so the preview appears only for the converted MP4. The conversion runs entirely inside your browser; the original file stays on your device.
How to use AVI to MP4
- Drop an .avi file onto the upload box.
- Leave Conversion on “Automatic (recommended)”.
- Choose High, Good or Compact quality.
- Click “Convert to MP4” and wait for the progress bar.
- Preview the MP4 and download it.
Features
Reads legacy codecs
Xvid, DivX, MJPEG, MPEG-4 Part 2 and MP3/PCM audio are decoded by ffmpeg.
Modern H.264/AAC output
Plays on phones, TVs, browsers and editors.
Remux when possible
AVIs that already contain H.264 are copied losslessly.
No preview needed
Works even though browsers can't play AVI files directly.
When to use it
- Convert old digital-camera AVI clips to watch on a phone.
- Rescue archived Xvid/DivX videos for modern players.
- Prepare AVI footage for a modern video editor.
- Upload old home videos to a site that needs MP4.
Frequently asked questions
Why can't I preview my AVI file?
Browsers don't support the AVI format. The converter still reads it with ffmpeg, and the MP4 result can be previewed.
Will the MP4 look worse than the AVI?
Re-encoding at the Good or High setting is visually very close to the source. H.264 is also more efficient than Xvid, so files are often smaller.
My AVI failed to convert. Why?
Some AVIs use rare or proprietary codecs, or are damaged. Click “Show details” on the error to see ffmpeg's message.
Is my video uploaded to a server?
No. The only download is the ffmpeg.wasm engine itself (about 31 MB from the jsDelivr CDN, cached by your browser after the first use). Your video is read and processed inside this browser tab and never leaves your device.