JPG to AVIF Converter

You want to see whether AVIF can shrink your JPG photos further than other formats. This page converts JPG to AVIF using your browser's built-in encoder, so it only works where that encoder exists. If your browser lacks it, the AVIF button stays greyed out rather than quietly giving you a different file type.

Drop images here, click to choose, or paste with Ctrl+V
JPG files · many files at once · nothing is uploaded
Embed this tool on your websiteShow code

Free to use on any site. Paste the code where you want the tool to appear. It runs inside the page; visitors' files are processed in their own browser and are not uploaded.

WordPress and most site builders have a "Custom HTML" block where this code can be pasted. The embed keeps a small link back to CalcMaster.

How to convert JPG to AVIF

  1. Add your JPG files by dropping them, clicking the drop zone or pasting.
  2. The output format is already set to AVIF. Adjust quality or size if you need to.
  3. Press Convert and compare the original and new size for each file.
  4. Download each file or all of them as a ZIP.

When to convert, and when not to

  • You tune a site for speed and can choose formats per visitor.
  • You are comparing JPG, WebP and AVIF on your own pictures.
  • You have a fallback ready for people whose software cannot open AVIF.
  • Avoid it for files that must open in e-mail, document editors or print workflows.

What changes

  • The photo is re-encoded as lossy AVIF, adding a new round of compression to the JPG.
  • The quality slider sets how strongly the encoder compresses.
  • Camera metadata and location data are not carried over.
  • Phone rotation is applied before saving.
  • The AVIF option depends on your browser. If it is disabled, try a current Chrome or Edge.

Why the AVIF button may be disabled

Browsers differ in which formats they can write, not just read. This converter checks at load time by trying to encode a tiny image. If your browser returns anything other than AVIF, the option is switched off. That protects you from a common trap, where a canvas silently hands back a PNG when it cannot do what you asked.

If you see the disabled button, open the page in a different, up-to-date browser. Reading AVIF and writing AVIF are separate abilities, so a browser that displays AVIF images may still be unable to create them.

Comparing AVIF with what you already use

AVIF is designed to keep photos small, and for many images it does well. It is not a guarantee. Fine texture, film grain and sharp text can behave differently from smooth skies. Convert a handful of real images, set the same quality you would use for WebP, and compare the sizes and the look.

Encoding can take noticeably longer than for other formats, particularly on large photos, so a big batch may need patience. Files are processed one at a time to keep your browser responsive.

Plan the fallback before you publish

Not every viewer or program understands AVIF. Keep the JPG original, and on a website use markup that lets browsers pick a format they support. For anything that leaves your site, such as an attachment or a print job, send the JPG instead.

A sensible testing routine

Pick a few photos that represent your site: one smooth and bright, one dark, one with fine detail such as foliage or fabric. Convert them to AVIF at one quality value, then to WebP at the same value for comparison. Write down the sizes shown on each row and look at all three versions at full size.

This small experiment tells you more than any general claim, because the outcome depends on your own images. If the saving is small for your content, you may decide the extra encoding time and the fallback work are not worth it.

If you publish many photos, convert a representative sample first and note how long each file takes. Encoding time grows with the number of pixels, so scaling large originals down to the size your page actually displays helps both the speed of conversion and the weight of the result. Keep the full-size JPG archived in case you want to re-encode later with different settings.

Privacy: your files stay on your device

  • The tool decodes, resizes and encodes your pictures with your browser. The files are never sent to a server.
  • To check it yourself: open the browser developer tools (F12), open the Network tab, convert a file, and look for any request that carries your image. You will see none.

Frequently asked questions

Why can't I click AVIF?

Your browser cannot create AVIF files. Try an up-to-date Chrome or Edge.

Is AVIF always smaller than JPG?

Not always. Check the size shown for each of your own files.

Does it keep my EXIF data?

No. Metadata is dropped during conversion.

Why is it slower than other conversions?

AVIF encoding is demanding, especially for large images.

Can I use the result in an e-mail?

Many mail programs cannot show AVIF. Use JPG for e-mail.

Should I replace all my JPG files with AVIF?

Not without testing. Keep the originals, compare results on your own photos, and offer a fallback format.

Related converters