Convert JPG photos to AVIF without uploading them
AVIF is a modern image format based on the AV1 video codec. For the same visual quality it is usually far smaller than JPEG, so pages load faster and you store less. This tool re-encodes your JPG photos as AVIF using a quality slider you control, with no upload and no signup.
How it works
Each JPG is decoded and drawn onto an HTML <canvas> at its original pixel
dimensions. The canvas is then re-encoded by your browser with
canvas.toBlob("image/avif", quality), where the quality slider (10%–100%, 60%
by default) maps to the AVIF encoder’s quality setting. The result is offered as
a downloadable .avif file showing its new byte size. All of this happens on
your device — AVIF encoding requires a recent browser (Chrome, Edge, Firefox or
Safari); if yours can’t encode AVIF, the tool tells you.
Example
A 1.8 MB JPEG photo re-encoded at the default 60% quality typically lands around 0.6–0.9 MB as AVIF — roughly a 50–65% reduction — while staying visually close to the original at full resolution. Drop the slider to 40% for a lighter preview, or raise it to 90% to preserve fine detail in a hero image.
Everything runs locally in your browser — your photos are never uploaded, stored, or seen by anyone, which makes it both faster (no upload wait) and private by design.