Theme

File names

IMG_2041.heic

IMG_2041.jpg

Language

Your files and these choices stay on this device.

Conversion settings

Your starting point for new files. You can still change anything before converting.

Convert to

Quality
AutoSmaller fileBest quality
Bitrate
Auto64 kbps320 kbps
Video bitrate
Auto1 Mbps12 Mbps
Speed
Resolution
Color
Normalize volume
Remove metadata
Leave out images
Download several files as

Image format

What is a .avif file?

AVIF is a modern image format based on the AV1 video codec. It produces very small files at good quality, and supports transparency, HDR and animation.

All current browsers display it. Older software often doesn’t, and encoding is slower than JPG or WebP.

fileclay opens AVIF but doesn’t write it

AVIF vs WebP vs JPG

AVIFWebPJPG
CompressionLossy or losslessLossy or losslessLossy
TransparencyYesYesNo
Color depthUp to 12 bits8 bits8 bits
Encoding speedSlowFastVery fast
SupportAll modern browsersAll modern browsersEverywhere
Best forLightest web imagesImages on the webSharing anywhere

When to use AVIF

Good for

  • Images on a website where size matters most
  • HDR and wide-color images
  • Photos with transparency

Not a good fit

  • Sending to people with older software
  • Upload forms that only accept JPG or PNG
  • Print work

How to open .avif files

PlatformAppNotes
BrowsersChrome, Safari, Firefox, EdgeCurrent versions
macOSPreviewmacOS 13 and later
iPhone, iPadPhotos, FilesiOS 16 and later
EditorsGIMPCurrent versions

Convert AVIF files

How to identify a .avif file

AVIF uses the same box structure as HEIC. From the fifth byte on, the file reads “ftypavif”.

66f
74t
79y
70p
61a
76v
69i
66f

It’s read here, in your browser. Only the first bytes.

What comes after

ftypThe file type
metaImage properties
mdatThe compressed image

Questions about AVIF

Is AVIF better than WebP?

It usually produces smaller files at the same quality, but it takes longer to encode.

Is AVIF the same as HEIC?

No. Both use a HEIF-style container, but AVIF uses the royalty-free AV1 codec and HEIC uses HEVC.

Why can’t I open an AVIF file?

Older apps don’t know the format. A browser opens it, or you can convert it to JPG or PNG.

Does AVIF support transparency?

Yes. JPG doesn’t.

Related formats

Sources