Free · Runs in your browser

AVI to MP4 Converter

Convert AVI to MP4 in your own browser tab, with constant-quality CRF encoding instead of a fixed bitrate, and old camcorder footage that is never uploaded to anyone's server.

No upload No sign-up No watermark

AVI to MP4

Drop an AVI in. It is converted in this tab and never uploaded.

Loading the converter...

How to convert AVI to MP4

Drop your AVI in

Drag the file onto the box above, or pick it from your computer. The first time you use it the page fetches the FFmpeg engine once; after that it keeps working with the network switched off. Your file is read locally and never sent anywhere.

Check what it says it will do

The tool reads the header and tells you the codec, resolution, frame rate and duration. If the video is Xvid or DivX it offers a straight stream copy, which is instant and lossless. Choose High, Medium or Low instead to force a real H.264 re-encode.

Convert and save it

Press Convert and watch the progress bar. A copy finishes in seconds; a re-encode of a long clip takes roughly as long as the clip itself. The finished MP4 is saved straight to your downloads folder from your own machine.

What actually changes when an AVI becomes an MP4

Both AVI and MP4 are containers: wrappers that hold a video stream, an audio stream and a table saying where each frame lives. Neither is a codec, and that is why "AVI to MP4" can mean two completely different jobs depending on what is inside your file. AVI is Microsoft's RIFF format from 1992. MP4 is ISO base media, the same family as MOV, standardised in 2001 and built for the codecs and the players we actually use now.

The differences that matter are structural. AVI assumes one fixed frame rate for the whole file and stores audio in chunks that are meant to be constant bitrate, which is why AVIs with variable-bitrate MP3 audio famously drift out of sync towards the end. MP4 gives every sample its own timestamp, so it can hold variable frame rate footage honestly, and it can put its index at the front of the file so a browser starts playing before the download finishes. AVI has no index at the front and no real subtitle support - subtitles for an AVI almost always arrive as a separate .srt or .idx file sitting next to it.

AVIMP4
Designed1992, Microsoft RIFF2001, ISO base media (from QuickTime)
Video you normally find in itXvid, DivX, MS MPEG-4 v3, Cinepak, Indeo, DVH.264, H.265
Audio you normally find in itMP3, AC-3, uncompressed PCMAAC
Frame timingOne rate for the whole fileA timestamp per frame
SubtitlesNone in practice - separate filesLimited, and often ignored anyway
Plays while downloadingNoYes, with the index moved to the front
Accepted in 2026 byDesktop players and old hardwarePhones, browsers, TVs, editors, social apps

Is this a lossless copy or a real re-encode?

It depends on the codec inside the AVI, and this converter reads that from the file header before it does anything. If the video is MPEG-4 Part 2 - what Xvid, DivX 4 and DivX 5 all produce - it is legal inside an MP4, so the tool copies the stream across instead of re-encoding it. That takes seconds no matter how long the film is, and every pixel is bit-for-bit identical. If the video is something MP4 cannot hold, the picture is decoded and re-encoded with libx264, and that is a genuine quality decision, not a repackaging job.

What is inside the AVIWhat happens
Xvid / DivX 4 or 5 (MPEG-4 Part 2) with MP3 or AC-3 audioStream copy. Seconds, and lossless.
The same video with uncompressed PCM audioPicture copied, audio re-encoded to AAC.
DivX 3 / MS MPEG-4 v3 (the late-1990s files)Full re-encode to H.264.
Cinepak, Indeo, Huffyuv, uncompressedFull re-encode to H.264.
DV, from a tape camcorder captureFull re-encode to H.264.
Motion JPEG, from an early digital cameraCopyable, but usually worth re-encoding - see below.

The converter tells you which of these it is about to do, in words, before you press Convert. If you are not sure what your file holds and you would rather know first, the guide on checking what codec a video actually uses shows you how to read it without installing anything.

A copy is not always the right answer. MPEG-4 Part 2 is legal inside an MP4, but it is not what a 2026 phone, a social app or an editing timeline expects. If the file has to play on an iPhone, upload to Instagram or drop into Premiere, pick a quality preset and let it re-encode to H.264. That is the format every one of those things is built around.

Choosing quality for the re-encode

Most people who convert an AVI end up re-encoding, either because the codec forces it or because they want H.264 at the other end. This page gives you constant-quality encoding, which is the part almost no online converter exposes. Low, Medium and High map to CRF 28, 23 and 20 on x264's veryfast preset. CRF means the encoder is told how good the picture must look and then spends whatever bitrate that takes - a still interview scene comes out small, a handheld shot of a beach comes out larger, and both look consistent. A fixed-bitrate encode does the opposite: it wastes space on the easy scene and falls apart on the hard one.

For old camcorder footage, High (CRF 20) is the sensible default. The source is already soft and heavily compressed, and a second lossy pass on top of a first one is where visible mush comes from. If you specifically want to match what the phone app produces, the advanced options switch to fixed bitrates of 1, 2.5 and 5 Mb/s - the three values the app uses. Dropping the resolution or the frame rate there forces a re-encode even when a copy was possible.

What does not survive the conversion

