Skip to content

AVI to MP4 Converter

FileFlip converts AVI to MP4 entirely inside your browser, using WebCodecs and FFmpeg compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert AVI to

How do I convert an AVI file to MP4?#

  1. Drop your AVI file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to MP4 and the conversion starts on its own. FileFlip usually downloads nothing, falling back to 30.8 MB of WebAssembly if your browser cannot encode these codecs itself, then runs WebCodecs and FFmpeg on your own machine.
  3. Save the MP4 file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting AVI to MP4 lose quality?#

Sometimes. When the codecs inside the AVI file are ones the MP4 container can hold, the streams are copied straight across and nothing at all is lost. When they are not, the file has to be decoded and encoded again, and that step does cost a little quality.

Is it safe to convert AVI files online?#

Yes, because nothing is uploaded. FileFlip converts AVI files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What AVI to MP4 actually does to the file#

Converting AVI to MP4 runs on WebCodecs and FFmpeg, usually downloads nothing, falling back to 30.8 MB of WebAssembly if your browser cannot encode these codecs itself, copies the streams through when the codecs fit and re-encodes when they do not.

EngineWebCodecs and FFmpeg
Conversion pathOne step: AVI → MP4
Downloaded to your browserNothing in most browsers, or 30.8 MB if yours cannot encode these codecs itself
QualityLossless when the codecs fit, lossy when they do not
You get backOne file
Where it runsIn a background worker, so the page stays responsive

What survives the conversion

What is in the fileThis conversionWhy
Encoded streamsSometimesSurvives for some files and not others.

Worth knowing before you start:

  • the FFmpeg fallback is an LGPL build, so a re-encode produces MPEG-4 Part 2, VP8, VP9, or Theora rather than H.264 or H.265
  • whether the browser can do this without FFmpeg depends on the codecs it exposes through WebCodecs
  • the encoded streams are copied when the file's codecs fit the target container, and re-encoded when they do not

What is an AVI file?#

An AVI file interleaves video and audio in chunks of Microsoft's RIFF structure, the container Windows has used for video since 1992 and the one most video from the DivX and Xvid years is stored in.

Keep a file as AVI when it is going into software old enough to predate MP4, which is the one situation where the format's age helps.

Convert AVI to MP4 to get the video playing on phones, browsers and TVs, and to shrink it, since what is inside an AVI is usually a codec generation or two behind.

What is an MP4 file?#

An MP4 file holds video, audio, subtitle and chapter tracks together in the MPEG-4 Part 14 container, the structure ISO standardised from Apple's QuickTime format and the way most video is stored and shared today.

Choose MP4 when the file has to play somewhere you do not control, which covers anything uploaded, emailed or handed to another person.

Convert an MP4 to something else when the destination is not a player: pulling out the audio, making a GIF, or moving into Matroska to keep several subtitle and audio tracks in one file.

AVI to MP4 questions people ask#

Why won't my AVI file play?

An AVI that will not play is usually encoded with a codec the machine does not have. AVI identifies its video by a four character code and leaves the decoder to the operating system, which is why Windows users spent years installing codec packs. Old DivX, Xvid, Indeo and Cinepak files all hit this. VLC ships its own decoders and plays most of them, and converting to MP4 removes the problem permanently.

Why is my AVI file so large?

AVI files are big because of what is inside them rather than the container itself. The codecs of the era, MJPEG and DivX among them, need several times the bitrate H.265 does for the same picture, and MJPEG stores every frame as a separate JPEG with no saving between frames at all. Re-encoding the same footage to H.264 or H.265 in an MP4 commonly cuts the file to a fraction of its size.

Can AVI files have subtitles?

AVI has no subtitle track, so subtitles for an AVI live in a separate SRT or SUB file sitting next to it with a matching filename, and the player pairs them up. Move the video without the sidecar file and the subtitles are gone. Converting to MKV or MP4 lets the subtitles be embedded in the video file itself, which is the usual reason people move AVIs into a newer container.

Is AVI a codec or a container?

AVI is a container, and an unusually open-ended one. Any codec that registers a four character code can go inside, so AVI files from different eras hold wildly different things: MJPEG from a camera, Cinepak from a CD-ROM, DivX or Xvid from a download. That is why one AVI plays instantly and the next one shows a black screen on the same computer.