File4Edit

What is an AVIF file?

An AVIF file is an image compressed with AV1, a video codec from the Alliance for Open Media, in the same kind of container HEIC uses. It is often smaller than WebP or JPEG, and every current browser displays it.

What does AVIF stand for?

AV1 Image File Format. An AVIF file holds an image compressed with AV1, a royalty-free video codec from the Alliance for Open Media, an industry group formed to build open media formats. The container is the same HEIF structure that iPhone HEIC photos use; only the compression inside differs.

The Alliance for Open Media published version 1.0.0 of the AVIF specification in February 2019. Like WebP, AVIF can be lossy or lossless, can have a transparent background and can hold an animation, and unlike WebP, or the 8-bit JPEGs that nearly all software produces, it also supports high dynamic range and more than 8 bits per color channel.

Why do websites use AVIF?

Because it is often the smallest file for a given quality. AV1 is newer than the methods behind JPEG and WebP, and it holds smooth gradients and fine texture well at low file sizes, so an AVIF version of a photo is frequently smaller than a WebP or a JPEG that looks the same. Many sites and image services send AVIF to browsers that accept it.

That is why a picture from a web page can land on your disk as .avif, and why a program on your computer may then refuse to open it.

What opens an AVIF file?

Opening an AVIF file
WhereOpens AVIF?
Chrome, Edge, Firefox and SafariYes, in every current version
AndroidYes, from Android 12
WindowsDepends on the version; the Photos app relies on Microsoft's AV1 Video Extension from the Microsoft Store
Older software and upload formsOften not
File4EditYes, to turn into a JPG, PNG, WebP and other formats

Google's Android developers documentation lists AVIF support among the platform features that arrived in Android 12.

Why can't browsers save AVIF on their own?

Their built-in image encoders do not include it. Browsers display AVIF, but none can encode it from a canvas, which is how File4Edit writes most formats. A page can still produce AVIF with an encoder compiled to WebAssembly, as File4Edit does for WebP in Safari, but File4Edit includes no such encoder for AVIF, so it opens AVIF files and never offers AVIF as an output format.

Desktop and server software can create AVIF files, and so can the image services that prepare pictures for websites. For images made in a browser today, WebP is the practical choice: smaller than JPEG, transparent where needed, and available in every browser.

How do you convert an AVIF to JPG or PNG?

In any current browser, with nothing to install. The AVIF to JPG converter turns AVIF images into JPEGs that open everywhere, filling any transparent areas with a color you choose. To keep transparency, open the image converter and choose PNG or WebP instead.

Converting away from AVIF costs a little detail when the target is lossy, and a larger file when it is JPEG, because AVIF is the more efficient format. That is the price of a file every program can open.

AVIF vs WebP: which is better?

AVIF usually wins on size, and WebP on nearly everything else. AVIF files are often smaller at the same quality, especially for photos with smooth gradients. WebP is quicker to make and to decode, has been supported for longer, and File4Edit can make it in any browser, which it cannot do for AVIF.

Websites often offer both, with the HTML picture element listing AVIF first and WebP or JPEG as the fallback. For a single file that you make and send yourself, WebP is the one File4Edit can create.

AVIF files: common questions

Is AVIF better than JPG?

For file size at a given quality, usually yes. For compatibility, no: every program opens JPG, and some still cannot open AVIF.

Why can't File4Edit save as AVIF?

Because no browser's built-in image encoder can write AVIF, and File4Edit has no AVIF encoder of its own. It opens AVIF files and converts them into JPG, PNG, WebP and the other formats it offers.

How do I open an AVIF file on my computer?

Drag it into a browser tab to view it; every current browser displays AVIF. To use it in other software, convert it with the AVIF to JPG converter.

Is AVIF the same as HEIC?

They share the HEIF container but use different compression: AVIF uses the royalty-free AV1 codec, and HEIC uses HEVC. Browsers support AVIF widely and HEIC far less.