Drop images here or browse files
JPG, PNG, WebP · up to 30 images · you can also paste with Ctrl+VPre-set for you: output format AVIF at quality 60, which is visually close to a high-quality JPEG. AVIF encoding is slower than JPG or WebP, so allow a few seconds per large photo. More settings are in the full Image Compressor.
What is AVIF?
AVIF is an image format based on the AV1 video codec, developed by the Alliance for Open Media. It compresses photos far more efficiently than JPG, and often beats WebP too, while also supporting transparency and wide colour. For websites this means hero images and galleries that load faster with no visible difference.
Browser support is now broad: current versions of Chrome, Edge, Firefox and Safari all display AVIF. For older browsers, websites usually serve AVIF with a JPG or WebP fallback.
How to convert images to AVIF
- Drop JPG, PNG or WebP files in the box above.
- Keep the quality at 60, or raise it to 70 for images with fine text or gradients. Lower values give smaller files.
- Press Compress images. The engine line under the settings shows WebAssembly when the AVIF encoder is active.
- Download your .avif files.
Good to know: AVIF needs WebAssembly. If your browser blocks it, Tolket tells you and saves WebP instead, so you still get a smaller modern file.
AVIF, WebP or JPG?
| AVIF | WebP | JPG | |
|---|---|---|---|
| File size | Smallest | Small | Larger |
| Encoding speed | Slow | Fast | Fast |
| Transparency | Yes | Yes | No |
| Best for | Modern websites | Websites, apps | Everything else |
Frequently asked questions
Can I upload AVIF to WordPress?
Yes. WordPress has supported AVIF uploads since version 6.5, provided your server’s image library supports it. Check that your theme displays it correctly before replacing all images.
Why does AVIF take longer than WebP?
AVIF tries many more ways to describe each block of the image, which is what makes its files so small. On a phone a large photo can take several seconds.
Can Windows and macOS open AVIF files?
Recent versions of Windows 11 and macOS can preview AVIF, and every modern browser can open them. Some older photo editors cannot, so keep your originals.
Related tools
Compare AVIF, WebP and JPG sizes.
Image ResizerResize hero images before converting.
Image CropperCrop banners to 16:9 or any ratio.
More quick tools
JPG to WebPCompress PNGPNG to JPGCompress to 200KBCrop to 16:9