What is an AVIF file, and where does it work?

Last checked 2 min read

The short answer

AVIF is a newer picture format that usually stores a photo or graphic in a smaller file than JPG, and it supports transparency. It opens in current Chrome, Edge, Firefox and Safari. Support in older software, email programs and upload forms varies, so convert it to JPG or PNG when something will not take it.

What kind of file it is

An AVIF file has a name ending in .avif and holds a picture, in the same way a .jpg or .png does. It is built on an openly published compression method called AV1. It can store a picture approximately, like JPG, or exactly, like PNG, and it can mark parts of the picture as transparent.

Why websites use it

The reason is size. A smaller picture reaches the visitor sooner and uses less of their data allowance, and across a page with many pictures that adds up. Sites that care about loading time often keep each image in several formats and send AVIF to the browsers that can read it.

The cost is effort at the encoding end. Making an AVIF is generally more work for the computer than making a JPG, so it usually takes longer, especially for a large picture.

Where it opens and where it may not

  • Current web browsers on desktop and phone: yes.
  • Photo viewers and galleries built into recent phones and computers: often, but it depends on the system and how up to date it is.
  • Image editors and office programs: varies from one program and release to the next.
  • Email programs: varies by program. An AVIF placed in the body of a message may not be shown to the reader.
  • Upload forms for applications, printing or marketplaces: many list only JPG and PNG.

How to check before you rely on it

Try the exact place the file is going. Open one AVIF in the program your reader will use, send one to yourself and read it on your phone, or put one through the upload form. A file that displays properly there can be used there. If you cannot test, or the picture is going to people whose software you do not know, send a JPG.

Turning an AVIF into a JPG or PNG

  1. Open the Convert image tool in a current browser, which is what reads the AVIF.
  2. Add the file by dropping it on the page, choosing it or pasting it.
  3. Set Output format to JPG for a photograph. Choose PNG if the picture has transparent areas, because a JPG would have them filled with white.
  4. Press Download for the converted file.

Making an AVIF of your own

In the same tool, set Output format to AVIF. Balanced uses quality 55 on the AVIF encoder's scale and aims for a file that still looks like the original; move the Compare slider over the result to see whether you agree, and choose Custom to raise or lower the quality.

Keep the picture you started from. If the AVIF turns out not to work somewhere, you can make a JPG or WebP from the original instead of from the AVIF. Animated AVIF files exist, but the tools here handle still pictures only.

Do it nowFree, in your browser. Nothing is uploaded.
Convert AVIF to JPG or PNG

Do it now

Tools for this

All tools

Formats explained

All guides