Convert JPG to AVIF

AVIF is the best-compressing image format on the web today — typically 30–50% smaller than JPG at the same visual quality. Encode your images to AVIF locally, with no uploads and no limits.

Drop your images hereor click to choose files — processed on your device, never uploaded

100% private: files are processed in your browser and never uploaded to any server.

How it works

  1. Drop JPG, PNG or WebP files into the box above.
  2. Pick a quality level (50 is a good default — AVIF stays sharp at low values).
  3. Click Apply and download your AVIF files.

The best compression currently available

AVIF is the most efficient still-image format in general use. On typical photographs it reaches the quality of a JPEG at roughly half the bytes, and it handles the cases JPEG handles worst — smooth gradients, which JPEG renders with visible banding, and flat colour areas, where JPEG leaves faint blocking. It also supports transparency, animation, ten-bit colour and high dynamic range, none of which JPEG can express.

For a site where images dominate page weight, converting a photograph library to AVIF is one of the largest performance improvements available without changing anything about the design.

The trade-offs worth knowing

Encoding is slow. AVIF derives from a video codec that was built to spend real computation searching for the smallest representation, and a large photograph can take a noticeable moment — here that computation happens on your own device rather than in someone's server queue, which is why a big batch is worth starting and leaving to run.

Support is good but not universal. Every current browser decodes AVIF, so web use is safe; outside the browser, older operating systems and a lot of desktop software still cannot open it. Treat AVIF as a delivery format for the web and keep a JPEG or the original for anything you send to another person.

Good to know

AVIF is the best-compressing image format currently usable on the web — typically 40–50% smaller than JPG at the same visual quality, and further ahead still on photographs with smooth gradients, where it avoids the banding JPG produces.

Encoding is genuinely slow: the codec runs as a WebAssembly module on your machine and a large photo can take several seconds. That is the cost of the compression, not a bug. The quality scale is also not the same as JPEG's — 50 is a good starting point here, well below where you would set a JPG.

Supported by Chrome, Firefox, Edge and Safari 16+. Because coverage is high but not universal, the usual approach is a <picture> element with a WebP or JPG fallback so older browsers still get an image.

Read more: WebP and AVIF explained

Frequently asked questions

How much smaller is AVIF than JPG?

Typically 30–50% at equivalent visual quality, and even more for images with smooth gradients. The exact saving depends on the content.

Is AVIF supported everywhere?

All modern browsers (Chrome, Firefox, Safari 16+, Edge) display AVIF. Desktop apps and older software are more limited — keep the original if you need broad compatibility.

Why does encoding take a few seconds?

AVIF compression is computationally heavy — that is exactly why it compresses so well. Encoding runs in a WebAssembly module on your device; large photos can take several seconds each.

Does AVIF keep transparency?

Yes — converting a transparent PNG to AVIF preserves the alpha channel while reducing the size dramatically.

Is it worth converting a JPEG that is already small?

Rarely. The gain is proportional, so a 40 KB thumbnail saves very little in absolute terms. Concentrate on large photographs, where halving the size is measured in hundreds of kilobytes.

Will converting improve a JPEG that looks bad?

No. AVIF preserves the artefacts already in the JPEG rather than removing them. Convert from the highest-quality source you have.