Convert JPG to AVIF

Processed locally · No upload · No signup

Free online JPG to AVIF converter. Drag and drop files, convert in batch, and download, without ever uploading to a server.

Drop your JPG files here

Any image format works; this page is tuned for JPG → AVIF

Files

Your files appear here

Why convert JPG to AVIF?

AVIF often beats JPG by 30-50% at similar visual quality, which is why sites that care about performance ship AVIF with fallbacks. Convert JPG to AVIF in the browser when preparing assets for modern CDNs and next-gen img srcsets.

Tips

  • Encoding uses Squoosh/libavif in your browser (quality default 50 for size wins).
  • Keep a JPG or WebP fallback for older clients that cannot display AVIF.
  • Quality 40-55 shrinks photos; 70+ is for near-archival and often larger than a good JPG.

Why AVIF encoding takes longer than JPG or WebP

If converting a batch of photos to AVIF feels slower than the same batch to WebP, that's expected. AVIF's compression, built on the AV1 video codec, does more analysis per image than JPG's older, simpler algorithm. That is part of why it can pack the same visual quality into fewer bytes. The extra CPU time happens once, at conversion time, and has no effect on how fast the resulting AVIF loads for a visitor. For a handful of images this is barely noticeable. For a very large batch, expect it to take longer than the equivalent JPG or WebP conversion.

What we measured

A 153,212-byte JPG with a 231-byte EXIF block became a 43,384-byte AVIF, or 28.3 percent of the source. Three runs took 1,044, 1,110, and 1,068 ms. The browser was Chromium 159 on a Windows 10 i7-1165G7 with 16 GB RAM, against local build 246bb99 on 2026-11-17. The AVIF held no EXIF tag and no ICC profile, so the camera fields and the GPS block in the source did not carry over.

Metadata is the hidden loss

The size drop is real, but the output is not a full copy of the JPG. The AVIF path encodes from decoded pixels, so EXIF, XMP, and the source color profile are left behind. A photo that carried a camera model, a capture time, or GPS coordinates loses them. If another program needs those fields, keep the JPG. If the photo is for a web page and the metadata is private, this removal is useful.

When JPG to AVIF is the wrong choice

Keep the JPG when you need the metadata, when the destination cannot open AVIF, or when the image is a screenshot with small text that quality 50 may soften. AVIF displays in Chrome 85, Firefox 93, and Safari 16.4, about 96.7 percent of global users. Use a picture element with a JPG fallback if the page must serve older browsers.

Sources: caniuse: AVIF support, MDN: JPEG format.

Frequently asked questions

How do I convert JPG to AVIF?

Drop your JPG file into the converter above, adjust the quality if needed, and click "Convert to AVIF". The conversion happens entirely in your browser. Your file is never uploaded to any server.

Is the JPG to AVIF conversion lossless?

AVIF is a lossy format. Quality is controllable from 1-100% (default 50%); at recommended settings the result is visually close to the source for most photos.

Is there a file size limit?

The tool can handle files up to about 20 MB per image. Since processing happens in your browser, the practical limit is your device's available memory. Most modern devices can comfortably batch-convert dozens of images at once.

Are my JPG files uploaded to your servers?

No. All JPG to AVIF conversion happens entirely client-side. Conversion uses the Canvas API. Your files never leave your browser.

Other JPG conversions

Or go the other way: convert AVIF to…