AVIF Image Magic Bytes (.avif — ftypavif)
AV1 Image File Format (AVIF, Alliance for Open Media) stores AV1 intra-coded still images and image sequences inside an ISO Base Media / HEIF container. After the 4-byte box size at offset 0, bytes 4–7 spell ftyp (66 74 79 70) and the major or compatible brand list includes avif (still) or avis (animated sequence).
Signature & identification summary
| Detected format name | AVIF image |
|---|---|
| Hexadecimal magic bytes | 00 00 00 ?? 66 74 79 70 61 76 69 66 |
| ASCII / marker preview | ....ftypavif |
| Byte offset | 4 |
| MIME type | image/avif |
| Common extensions & aliases | .avif |
Check whether your file really is AVIF.
Drop any file into File Sniff’s free local browser checker to verify its 00 00 00 ?? 66 74 79 70 61 76 69 66 signature and spot misleading extensions—without uploading a single byte.
Container & byte-layout notes
AVIF is royalty-free and supports 8-, 10- and 12-bit colour depths, wide-gamut HDR (PQ/HLG via nclx colour properties), auxiliary alpha planes, EXIF, XMP and C2PA boxes at high compression efficiency.
Extension mismatches & common pitfalls
Image CDNs (Cloudflare Polish, Imgix, Next/Image) negotiate image/avif via the Accept header and serve ftypavif bytes from .jpg or .png URLs, surprising older image tools when saved.
Which apps open AVIF files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Safari, Preview (macOS Ventura+), Chrome, Firefox, Pixelmator Pro, GIMP |
| iPhone & iPad | Safari, Photos & Files Quick Look (iOS 16+) |
| Windows | Chrome, Edge, Firefox, Windows 11 Photos (with AV1 Video Extension) |
Free local tools & related guides
- Check whether a file really is AVIF
- Inspect raw bytes in the Hex Viewer
- Guide: HEIC vs JPG: What’s Actually Inside the File
- Guide: What does a file extension mismatch mean?
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.