Convert JPG to AVIF, the smallest web image format
AVIF squeezes photographs smaller than WebP and far smaller than JPG at the same visual quality.
- Free, no sign-up
- No upload
- Up to 50 files
How it works
Three steps, under a minute
AVIF squeezes photographs smaller than WebP and far smaller than JPG at the same visual quality. No browser can write AVIF on its own, so this tool loads the libavif encoder as WebAssembly (3.4 MB, fetched once) and runs it on your device. Nothing is uploaded, and it works in Chrome, Edge, Firefox and Safari.
- 1
Add your files
Drop your JPG files on the tool.
- 2
Convert
Set the AVIF quality. 60 to 70 usually matches a JPG at 85 to 90.
- 3
Download
Click Convert. The encoder loads the first time (a few seconds), then compare sizes and download.
What you get
Built for real batches, not just one file
Real AVIF encoding on your device (libavif in WebAssembly), with a quality slider and real file sizes.
Batch conversion with ZIP download.
Works in every current browser, including Safari.
No upload, no account, no watermark.
Quality and size
AVIF quality is a different scale
AVIF needs a lower quality number than JPG to look the same. A typical photograph at AVIF quality 60 looks like JPG at 85 to 90 and is often less than half the size. Start at 65, check fine detail in the Compare view, and lower it until you see softening, then step back up. The file-size readout updates for every image.
In depth
Browser support for AVIF
Displaying AVIF: Chrome, Edge, Firefox and Safari 16 and later all show AVIF images. Writing AVIF is another matter: no browser exposes an AVIF encoder to web pages, which is why most online converters upload your file to a server. This tool instead ships the libavif encoder compiled to WebAssembly and runs it in the page, so the conversion stays on your device in any browser. On a website, serve AVIF through a picture element with a WebP or JPG fallback for older visitors.
In depth
Speed
AV1 encoding is slower than JPG or WebP. The encoder downloads once (3.4 MB), then a 12-megapixel photograph takes a few seconds per file on a laptop and longer on a phone. The list shows which file is being processed and you can cancel at any time.
FAQ
Frequently asked questions
Can’t find an answer? The guides cover formats, sizes and privacy in depth.
Read the guidesIs the file uploaded anywhere?
No. The conversion runs inside your browser with the canvas API and the file never leaves your device. You can confirm it in the browser’s developer tools: the Network tab shows no upload while the tool works.
Does this work in Safari?
Yes. The encoder is loaded into the page as WebAssembly, so it does not depend on the browser having its own AVIF encoder. If the encoder fails to download, the row says so and you can choose WebP instead.
How much smaller is AVIF than JPG?
It varies by image. Photographs commonly come out 40 to 60 percent smaller than a JPG of similar appearance. The tool shows the real figure for each file.
Does AVIF keep EXIF data?
Not through this tool. The output is a clean AVIF without metadata or GPS location.
Can I convert AVIF back to JPG?
Yes, with the AVIF to JPG tool, in any browser.
Sources
Sources and further reading
- Wikipedia: JPEG (opens in a new tab)
- Wikipedia: AVIF (opens in a new tab)
- MDN: Image file type and format guide (opens in a new tab)
Links checked 13 November 2026. Outside pages change, so check the date on them.
Related tools
More free tools
Done here? Make it look great.
Adjust, retouch and add effects in the full editor. Still 100% on your device.