JPG to AVIF Converter

Convert a JPG image to the modern, highly efficient AVIF format directly in your browser.

This tool runs entirely in your browser. Your files are never uploaded to a server.

Drop a JPG here or click to upload

What this tool does

Encodes a JPG image as AVIF, a next-generation format based on the AV1 video codec, using a WebAssembly build of the libavif encoder that runs entirely inside your browser.

How to use it

Drop or select one JPG file. The image is drawn to a canvas and its pixels are handed to the WebAssembly AVIF encoder; a ready-to-download AVIF file appears once encoding finishes, typically within a few seconds.

Worked example

Upload portrait.jpg (2.4 MB) and you get portrait.avif ready to download, usually a noticeably smaller file at a similar visual quality, encoded at the tool's default quality setting of 75.

Why convert to AVIF

AVIF generally produces much smaller files than JPG at comparable visual quality, which helps when file size matters — faster page loads, less storage, smaller uploads — as long as wherever you use the file supports AVIF.

What changes technically

Encoding runs a full WebAssembly build of the AV1 image encoder in your browser, which is more computationally demanding than a simple format conversion — large photos can take several seconds instead of appearing instantly. The output uses lossy compression at quality 75 by default, so it is not a pixel-exact copy of the source JPG.

Limitations

Only one file can be converted at a time — there's no batch mode or quality slider yet. Some older devices, email clients and desktop software still don't display AVIF, so keep a JPG copy if you're unsure the recipient supports it.

Scope, sources and privacy

Encoding uses a WebAssembly build of the open-source libavif library (the reference AVIF codec). The whole process runs locally in your browser; your image is never uploaded to a server.

Frequently Asked Questions

Is my image uploaded to a server?
No — the AVIF file is encoded entirely in your browser using WebAssembly. Your original image never leaves your device.
Will every browser and app display my new AVIF file?
All major modern browsers can display AVIF, but some older devices, email clients and desktop software may not — keep a JPG copy if you're unsure the recipient supports AVIF.
Why does encoding take longer than the other converters?
AVIF encoding runs a full WebAssembly build of the AV1 image encoder in your browser, which is more computationally intensive than simple format conversions like JPG-to-PNG — large images can take a few seconds.