LighterpixCompress an image

In-browser image optimizer

Convert AVIF to JPG

AVIF is what modern sites serve, and it is also what breaks when you send it to a print shop, an older editor or an upload form that only accepts JPEG. This page decodes the AVIF in your tab and writes a JPEG that anything can open.

Choose an imageTry a sample

Convert AVIF to JPG in three steps

  1. Drop the AVIFIt decodes locally; nothing is uploaded and no server is involved.
  2. Set JPEG quality 88High enough that the second lossy pass is hard to see, low enough to stay reasonably small. Drop to 80 if the file is going to be shown on screen only.
  3. Check what happens to transparencyJPEG has no alpha channel, so transparent areas fill with the background colour — white by default. If you need the cut-out preserved, export PNG instead.

You lose a little quality, always

AVIF is itself lossy, so converting to JPEG re-encodes an already compressed image. At quality 88 the difference is very hard to see at normal size, but it is there. Keep the AVIF as the master if the file matters.

Expect the JPEG to be larger

AVIF is the more efficient codec, so the same picture as JPEG is typically 2–4× the size. That is the price of compatibility, and it is worth paying only for the formats that need it.

What to expect

SituationBest export
Email, print shop, old editorJPEG 88
Upload form that rejects AVIFJPEG 85
Cut-out with transparencyPNG, not JPEG
Another websitekeep the AVIF

Questions

Does converting AVIF to JPG lose quality?

Yes — it is a second lossy generation. At quality 88 the loss is very hard to see; below 80 it becomes visible in fine detail and gradients.

Why is the JPG bigger than the AVIF?

JPEG is an older, less efficient codec. At matched visual quality it needs two to four times the bytes.

Is my file uploaded?

No. The AVIF decoder and the JPEG encoder both run as WebAssembly in this tab.