How to use JPG to AVIF
- 1Drop your JPG photos into the box or click Choose files.
- 2Set the quality. Balanced (80) is a good start for websites.
- 3Optionally turn on Shrink large images to limit the longest side, which also makes encoding much faster.
- 4Click Convert to AVIF. The encoder loads on first use, then each photo takes a few seconds.
- 5Check the size change in the list and download the AVIF files, one by one or as a ZIP.
Why use AVIF
AVIF typically needs about half the bytes of a JPG for the same visual quality, and it handles gradients like skies without the blocky banding JPG shows at low quality. Smaller images load faster, which helps page speed scores and mobile visitors. Chrome, Edge, Firefox and Safari 16 and newer all display AVIF.
For maximum compatibility on a website, serve AVIF with a JPG fallback in a <picture> element. For email attachments or messengers, keep JPG, since many apps still cannot open AVIF.
Choosing a quality
The slider uses the same 10 to 100 scale as our JPG and WebP converters, mapped to the AVIF encoder so that equal numbers look roughly equally good. 80 suits most web photos, 60 is for thumbnails and backgrounds, and 92 or higher is for photos where every detail matters. At 90 and above the encoder also keeps full color resolution.
Resizing matters more than quality for big savings. A 12 megapixel phone photo shown at 1600 pixels wide wastes most of its bytes. Turn on Shrink large images and pick 1920 or 2560.
Speed and limits
- The AVIF encoder (about 3.5 MB) downloads once, the first time you convert.
- Encoding is single-threaded in the browser: a few seconds per photo, longer for very large images and on phones.
- Photo metadata such as GPS location is not copied into the AVIF.
- Need a format that works everywhere instead? Try Convert to WebP.
Frequently asked questions
How much smaller is AVIF than JPG?
It depends on the photo, but at similar visual quality AVIF is often 40 to 60 percent smaller. Every file in the list shows the exact size change.
Why does conversion take a few seconds?
AVIF compression is much more complex than JPG, and browsers cannot encode AVIF on their own, so the encoder runs as WebAssembly on your device. Shrinking large images speeds it up a lot.
Can every browser open AVIF?
Current Chrome, Edge, Firefox, Opera and Safari 16 or newer can. Older browsers and many desktop apps cannot, so keep the JPG originals.
Are my photos uploaded?
No. The encoder runs inside your browser and your photos stay on your device.
What quality should I use for a website?
Start with 80 and the longest side at 1920 pixels. Compare the result, and go down to 70 if it still looks good.