Skip to content

Convert JPG to AVIF

Convert a JPG to AVIF on your device when this browser can create AVIF files. If it can't — which is still typical in Chrome, Firefox and Safari — the page tells you honestly and suggests WebP instead.

You can select several images and download a ZIP.

AVIF output is hidden because this browser can't create AVIF files from a canvas (Chrome, Firefox and Safari currently decode AVIF but don't expose an encoder). You can still open an AVIF if your browser can display it.

SmallestHighest
%

100% keeps the original size. Images are never enlarged.

Original

No image

Converted (AVIF)

No image

AVIF output, only when the browser can actually make it

AVIF can be a very small way to store a photograph, but a web page can only create one if the browser exposes an AVIF canvas encoder. Many browsers can already display AVIF and still cannot produce it that way. This page checks first, and will not pretend to offer a conversion it cannot finish.

How to convert JPG to AVIF

  1. Check that this browser can create AVIF. The tool probes the canvas encoder when the page loads. If AVIF output isn't available, you'll see a clear message rather than a file that is secretly a PNG or a failed download.
  2. Select a JPG. Click Select JPG and choose one file or several. JPEG and JFIF files are accepted here.
  3. Set the quality and convert. If the encoder is available, set the quality, click Convert to AVIF, and download the result or a ZIP.

If this browser cannot create AVIF

The practical alternative is JPG to WebP. WebP is widely displayed, this browser can almost certainly encode it, and the files are often noticeably smaller than the original JPG at a quality setting that looks the same on screen. Keep the original JPG as a master, and as a fallback for any destination that still does not accept newer formats.

Related conversions

This page is locked to JPG to AVIF. The Image Converter handles any pair of supported formats, including GIF and BMP as input, and can convert a mixed batch in one go.

Related tools and guides

JPG to AVIF FAQ

Why does it say my browser can't create AVIF?

Displaying an AVIF and creating one are different features. Current Chrome, Firefox and Safari can usually open an AVIF, but they do not yet expose an AVIF encoder to the canvas API this page uses. Until they do, this conversion cannot run in that browser. The Image Converter will also hide AVIF as an output in the same situation.

What should I use instead?

WebP is the practical next step: it is widely supported, often much smaller than a JPG at a similar quality, and this browser can almost certainly create it. Use the JPG to WebP page, or the Image Converter.

If my browser can encode AVIF, is the conversion lossless?

No. AVIF on this page uses a quality setting, like JPG and WebP. Keep the original JPG as a master.

Are my files uploaded?

No. When the conversion runs, it runs in your browser.

Can I convert many JPGs at once?

Yes, when the encoder is available. Select a batch and download a ZIP.