Convert Images to AVIF
Make the smallest possible website images with AVIF, with a live before-and-after preview. Nothing is uploaded.
Your privacy: Images are converted on your device. We do not upload or retain your images on our servers. How this works
Handy for: Fastest-loading websites · Large photo galleries
Good to know: AVIF takes longer to create than JPG or WebP, especially for large photos. Still images only.
Results
Drag the divider or use the arrow keys to compare.
- Original
- New size
- Size change
Try another free tool
How to convert an image to AVIF
- Choose, drag in or paste a JPG, PNG, WebP, HEIC or AVIF image.
- A preview is created automatically. Move the Quality slider and drag the divider to compare.
- Download the AVIF.
Encoding runs in your browser using the open-source libavif encoder. Your image is never uploaded.
What is AVIF?
AVIF is an image format based on the AV1 video codec. It usually produces smaller files than both JPG and WebP at the same visual quality, which makes it popular for image-heavy websites. Current versions of Chrome, Edge, Firefox and Safari can display AVIF.
Should I use AVIF or WebP?
- AVIF – the smallest files. Best for websites where speed matters most and your platform accepts AVIF uploads.
- WebP – slightly larger, faster to create, and accepted by more website builders, editors and apps.
- JPG – for email, forms and printing, where AVIF and WebP may be rejected.
What quality setting should I use?
AVIF quality numbers aren’t the same as JPG’s. A setting around 50–65 usually looks very close to the original while saving a lot of space. Check fine detail such as hair, fabric and small text in the comparison before downloading, and zoom in if needed.
Why does AVIF take longer?
AVIF squeezes images harder than older formats, so creating one takes more computing work – a few seconds for a typical photo, longer for very large images on older phones. Reducing the width in Advanced settings speeds it up and is usually worthwhile for web images anyway.
Converting many images to AVIF
To convert a set of images, use Batch Image Conversion and choose AVIF. Smaller batches finish faster, because each AVIF takes longer to create than a JPG or WebP.
Keep a fallback
If you publish AVIF images yourself, keep a JPG or WebP version too, so older apps and browsers still have something to show. Many website platforms create these fallbacks automatically.
WebP vs AVIF at a glance
| WebP | AVIF | |
|---|---|---|
| Compression | Lossy or lossless | Lossy or lossless |
| Transparency | Yes | Yes |
| Animation | Yes | Yes |
| Where it opens | All current browsers, most apps | Current browsers; fewer apps |
| Best for | Website images | Smallest website images |
Convert Images to AVIF FAQs
Is AVIF better than WebP?
AVIF usually gives smaller files at the same quality, but WebP is accepted by more apps and is faster to create.
Do all browsers support AVIF?
Current versions of Chrome, Edge, Firefox and Safari do. Very old browsers do not.
Can I convert AVIF back to JPG?
Yes. Use Batch Image Conversion and choose JPG.