Convert JPG to AVIF

AVIF is the most compact image format modern browsers display today — at the same visual quality it usually lands 20–50% below the equivalent JPG, which is why streaming services and high-traffic websites serve it. Converting your JPG photos to AVIF is a straightforward way to shrink a page without making it look worse. This tool runs entirely inside your browser tab: it decodes your JPG with the browser's own image engine, then encodes AVIF with the libaom encoder compiled to WebAssembly. Honest and important: the AVIF encoding step is WASM-based, not a built-in browser transcoder — but like everything else here, your files never leave your device. No uploads, no server processing, no watermarks, no usage caps, and it works offline once the encoder finishes loading. The quality slider (default 50%) trades size against fidelity; drop lower for thumbnails, raise it for detailed photos. One note on transparency: JPG has no alpha channel, so an AVIF made from a JPG won't have one either — start from PNG if you need transparent AVIF. Keep the original JPG when you must support very old software, and expect encoding to take a few seconds on large images since AVIF compression is compute-heavy.

Drop JPG files here or click to browse

Processed locally — files never leave your device

How to use

  1. Drop your JPG files into the box, or click it to browse.
  2. Set the quality slider (50% is a good default for photos).
  3. The AVIF encoder (WebAssembly) runs locally — a few seconds per image.
  4. Download the .avif files.

Frequently asked questions

Are my JPG files uploaded anywhere?

No. Decoding uses your browser's built-in image engine and the AVIF encoder is a WebAssembly module that runs inside the tab. Nothing is transmitted, and it works offline once loaded.

Is AVIF encoding done by the browser natively?

No — and we say so plainly. Browsers can display AVIF, but none expose a built-in AVIF encoder to web pages, so this tool uses the libaom encoder compiled to WebAssembly. It's still 100% local; only the engine differs.

How much smaller will the AVIF be?

Typically 20–50% below the JPG at matching visual quality, depending on image content and the quality setting. Detailed photos shrink less dramatically than smooth scenes.

Which quality should I pick?

50% is a solid default for photos. Push toward 70–90% when detail matters, or 30–40% for thumbnails and decorative images. Changing the slider re-runs the conversion automatically.

Can browsers and apps open AVIF?

Current Chrome, Firefox and Safari (16+) all display AVIF, so it's safe for modern web use. Some older desktop editors and legacy software still can't — keep the original JPG where that matters.

Why is conversion slower than other tools?

AVIF gets its small files from deep, compute-heavy compression, and encoding runs on your own device's CPU. Seconds per image is normal — the payoff is the file you download afterwards.

Related tools

Starting from PNG? Use PNG to AVIF (transparency kept). From WebP? WebP to AVIF. Need AVIF back to JPG? AVIF to JPG. Prefer JPG without changing format? Compress JPG.