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

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.

More image file extensions · all file extensions