AVIF converters
AVIF (AV1 Image File Format) stores a picture compressed with AV1, the royalty-free video codec of the Alliance for Open Media, inside the same HEIF container that iPhones use for HEIC. Version 1.0 of the specification was published in 2019. Image CDNs and large websites serve AVIF because it usually gives smaller files than JPG or WebP at the same visual quality.
Convert AVIF
What to know about AVIF
- Opens in current Chrome, Firefox and Safari 16 or later; Edge added it only in version 121 (2024).
- Many desktop editors, office programs, upload forms and older phones still cannot open it.
- Supports transparency, 10 and 12-bit colour, HDR and animation.
- Can be lossy or lossless, but almost every AVIF on the web is lossy.
File extensions: .avif
Where you meet AVIF files
People mostly meet AVIF when they save a picture from a website or shop and get a .avif file. Image services such as Cloudinary and Cloudflare serve AVIF to browsers that ask for it. Android 12 and later and iOS 16 and later can decode it without extra apps. GIMP reads and writes AVIF since version 2.10.22. The reference library, libavif, is open source.
AVIF compared with other formats
- AVIF or WebP
- AVIF usually gives the smaller file at the same look, especially for photos at low bit rates, and supports HDR. WebP encodes much faster, reached all browsers earlier and is accepted by more editors and upload forms. Many sites serve AVIF first and WebP or JPG as fallback.
- AVIF or JPG
- JPG opens in every program and prints anywhere. AVIF can need half the bytes or less for a similar photo and keeps transparency and HDR. Use AVIF on a website with a JPG fallback, and JPG for anything that leaves the browser.
- AVIF or HEIC
- Both are HEIF files. AVIF uses the royalty-free AV1 codec and is supported in Chrome, Firefox, Edge and Safari. HEIC uses patented HEVC, is written by iPhones and displays in Safari but not in Chrome, Edge or Firefox.
Common problems with AVIF files
The saved picture opens nowhere
A browser shows the AVIF, but the photo viewer, Word, an older Photoshop or a messaging app does not. On Windows, the Photos app may need Microsoft's free AV1 Video Extension. For a file that works everywhere, convert it to JPG. Tool: Convert AVIF to JPG.
The image has the wrong size for a form
The resize, crop and rotate tools on this site accept AVIF and save the result as JPG, so one step gives both the right format and the right dimensions. Only the first frame of an animated AVIF is kept. Tool: Resize images, Crop an image.
Encoding AVIF takes a long time
AV1 encoders are much slower than JPEG or WebP encoders, especially at their slowest, most efficient speed settings. For a large image library this means real CPU time. Encoders such as avifenc from libavif have a speed option that trades some compression for much faster encoding.
Colours or brightness look wrong
AVIF can store HDR in PQ or HLG and wide colour. Programs that do not handle this show washed-out or overly dark images, and converters that reduce it to 8-bit sRGB make highlights flatter. View HDR AVIFs on an HDR screen in a current browser before judging them.
Questions about AVIF
Can I open AVIF on my phone?
On Android 12 and later and on iOS and iPadOS 16 and later, usually yes, because the system can decode it. Older phones can usually still show AVIF in an up-to-date Chrome or Firefox, but not in the gallery app.
Why did my browser save an AVIF instead of a JPG?
The website looked at which formats your browser accepts and sent AVIF because it is smaller. The address can still end in .jpg. Converting the saved file is the reliable way to get a JPG.