JPG to AVIF
More tools
- AVIF to JPGConvert AVIF to JPG online and save the converted file.
- JPG to PNGConvert JPG to PNG online and save the converted file.
- JPG to JXLConvert JPG to JXL online and save the converted file.
- JXL to AVIFConvert JXL to AVIF online and save the converted file.
- PNG to AVIFConvert PNG to AVIF online and save the converted file.
- Image toolsResize, crop, compress and convert photos and pictures.
- HEIC to JPGConvert HEIC to JPG online and save the converted file.
- HEIC to PNGConvert HEIC to PNG online and save the converted file.
- HEIC to JXLConvert HEIC to JXL online and save the converted file.
- JXL to JPGConvert JXL to JPG online and save the converted file.
Images are usually the heaviest part of a web page, and most of them are still JPGs. AVIF stores the same photograph in a much smaller file, so pages load faster and use less mobile data. Chrome, Edge, Firefox and Safari have all displayed AVIF for several years, which makes it a practical format for a website today.
This page takes a JPG and encodes it as AVIF with the same width and height. The encoder is tuned for small files, using a quality setting of 60, a level at which photographs still look clean at normal size. Encoding AVIF is slow compared with other formats, so a large photo can take a little while, especially on a phone.
The work is done by an encoder that runs inside your browser, so your pictures are not uploaded. Pick up to 50 JPGs and they are converted one after another and saved in a single ZIP, ready to drop into your site's image folder.
Why convert JPG to AVIF
- You want faster pages and better loading scores for a website or online shop.
- Your content system or site builder accepts AVIF uploads.
- You want to store many photos for web use in less space.
- You are comparing AVIF with WebP and JPG for your own images.
Tips for JPG to AVIF
- Resize the photo to the size it is shown at first. A 4000-pixel image scaled down by the browser wastes most of its bytes in any format.
- Keep the JPG originals so you can serve them as a fallback or convert again later.
- Check a converted image at full size. Fine textures such as hair or grass are where strong compression shows first.
- Each file can be up to 100 MB on a computer or 50 MB on a phone.
When to keep the JPG file
Do not send AVIF files to people or upload forms. Many email programs, older phones, office software and print services cannot open them. AVIF is a format for pages you publish yourself, where the browser does the displaying.
JPG and AVIF at a glance
- JPG
- JPG has been the standard photo format since the 1990s. Everything opens it, but its compression is dated.
- AVIF
- AVIF, published in 2019 and based on the AV1 codec, is much smaller than JPG at similar quality and is shown by all current browsers.
FAQ
How much smaller is AVIF than JPG?
It varies with the picture. Most photographs come out far smaller, and a JPG that was already heavily compressed gains less.
Will the AVIF look worse?
The JPG is compressed again, at a setting chosen for small files. At normal viewing size photos look clean; zoomed in, very fine detail can be smoother.
Do all browsers show AVIF?
All current versions of Chrome, Edge, Firefox and Safari do. Very old browsers do not, which is why many sites keep a JPG fallback.
Why does conversion take longer than other formats?
AVIF encoding is heavy work, and here it runs on your own device instead of a server.
Are my photos uploaded?
No. They are encoded in your browser and stay on your device.