What Is a .AVIF File?
A .avif file is an image compressed with the AV1 video codec inside a HEIF-style container. AVIF is a royalty-free, modern web format that often makes files smaller than both JPG and WebP at similar quality, and it supports transparency, HDR, wide color and animation. Current browsers display it.
- Extension
- .avif
- Full name
- AV1 Image File Format
- Type
- Image file
- MIME type
- image/avif
- Developed by
- Alliance for Open Media
About AVIF files
AVIF stores still images (or sequences) as AV1 intra frames. It supports 8, 10 and 12 bits per channel, HDR, an alpha channel and animation, and is especially good at keeping smooth gradients free of the banding JPEG produces. Encoding is slower than JPEG or WebP, which matters little for websites but makes batch conversion of large photo sets take longer.
Chrome, Edge, Firefox and Safari all display AVIF, and Apple added system support with iOS 16 and macOS Ventura, so Preview and Photos open it there. Desktop software support is patchier: on Windows 11 the Photos app may need the free AV1 Video Extension from the Microsoft Store, and older versions of Photoshop, Office and many upload forms do not accept AVIF.
Like WebP, AVIF usually appears on your computer because a website served it and you saved it. Converting to PNG keeps everything without further loss; converting to JPG is fine for sharing but drops transparency and HDR. Animated AVIF files are supported by browsers, while most still-image editors open only the first frame.
What AVIF files are used for
- Images on performance-focused websites and CDNs
- Pictures saved from a browser that serves next-generation formats
- HDR and wide-color images for the web
- Animated images as a smaller alternative to GIF
How to open a .avif file
Windows
Open it in Edge or Chrome. The Photos app opens AVIF once the free AV1 Video Extension from the Microsoft Store is installed.
Mac
Preview and Photos open AVIF on macOS Ventura and later; Safari displays it too.
iPhone and iPad
iOS and iPadOS 16 or later display AVIF in Safari, Files and Photos.
Android
Chrome displays AVIF, and Android 12 and later can decode it in many gallery apps.
Online / any browser
Current versions of Chrome, Edge, Firefox and Safari all display AVIF.
How to convert a .avif file
On a Mac running Ventura or later, open the AVIF in Preview and choose File > Export > PNG or JPEG.
On any platform, GIMP 2.10 and later can open AVIF and export it via File > Export As. Command-line users can use ImageMagick or libavif's avifdec.
Changing the extension to .jpg will not make an AVIF readable by older software; it must be re-encoded.
Convert it here, free and without uploading: AVIF to JPG, AVIF to PNG
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 AVIF files
- Browser-saved AVIF files often have hash-like names; rename them descriptively before converting so the converted copy is findable.
- If you publish AVIF with JPG fallbacks, keep identical base names (hero-banner.avif, hero-banner.jpg) so your site code can swap extensions predictably.
Renaming lots of .avif files? 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
A .webp file is an image in Google's WebP format, designed to make web pages load faster. It supports both lossy and lossless compression, transparency and animation, typically producing noticeably smaller files than JPG or PNG. It is common on websites, which is why images you save from a browser often end up as .webp.
A .heic file is a photo stored in the High Efficiency Image File Format using HEVC compression. It is the default format for photos taken on iPhones and iPads, and keeps roughly the quality of a JPG at around half the file size. Macs open it natively; Windows may need extra extensions.
A .jpg or .jpeg file is a compressed photo in the JPEG format, the most widely supported image type in the world. It uses lossy compression to keep photos small, which makes it ideal for cameras, phones, email and the web, but it does not support transparency or animation.
A .png file is a Portable Network Graphics image, a lossless format that keeps every pixel exactly as saved and supports full transparency. PNG is the standard for screenshots, logos, icons and web graphics with sharp edges or text, though photos saved as PNG are much larger than JPGs.
Frequently Asked Questions
Is AVIF better than WebP?
AVIF usually produces smaller files than WebP at the same visual quality and supports HDR, but it is slower to encode and slightly less widely supported in desktop software.
Why can't I open an AVIF file on Windows?
The Photos app needs AV1 support. Install the free AV1 Video Extension from the Microsoft Store, or simply open the file in Edge or Chrome.
Is AVIF the same as HEIC?
They share the HEIF container structure but use different codecs: AVIF uses royalty-free AV1, while HEIC uses HEVC. Software that opens one does not necessarily open the other.