AVI Video Magic Bytes (.avi — RIFF…AVI )
Audio Video Interleave (AVI), introduced by Microsoft in 1992, wraps video and audio streams in a RIFF container. It starts with RIFF (52 49 46 46) at offset 0, a 4-byte size field, and AVI (41 56 49 20—including the trailing ASCII space 0x20) at offset 8.
Signature & identification summary
| Detected format name | AVI video |
|---|---|
| Hexadecimal magic bytes | 52 49 46 46 ?? ?? ?? ?? 41 56 49 20 |
| ASCII / marker preview | RIFF....AVI |
| Byte offset | 0 & 8 |
| MIME type | video/x-msvideo |
| Common extensions & aliases | .avi |
Check whether your file really is AVI.
Drop any file into File Sniff’s free local browser checker to verify its 52 49 46 46 ?? ?? ?? ?? 41 56 49 20 signature and spot misleading extensions—without uploading a single byte.
Container & byte-layout notes
AVI is purely a container: the hdrl list specifies a FourCC video codec (such as MJPG from dashcams/compact cameras, DivX/XVID, or uncompressed DIB) while movi holds interleaved chunks.
Extension mismatches & common pitfalls
QuickTime Player on modern macOS dropped support for many legacy AVI codecs; use IINA or VLC on Mac when an AVI video fails to open in QuickTime.
Which apps open AVI files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | IINA, VLC (QuickTime supports only selected Motion-JPEG AVIs) |
| iPhone & iPad | VLC, Infuse |
| Windows | Windows Media Player, Movies & TV, VLC |
Free local tools & related guides
- Check whether a file really is AVI
- Inspect raw bytes in the Hex Viewer
- Guide: File Signatures & Magic Bytes Guide
Inspect files & folders natively
on Mac, iPhone & iPad.
The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.