JPG to AVIF converter

Convert JPG files to AVIF inside this page. No upload, no limit on how many, no watermark.

  • 0 uploads
  • No limits
  • No signup
  • Works offline

AVIF compresses better than anything else in general use — commonly half the size of JPEG at the same perceived quality, and it holds up much better at aggressive settings, where JPEG turns blocky and AVIF just softens. If you are shrinking a large library of photographs for the web, or archiving them where storage costs something, this is the conversion with the most to gain. The price is encoding time, and it is not small.

When you actually need this conversion

  • You are optimising a photo-heavy site and have already taken WebP as far as it goes.
  • You are archiving a large collection where halving the total size is worth waiting for.
  • You need quality to survive heavy compression — AVIF degrades far more gracefully than JPEG at low bitrates.

What to watch out for

  • Encoding is slow. A large photograph can take several seconds, and a big batch is a job you start and walk away from. Decoding, by contrast, is fast.
  • Software support outside browsers is still thin. Treat AVIF as a delivery and archive format, not as something to email to a colleague.
  • Re-encoding an already-lossy JPEG loses a little more. Start from the best original you have.

JPG and AVIF, side by side

JPEGAVIF
Released19922019
Compressionlossyboth
Transparencynoyes
Animationnoyes
Supporteverywhere, without exceptionall current browsers; limited elsewhere

The most aggressive size reduction available for web images — often half the bytes of the JPEG at the same perceived quality. Encoding is slow, sometimes several seconds for a large photograph, because AV1 searches a very large space of prediction modes.

How the conversion works here

Your file is decoded in a Web Worker inside this browser tab — by the browser's own image pipeline where it can, and by a WebAssembly build of libheif or libavif where it cannot. The decoded pixels are then re-encoded with libavif, the same encoder Squoosh uses.

All of that happens on the processor in front of you. There is no upload step, no queue and no server, which is why there is no size cap, no daily allowance and no paid tier — and why the whole thing keeps working with the network switched off.

Doing more than one thing

Most people converting a format also need it smaller or a different size. The result screen hands your converted files straight to the compressor or the resizer in one click — no second download, no re-selecting files. If you need several formats, the general converter lets you pick the output each time.

How it works

  1. 01Add your JPG filesDrop them on the page, click to browse, paste from the clipboard, or drop a whole folder.
  2. 02Conversion runs on your deviceEach file is decoded and re-encoded as AVIF by a WebAssembly codec in a background thread. Nothing is uploaded.
  3. 03Adjust if you need toMove the quality slider — 90 is visually indistinguishable from the source for most photographs.
  4. 04DownloadSave one file, or take the whole batch as a zip built on your device.

Questions people actually ask

How much smaller than JPEG?
Around 50% at matched visual quality is typical for photographs, sometimes better. The advantage widens as you push the quality down.
Why does it take so long?
AVIF encoding searches a much larger space of possible encodings than JPEG does — that search is exactly where the size advantage comes from. Here it runs on your own device in a background thread, so the page stays responsive while it works.
Is AVIF safe to use on a live site?
For browsers, yes — support has been broad since around 2023. Keep a JPEG or WebP fallback if your audience includes older devices.
AVIF or WebP?
AVIF compresses better and encodes far more slowly. WebP is the pragmatic default; AVIF is worth it when the file will be downloaded many times, or stored for a long time.