File types / Video

.avi file

AVI video

Extensions
.avi
MIME type
video/x-msvideo
Signature
52 49 46 46 .. .. .. .. 41 56 49 20  (RIFF....AVI )at byte offset 0
Safety
Low risk

What is a .avi file?

AVI is an older Microsoft video container. It is still found in archives and old downloads.

It is a RIFF file: RIFF, a length, then the text AVI followed by a space at offset 8.

Used for: Older video files.

How can I tell if a file is really a AVI?

Read its first bytes rather than trusting the name. A genuine AVI file has the signature 52 49 46 46 .. .. .. .. 41 56 49 20 (RIFF....AVI ) at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .avi file safe to open?

AVI is a media container and does not run code.

Easy to confuse

Like WAV and WebP, AVI starts with RIFF. The type is at offset 8.