What this tool does
Choose a WebP, set the quality and download an AVIF. Transparency is kept.
How to use it
- Choose a WebP file, or drop it on the page. A preview and its size appear.
- Set the quality with the slider. It starts at 85%.
- Press Convert to AVIF.
- Compare the input and output sizes the page shows, then press Download AVIF.
Where it runs
The work happens in your browser, using the canvas feature that every current browser has. The image is not uploaded and nothing is stored on this site’s server.
AVIF is the exception. Browsers can’t write AVIF from a canvas, so for AVIF output the tool sends your file to this site’s server, which encodes it with PHP’s GD library. That only works when the server’s GD build supports AVIF, and the tool shows an error when it doesn’t. The upload sits in a temporary folder just long enough for you to download the result (the link lasts 15 minutes). The server refuses images over 50 megapixels and allows 15 conversions a minute.
Is it worth converting?
Sometimes, but not always. AVIF often beats WebP on photographs, but converting from a WebP means starting with an image that has already lost detail, and AVIF then removes more. The savings can be small, and quality can suffer, particularly on smooth gradients and fine textures. If you still have the original JPG or PNG, convert from that instead.
A sensible test is to convert one representative image, compare size and appearance at 100% zoom, and only switch your whole library if the gain justifies it.
Technical notes
- The quality slider runs from 10 to 100. AVIF often looks fine at lower numbers than WebP.
- Browser support is good in current Chrome, Firefox, Edge and Safari 16.4 and later. Offer a WebP or JPG fallback with the
<picture>element.
Limits
- Metadata such as EXIF, location and colour profiles is not carried over, because the image is redrawn.
- Browsers apply a photo’s EXIF rotation when they open it, so a phone photo normally comes out the right way up.
- An animated image becomes a single still frame.
- The page states a 20 MB maximum but doesn’t check it in the browser. Very large images depend on your device’s memory, and the browser can fail on huge ones.
For the opposite direction, if a tool or platform can’t read AVIF, use AVIF to JPG or AVIF to PNG.
Will AVIF always be smaller than WebP?
No. When converting from WebP the gain can be small, and quality can drop. Test on one image first.
Should I convert from the original instead?
Yes, if you have it. Converting from the original JPG or PNG loses less detail.
Does it keep transparency?
Yes.
Why does it say AVIF isn’t available?
AVIF is encoded on this site’s server. If the server’s image library lacks AVIF support, the tool reports that.
Is my WebP uploaded?
Yes, for this tool. AVIF output is made on the server and the file is removed after the download.