WebP to AVIF Converter
Batch convert WebP images to AVIF format with adjustable quality
Drop your WebP files in, set your quality, and download AVIF versions that are typically 20–50% smaller at the same visual fidelity. Batch mode means you can convert dozens of images at once instead of feeding them through one by one. And everything runs in your browser. Nothing gets uploaded.
How It Works
Your browser decodes each WebP onto an HTML canvas element, then re-encodes it as AVIF using canvas.toBlob('image/avif', quality). The quality slider maps to the compression parameter — lower means smaller files with more artifacts, higher keeps finer detail. Since this all happens in-browser, there's no round trip to a server and no file size limit beyond your device's memory.
Examples
Blog Hero Image
Shrinking a 1920×1080 hero photo for faster page load
hero-banner.webp
1920×1080, 184 KB
hero-banner.avif
1920×1080, 98 KB (47% smaller)
E-commerce Product Batch
Converting 25 product shots at once for a Shopify store migration
25× product photos (.webp)
800×800 each, ~65 KB avg
Total: 1.6 MB
25× product photos (.avif)
800×800 each, ~35 KB avg
Total: 875 KB (45% saved)
Thumbnail Gallery for a Portfolio
A photographer converting preview thumbnails — small images where every KB counts
thumb-12.webp
300×200, 18 KB
thumb-12.avif
300×200, 11 KB (39% smaller)
Who Uses This
Serving AVIF with <picture> fallbacks to cut page weight by 30–50%.
Batch-converting product catalogs so pages load before shoppers bounce.
Shrinking portfolio galleries without visible quality loss on retina screens.
Keeping image-heavy posts fast on mobile connections where every KB matters.
Common Mistakes
AVIF encoding through the Canvas API only works in Chrome 121+ and Edge 121+. Firefox and Safari can display AVIF but can't encode it client-side yet. Switch to Chrome or Edge for this tool.
Quality 100 still applies some compression — it is not truly lossless. The Canvas API doesn't support lossless AVIF encoding. For most uses, 75–85 looks identical to the original and gives you real file savings.
Some canvas implementations may flatten transparency during the conversion. If your WebP has a transparent background, check the output carefully. You might need to keep using WebP or PNG for those specific images.
Technical Details
- Processing: 100% client-side — nothing uploaded
- Browser Support: Chrome 121+, Edge 121+ (encoding); all modern browsers (decoding)
- Max File Size: Limited only by your device's available RAM
- Quality Range: 1 (max compression) to 100 (min compression)
- Batch Support: Unlimited files per session
Frequently Asked Questions
Is AVIF better than WebP?
For file size, yes — AVIF typically beats WebP by 20–50% at the same visual quality. It also supports HDR and wider color gamuts. The trade-off is slower encoding and narrower browser support for the encoding side, though decoding works in all major browsers now.
Can I convert WebP to AVIF without losing quality?
There's always some generation loss when going from one lossy format to another. Setting quality to 90–100 minimizes it, but true lossless conversion isn't possible through the browser's Canvas API. For most practical purposes at quality 80+, the difference is invisible to the naked eye.
Why does my browser say AVIF encoding is not supported?
Client-side AVIF encoding needs Chrome 121 or Edge 121 (both released January 2024). Firefox and Safari can show AVIF images but don't support creating them via the Canvas API. Update your browser or switch to Chrome to use this tool.
What quality setting should I use for WebP to AVIF conversion?
Start at 75–80 for most images. That gives you solid file savings without noticeable artifacts. If you're working with detailed photography or graphics with fine text, bump it up to 85–90. Below 60 you'll start seeing blurriness on edges and gradients.
Is it safe to convert images here — are my files uploaded anywhere?
Your files never leave your device. The entire conversion runs locally in your browser using JavaScript and the Canvas API. There is no server involved, no upload step, and no data collection. Close the tab and everything is gone.
Convert WebP images to AVIF format in batch with adjustable quality. AVIF offers superior compression, producing files 20-50% smaller than WebP at the same visual quality. Requires Chrome 121+. All processing runs in your browser — nothing is uploaded to any server.