Skip to content

Convert JPG to AVIF

AVIF squeezes photos to roughly half of what JPG needs, at the same visual quality, with a real AV1 encoder and nothing stored.

  • Never stored
  • No queue, no waiting
  • No signup, no watermark

How it works

1

Add your JPGs

Drop any number of .jpg files onto the page.

2

Pick quality

The slider sets the AVIF quality; each file shows its new size as it finishes.

3

Download

Save files singly or as one ZIP.

Why this one takes a few seconds

AVIF is a still frame of AV1 video compression, and video compression is expensive to produce and cheap to consume. That asymmetry is the whole explanation for the wait: the encoder is searching through a very large space of ways to describe your picture, and the searching is what buys the size. A few seconds for a large photograph is normal and is not a sign that anything is wrong. Decoding, by contrast, is instant — which is the right trade for a picture encoded once and viewed many times.

What you get for it is roughly half the size of a JPEG at the same perceived quality, and better behaviour where JPEG is weakest. Smooth gradients — skies, studio backdrops, shadows — come out without the banding JPEG puts into them, and the 8×8 blocking that appears in a heavily compressed JPEG simply does not happen. AVIF also carries transparency and wide-gamut colour, neither of which JPEG can hold at all.

Start from the best original you have. Re-encoding a JPEG means the AVIF encoder inherits the JPEG's artefacts and cannot distinguish them from real detail, so it spends real bits preserving someone else's damage — the result is both larger and worse than encoding the same picture once from a PNG, a RAW export or a camera original. If you have the original, use it; if the JPG is all there is, keep the quality high enough that the second generation adds nothing visible.

Support is now good and not universal, and the distinction matters for what you do with the file. Every current browser decodes AVIF, so for a website it is simply the better format. Outside the browser it is patchier — some image viewers, older phones, email clients and design software still do not read it — so an AVIF emailed to someone is a gamble in a way a JPG never is. Camera and location metadata are not carried across.

When you want something else

The reference encoder gives you the dial this page cannot. avifenc -s 4 --min 20 --max 30 in.jpg out.avif trades encoding time against size explicitly — -s 0 is the slowest and smallest, -s 10 is nearly instant and noticeably bigger — and --jobs all uses every core, which matters enormously on a folder of hundreds. Nothing in a browser can spend two minutes on one photograph, and sometimes two minutes is exactly what the file is worth.

For a website, the format is only half the job. Serving AVIF with a JPEG fallback through a picture element, or letting a CDN negotiate the format per visitor, gets the size win without the compatibility risk — and sharp or libvips in a build step will generate every variant automatically, which is how this is done at any scale beyond a handful of images.

Frequently asked questions

How much smaller is AVIF really?

Typically 40-60% smaller than an equivalent-quality JPG. The before/after size sits next to every converted file, so you see your own numbers, not marketing ones.

Where can AVIF be used?

Every modern browser displays it, and PageSpeed actively rewards serving it. Native apps and editors are patchier — keep your originals.

Why is encoding slower than other formats?

AV1 encoding is heavy by design — that is where the compression comes from. Large photos take a few seconds each.

Are my photos stored anywhere?

No — nothing is stored at any point. Nothing is stored.

What quality should I pick?

60-75 is the sweet spot for web photos: dramatically smaller with no visible loss at normal viewing sizes.

Good to know: Encoding is CPU-heavy: expect a few seconds per large photo. EXIF metadata is stripped.

Put this tool on your website

Free for any blog, class page or help article. Paste one snippet and your visitors can use it right on your page.