Why AVIF makes the smallest image files
WebP made images smaller. AVIF makes them smaller still. AVIF is the newest image format on the web, built on the same video compression technology that powers modern streaming, and it squeezes photos down further than WebP or JPG at the same visible quality. The same photo saved as AVIF at quality 80 is often half the size of the WebP, and a third of the JPG. For a photo heavy page, that is the difference between a page that loads in two seconds and a page that loads in five.
This converter turns your PNG or JPG into AVIF right in your browser, and lets you choose the quality. Move the slider from 10 to 100 and the tool re-encodes the image at that quality. At 100 the file is nearly lossless but barely smaller. At 80 you get a good balance for photos. At 50 the file is much smaller but flat areas of colour start to show banding and blocky artefacts. The preview shows you the result before you download, so you can find the lowest quality that still looks good for that particular image. The tool also checks first whether your browser can encode AVIF at all, and tells you plainly if it cannot.
How to use the converter
Choose a PNG or JPG image with the file button at the top of this page. The image loads into the tool and the message line shows its name and size in kilobytes. Set the quality slider: 80 is a safe start for photos, 90 for images with fine detail, and 60 for thumbnails where nobody will look closely. Press Convert to AVIF. If your browser cannot encode AVIF, the tool says so and suggests the WebP converter instead. If it can, the tool draws the image onto a canvas, encodes it as AVIF at your quality, and shows the result: a big percentage for how much smaller the file is, a purple bar for the saving, the original and new sizes, a preview of the converted image, and a download button.
Worked example
Take a JPG photo that weighs 100,000 bytes, about 97.7 kilobytes. Convert it at quality 80 and the AVIF comes out at 30,000 bytes, about 29.3 kilobytes. The saving is 70,000 bytes, which is 70 percent smaller. The tool shows 70 percent smaller in large type, the purple bar fills to 70 percent, and the label reads original 97.7 KB, AVIF 29.3 KB, saved about 68 KB at quality 80. The meaning line says the AVIF is 70 percent smaller with the same width and height, and the next step says to check the preview and replace the original on your page.
Where AVIF helps most
The biggest win is photo heavy pages: blogs, shops, portfolios, and galleries. A page that drops from 4 megabytes of images to 1 megabyte loads noticeably faster on a phone connection, and search engines count page speed in rankings. AVIF also helps with hero images and banners, the first thing a visitor sees. Converting the hero alone can cut a second off the first paint, which is the moment a visitor decides whether the page feels fast or slow.
Honest limitations
This tool converts one image at a time, in your browser, and it works on the pixels of the image you give it. It cannot make a blurry photo sharp, and it cannot recover detail that a low quality JPG already threw away. Converting a JPG to AVIF re-compresses an already compressed image, so the result is never better than the original pixels. For the best quality, convert from the original PNG or the highest quality JPG you have. AVIF encoding is also slower than WebP encoding, so a very large image can take a few seconds, and very large images, over about 8,000 pixels wide, may be slow or fail on older devices. Some browsers, especially older Safari versions, can display AVIF but cannot encode it, so the tool will tell you to use a newer browser or the WebP converter.
Frequently asked questions
What quality should I use for photos? Start at 80. It is the sweet spot for most photos: much smaller than the JPG, with artefacts too small to notice. Drop to 70 for thumbnails and large background photos, and rise to 90 for images where fine detail matters, like product close-ups.
Is my image uploaded to a server? No. The conversion happens in your browser with the canvas element. Your image never leaves your device, which also means the tool works offline once the page is loaded.
Will AVIF work in all browsers? All modern browsers display AVIF, including Chrome, Firefox, Safari, and Edge. Very old browsers do not. If your audience includes old systems, keep a WebP or JPG copy as a fallback in a picture element.
También disponible en español: Convertir una Imagen a AVIF en Línea – Gratis