Only the first video stream and the first audio stream come through. Extra audio tracks - a second language, a commentary - are dropped, and so is any subtitle track. AVI rarely carries subtitles internally, so in practice this bites when the AVI has more than one audio stream. Choosing MKV instead does not save them: Matroska can hold every track, but this tool writes one video and one audio stream whatever the container, so a file whose second soundtrack matters needs a desktop tool.

Creation dates and camera metadata mostly do not survive either, because AVI barely stores them in the first place. Note the recording date from the file's own modified date before you convert if it matters. One thing conversion cannot fix: if your AVI already drifts out of sync because of variable-bitrate MP3 audio, a stream copy copies the drift with it. Forcing an audio re-encode lays the sound down against real timestamps, which often straightens it out.

The honest limits of doing this in a browser tab

The engine here is FFmpeg compiled to WebAssembly, served from this domain and run in a worker inside your tab. Nothing is uploaded, which is the point when the footage is a family christening from 2004 rather than a stock clip: a file that never leaves your machine cannot be retained, scanned or leaked. It is also why there is no queue and no daily quota - there is no server to pay for. For the longer argument, read whether online video converters are safe.

The limits are real and worth stating. Files over 2 GB are refused outright, because a 32-bit WebAssembly heap cannot address them. Above roughly 300 MB you get a warning, since the conversion needs about three times the file size in free memory. The build is single-threaded, so a re-encode runs at roughly real time for 720p and slower than real time for 1080p - a stream copy, by contrast, is near-instant however long the video is.

That 2 GB ceiling is the one that catches AVI users, because DV captures from a tape camcorder run to roughly 13 GB per hour. A DV-AVI of any real length has to be handled by desktop software or by the Video Converter app, which has no size ceiling and uses your device's hardware encoder rather than a software one. The app always re-encodes and cannot stream-copy, so it is the right tool for big files and the wrong tool for a lossless repackage.

The situations that send people to this page

Old family video is the common one: a hard drive of AVIs from a camcorder or a Windows Movie Maker era PC, and a phone or a TV that shows a grey thumbnail. Editors are the other: DaVinci Resolve and Premiere both handle AVI unevenly depending on the codec inside, and the fix is usually to normalise to H.264 in an MP4 first - the same reasoning as in the guide on Resolve importing an MP4 as audio only. Then there are car stereos and older TVs that read a USB stick, where MP4 with H.264 is the safest bet by a wide margin.

If the file you are actually holding turns out not to be an AVI, the same engine handles the neighbouring jobs: MKV to MP4, which is nearly always a copy, MOV to MP4 for anything off an iPhone, and H.265 to H.264 when a modern phone recording will not open on an older Windows machine.

Questions about this conversion

Short answers here, the full story in the guides.

Does converting AVI to MP4 lose quality?

Only if the file has to be re-encoded. If your AVI holds Xvid or DivX video, that codec is legal inside an MP4, so the stream is copied across untouched and the result is bit-for-bit identical. Older codecs like DivX 3, Cinepak or DV cannot live in an MP4, so the picture is re-encoded with x264 - lossy, but very hard to tell apart at CRF 20.

Learn more →

Is there a file size limit?

Files over 2 GB are refused, because the 32-bit WebAssembly heap this runs in cannot address more than that. Above about 300 MB you get a warning, since converting needs roughly three times the file size in free memory. There is no daily quota and no sign-up - the ceiling is your browser's memory, not our billing.

Learn more →

Is my video uploaded anywhere?

No. The converter is FFmpeg compiled to WebAssembly and it runs inside your tab, so the file is read from your disk and written back to it without touching a network. You can prove it: convert once, then turn off your Wi-Fi and convert again. A file that is never uploaded cannot be retained or breached by anybody.

Learn more →

What is the difference between DivX, Xvid and AVI?

AVI is the container - the box. DivX and Xvid are codecs, the thing that actually compresses the picture inside that box. Both are implementations of MPEG-4 Part 2, which is why a file labelled DivX and a file labelled Xvid behave the same here. DivX 3 is the odd one out: it is MS MPEG-4 v3 and always needs re-encoding.

Learn more →

Why will my AVI not play on my phone or smart TV?

Because phones and TVs decode H.264 and H.265 in hardware and mostly ignore everything else. Xvid, DivX and the 1990s codecs are decoded in software, which those devices do not do. Converting to MP4 with an H.264 re-encode gives them something their chips can actually play, which is why a converted file works when the original does not.

Learn more →

My AVI has audio that drifts out of sync. Will converting fix it?

Sometimes. AVI stores audio in chunks that assume a constant bitrate, so a variable-bitrate MP3 track slowly slides out of position - a very common fault in old files. A stream copy copies the drift too. Set the audio option to re-encode: FFmpeg then rewrites the sound against real timestamps, which often corrects it.

Learn more →

Can I convert several AVIs at once?

Not here. This tool takes one file at a time on purpose - a single-threaded WebAssembly encode already uses everything the tab has, and a queue would only make each one slower. For a folder of old camcorder files, convert them one after another, or use the phone app, which has a history list so you can find each finished file again.

Converting a whole shelf of old AVIs?

The Video Converter app has no 2 GB ceiling and encodes with your phone's own hardware encoder, so a long camcorder capture finishes in a fraction of the time a browser tab needs, and every file lands in a history you can re-share later. It always re-encodes rather than copying streams, and it is free and unlimited on Android, while on iPhone the first conversion is free and further ones need the paid upgrade.