Step-by-step instructions
- 1
Method 1: Browser converter
Go to formatdrop.com → Image Converter. Drop your PNG. Select AVIF output. Set quality (50-70 is typically good for photos; higher for detailed images). Download. The conversion runs in your browser.
Go to converter - 2
Method 2: Squoosh (Google's free image optimizer)
Go to squoosh.app in Chrome. Drop your PNG. On the right side, select 'AVIF' as the output format. Adjust quality slider while comparing with the original. Download the optimized AVIF. Squoosh shows file sizes and quality comparisons side-by-side — excellent for finding the right quality setting.
- 3
Method 3: avifenc (reference encoder)
Install libavif tools (Mac: brew install libavif; Ubuntu: apt install libavif-apps). Convert: avifenc --quality 60 --speed 6 input.png output.avif. Quality range: 0-63 (lower = higher quality). Speed: 0 (slowest, best quality) to 10 (fastest). For web use: quality 50-65, speed 6.
- 4
Implement with <picture> for fallback
<picture><source srcset='image.avif' type='image/avif'><source srcset='image.webp' type='image/webp'><img src='image.jpg' alt='description'></picture>. This serves AVIF to 94%+ of users, WebP to the rest, with JPG as the universal fallback.
Why convert PNG to AVIF?
PNG is lossless — it stores every pixel perfectly. For photographic content on websites, lossless is overkill and creates unnecessarily large files. A photographic PNG might be 2MB; the same image as AVIF at equivalent visual quality is 200KB. Converting to AVIF can reduce image bandwidth by 80-90% for photographic content. For images with transparency: AVIF lossless mode achieves 26% smaller files than lossless PNG.
Your files never leave your device
FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.
Frequently asked questions
Should I use lossy or lossless AVIF?
Is AVIF better than WebP for web images?
No account. No upload. Works in any browser.