What Is a .AVI File?

A .avi file is an Audio Video Interleave video, a container Microsoft introduced in the early 1990s for Windows. It interleaves audio and video streams that can use many codecs, such as DivX, Xvid, MJPEG or uncompressed video. AVI still plays on Windows, but modern formats like MP4 have largely replaced it.

Extension
.avi
Full name
Audio Video Interleave
Type
Video file
MIME type
video/x-msvideo
Developed by
Microsoft

About AVI files

AVI is built on Microsoft's RIFF structure, the same family as WAV. The container is simple: chunks of audio and video interleaved so they play in sync. What you can actually play depends on the codec inside. Older downloads often use DivX or Xvid, digital cameras from the 2000s often saved MJPEG AVI, and capture cards may produce uncompressed or lightly compressed AVI files that are very large.

The format shows its age. It has no standard way to store modern codecs such as H.265 or AV1 cleanly, limited support for subtitles and chapters, and poor support for variable frame rates. Original AVI files were capped at about 2 GB until the OpenDML extension added larger files. These limits are why MP4 and MKV took over for distribution.

Playback is usually fine on Windows, which includes decoders for common AVI codecs, but Macs are a different story: QuickTime Player rejects many AVI files because it lacks the DivX, Xvid or older Windows codecs. VLC and IINA on the Mac play nearly all of them. Converting an old AVI archive to MP4 is a sensible way to future-proof family videos.

What AVI files are used for

  • Older digital camera and camcorder clips
  • Video downloaded in the 2000s, often DivX or Xvid
  • Uncompressed captures from VHS digitizing and capture cards
  • Legacy Windows software and game cutscenes

How to open a .avi file

Windows

Double-click to play in Media Player. If you get a codec error for an unusual codec, open the file in VLC instead.

Mac

Try QuickTime Player first, but many AVI files will not open there; VLC or IINA, both free, play almost any AVI.

iPhone and iPad

The built-in apps generally will not play AVI. Install VLC for Mobile and open the file from the Files app.

Android

Some gallery apps play AVI, but VLC for Android is the dependable choice for older codecs.

How to convert a .avi file

HandBrake converts AVI to H.264 MP4 on Windows, Mac and Linux; add the file, choose a preset like Fast 1080p30 or Fast 720p30 for old footage, and start the encode.

VLC's Media > Convert / Save option can also produce MP4, and Clipchamp on Windows can import an AVI and export it as MP4.

If the AVI came from an old camcorder, keep the original as an archive copy; converting is lossy and you may want to deinterlace or upscale it later.

Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.

Naming and renaming AVI files

  • Digitized tapes and old camera clips often carry names like MVI_0042.AVI or capture001.avi; rename them by event and approximate date (1998-12 christmas morning.avi) while you still remember the context.
  • When converting, give the new file the same base name with an .mp4 extension so pairs line up in sorted folders and you can later delete the originals with confidence.
  • File Renamer AI can suggest descriptive names from the content of each clip, which helps when digitizing a box of unlabeled tapes.

Renaming lots of .avi files? See how to rename avi files with ai, use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.

Related file types

Frequently Asked Questions

Why will my AVI file not play on a Mac?

QuickTime Player lacks decoders for many codecs used inside AVI files, such as DivX and Xvid. Use VLC or IINA, or convert the file to MP4 with HandBrake.

Is AVI better quality than MP4?

Not inherently. Quality depends on the codec and bitrate; an uncompressed AVI is huge and high quality, while a DivX AVI is usually worse than a modern H.264 MP4 of similar size.

Is AVI still used?

Rarely for new content. It survives in older archives, capture tools and legacy software, while new video is almost always MP4, MOV, MKV or WebM.

More video file extensions · all file extensions