AVI to MP4 Converter
Convert a legacy .avi into a modern MP4 that plays anywhere and takes less space. Done on your device — nothing is uploaded.
What is the difference between AVI and MP4?
AVI (Audio Video Interleave) is Microsoft's RIFF-based container, introduced in 1992. It has no native support for variable frame rate or modern subtitle formats, and its common codecs — Cinepak, MJPEG, DivX and Xvid — need several times the bitrate of H.264 for the same picture, which is why a ten-minute AVI can run to several hundred megabytes. MJPEG is the worst case, because it stores every frame as a standalone JPEG with no interframe compression at all. Converting to MP4 re-encodes the video with libx264 at CRF 23 on the veryfast preset and the audio to AAC at 160 kbps, usually cutting the file substantially while making it playable on current phones, smart TVs and every browser. Odd pixel dimensions are padded to even values, as H.264 4:2:0 chroma sampling requires. The conversion runs locally through ffmpeg.wasm, so the AVI is never uploaded; the engine itself downloads once per session, on your first conversion.
How to Use the AVI to MP4 Converter
Three steps, all in your browser.
-
Load your AVI
Drag a .avi file onto the box or click to choose one. AVI is an older Windows video format.
-
Convert to MP4
Click Convert. The tool re-encodes the video to H.264 and the audio to AAC in an MP4 container.
-
Download the MP4
Preview and download the .mp4 — smaller, modern and playable on current phones, players and the web.
Will a DivX, Xvid or Cinepak AVI from 2005 still open?
AVI is a 1992 Microsoft container — the awkward part is always the codec someone picked at the time.
AVI stores only a four-character code (a FourCC) naming the codec used. If the matching decoder is missing, you get audio and a black screen — the file itself is fine.
| FourCC | Codec | Era | Decodes here | What to expect |
|---|---|---|---|---|
| DIVX / DX50 | DivX 4–5 (MPEG-4 Part 2) | 2001–2006 | Yes | Re-encoding usually shrinks the file |
| XVID | Xvid (MPEG-4 Part 2) | 2002–2010 | Yes | Same family as DivX |
| DIV3 / MP43 | MS MPEG-4 v3 | 1999–2002 | Yes | Pre-standard Microsoft codec |
| MJPG | Motion JPEG | Webcams, cameras | Yes | Every frame a keyframe; large but robust |
| dvsd | DV (DV25) | Camcorder capture | Yes | Interlaced, non-square pixels |
| cvid | Cinepak | 1992–1998 | Yes | Very low quality ceiling; no improvement possible |
| IV50 / IV41 | Indeo Video 4–5 | 1995–2000 | Build-dependent | The browser ffmpeg build carries a reduced decoder set |
| HFYU / raw | HuffYUV or uncompressed | Capture masters | Yes | Enormous input; expect a long conversion |
Two artefacts this tool does not fix. Interlacing: AVI captured from DV camcorders, TV tuner cards or DVD rips is usually interlaced 480i or 576i. There is no deinterlace step here, so horizontal comb teeth on moving edges get encoded permanently into the H.264 output. If you see combing in the preview, deinterlace on a desktop tool first. Non-square pixels: DV and DVD-sourced AVI is 720×480 or 720×576 with an aspect flag rather than square pixels, so players that ignore the flag show a slightly stretched picture.
The upside is real. MPEG-4 Part 2 — what DivX and Xvid actually are — needs appreciably more bitrate than H.264 for the same perceived quality, and the 1990s codecs are far worse again. Re-encoding a genuinely old AVI at CRF 23 usually yields a much smaller file that looks no worse. If your file is a modern container instead, MKV to MP4 covers the opposite case — a current wrapper that players still reject.
Frequently Asked Questions
How do I convert AVI to MP4?
Why convert AVI to MP4?
Is my video uploaded anywhere?
Will the file get smaller?
Is there a size limit?
More video tools
MP4 to GIF
Turn an MP4 clip into a crisp animated GIF.
MOV to MP4
Convert QuickTime MOV to a playable MP4.
MKV to MP4
Convert Matroska MKV to a playable MP4.
WebM to MP4
Convert WebM to MP4 for editors and uploads.
GIF to MP4
Shrink an animated GIF into a small MP4.
GIF to Video
Convert an animated GIF into a video file (MP4).
Video Trimmer
Cut a clip out of any video by start and end time.
MP4 to MOV
Remux an MP4 to MOV for Apple apps — lossless.