Convert JPG to AVIF

Make photos far smaller for the web by converting JPG to AVIF.

AVIF is based on the AV1 video codec and is one of the most efficient image formats you can use on a website today: photos are often 30–50% smaller than JPG and noticeably smaller than WebP at similar quality, which helps page speed and Core Web Vitals.

Every current version of Chrome, Edge, Firefox and Safari displays AVIF, but plenty of older phones, desktop photo viewers, editing apps and upload forms still do not accept it. For websites, serve AVIF with a JPG fallback using the <picture> element.

If your browser can save AVIF itself the tool uses that; otherwise it encodes with a WebAssembly build of libavif, which takes a few seconds per large photo.

How to use it

  1. Choose one or more JPG files.
  2. They convert to AVIF automatically. Adjust the quality if you like.
  3. Download each file, or all of them as a ZIP.

Questions

What AVIF quality should I use?

The default 60% is a good balance for photos and usually looks the same as a high-quality JPG. Go to 70–80% for detailed images, or 100% for lossless.

Is AVIF better than WebP?

AVIF usually gives smaller files at the same quality, especially at lower bitrates. WebP encodes faster and is supported by slightly more older software.

Why does encoding take a while?

AVIF trades encoding speed for small files. Everything runs on your device, so speed depends on your phone or computer.

Are my files uploaded to a server?

No. The tool runs entirely in your browser using JavaScript, so your files never leave your device. You can even disconnect from the internet after the page loads and it keeps working.

Is it free?

Yes, free with no sign-up, no watermark and no daily limit.

Related tools

All image tools