Photos are usually the heaviest part of a web page. AVIF is a newer format that stores the same photo in fewer bytes than JPG, so pages load faster and use less data. Converting JPG to AVIF is one of the simplest ways to get smaller image files without making the pictures smaller on screen.
This page opens Convert image with Convert to set to AVIF. Each Quality choice shows the size the AVIF will have, and the photos are converted in your browser, so nothing is uploaded. It is free, with no account and no watermark.
Why use AVIF for websites?
A smaller file reaches the visitor sooner. On a page with many photos, the saving adds up, which helps page speed on slow connections and phones. AVIF for websites is the main use: current browsers show it, and it usually makes a noticeably smaller file than JPG for the same look.
- Use AVIF for photos on your own site, shop or blog, where you control how the page is built.
- Keep the JPG for email, chat, print and upload forms. Many programs and sites still do not accept AVIF.
- Keep your original JPGs in any case. Converting back to JPG later would compress the photo a second time.
AVIF can also keep transparency, which JPG cannot, but a JPG has no transparent areas to keep. For logos and graphics with see-through backgrounds, start from the PNG instead: PNG to AVIF is set up for that.
Not ready for AVIF yet? WebP is another small web format that is quick to make, and JPG to WebP has its own page.
How to convert JPG to AVIF
- Press Select images and pick your JPG photos, or drop them anywhere on the page. Files ending in .jpeg open too, because JPG and JPEG are the same format.
- Convert to is already on AVIF. Pick a Quality: Smaller, Balanced or Best.
- Wait a moment: the stage shows Encoding the AVIF preview… until the exact size is ready.
- Check the result in Split view: the JPG is on the left and the AVIF on the right.
- Press Convert, then save. shop-photo.jpg comes out as shop-photo.avif.
The AVIF encoder is about 3.5 MB and loads once, the first time you need it. The photo keeps its width and height in pixels, so the AVIF drops straight into the place the JPG had on your page.
The tiles under Convert to also show the size the photo would have as WebP, PNG and the other formats, so you can see how much AVIF saves before you commit.
Picking the AVIF quality
AVIF quality works like JPG quality: lower numbers leave out more detail and make smaller files. The three choices stand for 60, 80 and 95 on the usual 0 to 100 scale, and each shows the size it gives for your photo.
| Quality | Number | Good for |
|---|---|---|
| Smaller | 60 | Large background photos and thumbnails, where size matters most |
| Balanced | 80 | Most photos on a page: the default |
| Best | 95 | Product close-ups, portraits and photos with fine text |
Judge with your own eyes. Press 100% in the zoom buttons under the stage, then drag the Split view divider across a face, a texture or some lettering. Hold to compare shows the original JPG while you press it. If you cannot see a difference at Smaller, take the smaller file.
With a batch, the sizes and the Split view are worked out for the first photo you open. So open your most detailed photo on its own, settle the Quality on it, then bring in the rest with Add more pictures and convert the whole set.
Converting cannot add detail. An AVIF made from a JPG looks at best like that JPG, so start from the largest, cleanest version of the photo you have.
Why AVIF is slow to make, and converting in bulk
AVIF gets its small files by searching hard for the best way to store each part of the picture. That takes time, so making an AVIF is slower than making a JPG or a WebP. To keep the page calm while you try settings, the exact size waits until the settings have been still for a second.
- Select up to 100 photos at once, or add more from the work screen. The button counts them: Convert 40 pictures.
- In a batch, each AVIF is made at a faster setting than a single photo, so a long run finishes sooner. The files can come out a little larger.
- The work happens on your computer, so a fast machine finishes sooner than an old laptop. Keep the tab open until it is done.
- Save all as ZIP saves every AVIF together, each with the name of its JPG.
- If a photo cannot be opened, for example because the file is damaged, its card says why and the rest carry on.
For smaller image files still, size the photos first. A photo several thousand pixels wide in a space a few hundred pixels wide wastes more bytes than any format can save, so resize the image to the width your page shows, then convert it here.
Putting AVIF on your site, and privacy
If your site builder takes AVIF, upload the files as you would JPGs. If you write the HTML yourself, the picture element lets a page offer the AVIF first and the JPG as a fallback for anything that cannot show it. Once the files are swapped, a page speed report should count fewer bytes for images, and the pages feel quicker on a phone.
Want to stay with JPG but lighter? Compress JPEG makes JPGs smaller with an adjustable quality instead.
- Every AVIF is drawn fresh, so camera, date and location details in the JPG are not copied into it. That is worth having on a public web page.
- Nothing is uploaded. The photos are converted in your browser, and our server does no picture work.
- It is free, with no account and no watermark. Image tools are not counted in the free daily limit, which applies to document conversions only.
- It works in current Chrome, Edge and Firefox. Very large pictures may be too big for your browser.
More on how we treat files is on the privacy page.
Make your photos lighter
To change JPG to AVIF, select your photos, keep Convert to on AVIF, pick a Quality while you watch the exact size, and press Convert. The AVIFs keep their names and their size in pixels, ready for your site.
It is free and private. Select your JPG photos above to start.