01 / Drop
Choose the AVI
Its first picture shows, with the size, length and what is inside.
Free tool
Turn AVI files from old cameras, phones and downloads, with Xvid, DivX, Motion JPEG or H.264 inside, into MP4 videos that play on a Mac, an iPhone, in a browser and on every site. Drop one or a whole folder: each converts as it arrives. It runs in your browser with a small FFmpeg made for this page, so the video is never uploaded. No sign-up, no watermark.
Need a custom tool, app or website? Contact us →This runs in your browser. Your videos are never uploaded.
How it works
01 / Drop
Its first picture shows, with the size, length and what is inside.
02 / Convert
Every frame is read and saved again as H.264, the sound as AAC.
03 / Save
Check the MP4 right here, then download it.
Guide
An AVI to MP4 converter reads an old AVI video and saves it again as an MP4 with H.264 picture and AAC sound, the pair that Macs, iPhones, browsers and video sites all play. This one reads the AVI with a small build of FFmpeg that runs inside the page, then uses your browser's own encoder to write the MP4. Nothing is sent to a server, and there is no length limit.
The codec names come straight from FFmpeg, so they can look odd. Here is what the common ones mean:
| Shown as | What it is | Where it often comes from |
|---|---|---|
| MPEG4 | MPEG-4 Part 2, the format behind Xvid and DivX | Films and TV saved in the 2000s |
| MSMPEG4V3 | DivX 3 and Microsoft's early MPEG-4 | Very old downloads |
| MJPEG | Motion JPEG: every frame is a full JPEG photo | Digital cameras and webcams |
| DVVIDEO | DV | Tape camcorders copied to a computer |
| H264 | H.264 inside an AVI wrapper | Some newer cameras and screen recorders |
| MP3, AC3, PCM_S16LE, ADPCM_MS | The sound | All of the above |
If the line ends in "no sound", the AVI has no sound track, and the MP4 will not have one either.
The size choices cap the longest side of the picture. At most 1080p keeps the longest side at 1920 pixels or less, 720p at 1280 and 480p at 854. A video that is already smaller is never stretched up, so a 640 x 480 AVI stays 640 x 480 whatever you pick.
Quality sets how much data each second of picture gets, worked out from the picture size and frame rate. As an example, take a 640 x 480 Xvid film at 25 frames a second. On Good the picture gets about 0.54 Mbps, and the sound is AAC at 160 kbps, so the two together are about 0.7 Mbps. Ten minutes of that is about 0.7 times 600 seconds, or 420 megabits, which is roughly 52 MB. On High the picture gets about 1.7 times as much data, and on Small a little over half.
Motion JPEG files from cameras are large because every frame is a separate photo. H.264 stores only what changes between frames, so these AVIs usually shrink a lot as MP4s.
For other old formats, try WMV to MP4. If the new MP4 is still too big to share, run it through the video compressor.
Questions
No. It is read and converted in this tab, so it never leaves your computer. No account, no watermark, no length limit.
AVI is an old container from Windows, and the video inside is often Xvid, DivX or Motion JPEG, which QuickTime, iPhones and browsers do not play. MP4 with H.264 plays almost everywhere.
AVI files with Xvid, DivX (including DivX 3), H.264, Motion JPEG (many old digital cameras), MPEG-1 and 2, WMV 7 and 8, DV, Cinepak or Microsoft Video 1 pictures, and MP3, AC-3, AAC, PCM, ADPCM or WMA sound. A file with another codec says so when you drop it.
With a small build of FFmpeg, the open video library, compiled to WebAssembly by libav.js. It has only the AVI reader and the decoders above, about 3 MB, and is licensed LGPL 2.1. The browser's own encoder then writes the H.264 MP4.
Every frame is encoded again, so there is a small loss, as with any conversion. High keeps the most detail; Good is hard to tell apart from the original for most videos.
Roughly as long as the video plays for a standard-definition file on a recent computer, longer for HD. The page shows the time left. Keep the tab open until it is done.
Current Chrome, Edge and Safari, which can encode H.264. Firefox can read the AVI but may not be able to write the MP4.
Not entirely, since the picture is encoded again as H.264. Pick Same as the video and High to keep the loss as small as it can be; for most clips it is hard to see.
Yes. Drop them all on the box, or use Add more videos. They are converted one after another with the same settings, each row has its own download, and Download all as ZIP saves them together.
H.264 packs video more tightly than the older codecs most AVI files use, and Motion JPEG files in particular store every frame as a whole photo. A smaller file does not mean frames were lost; play it through to check.
Yes. The MP4 uses H.264 video and AAC sound, which QuickTime Player, iPhones, iPads and current browsers all play.
Yes. The picture and the sound are both placed by the times stored in the file, measured from the first picture, so sound that starts a little later or earlier than the picture in the old file still lines up in the MP4.
Yes. The file is read in pieces, never whole, and the MP4 is written in pieces too. When it is expected to be about 280 MB or more, Chrome and other browsers that allow it keep it in a private space on your disk, so even a long recording does not have to fit in memory. The time it takes is the limit, and the page shows how far it is.