Convert JPG to AVIF
Drop the JPG and download it as AVIF, the smallest you can get today.
Drop an image here
or
PNG, JPG, WEBP, HEIC, AVIF, JXL, GIF, BMP, TIFF and SVG · up to 20 MB
When jumping from JPG to AVIF pays off
If your photos are already JPG and you want to squeeze the size as far as it goes, AVIF is the end of the road: it typically lands at half or less of the JPG you started with at the same apparent quality, and below what WEBP achieves.
It's worth understanding what each jump buys, because it isn't linear:
- JPG → WEBP: 25–35% smaller. Easy, fast, supported everywhere since 2020.
- JPG → AVIF: another 20–30% below WEBP. More saving, more encoding time, and somewhat more recent support.
For a blog with a few images per article, WEBP already solves the problem and there's nothing more to think about. AVIF starts to pay off when the images are many, large, or bandwidth genuinely costs money.
Double compression, again
Your JPG has already been through a lossy compression. Converting it to AVIF decodes it and re-encodes it with a different codec, so two generations of loss stack up. At reasonable qualities you won't see it, but if you still have the original — the RAW, the exported PNG, the designer's file — convert that directly and save a whole generation.
Serve it with a fallback
No efficient format should be served alone, and AVIF least of all:
<picture>
<source srcset="photo.avif" type="image/avif">
<source srcset="photo.webp" type="image/webp">
<img src="photo.jpg" alt="…">
</picture>
Each browser takes the first one it understands. Someone on an eight-year-old machine still sees the photo, and everyone else saves half the bytes.
Common questions
- How much do I save against my JPG?
- On photographs, half or less at the same apparent quality is typical, and on some images considerably below that. It's the largest saving available today without it showing.
- AVIF or WEBP?
- AVIF saves another 20–30% over WEBP, but takes longer to encode and its support is somewhat more recent. If you serve few images, WEBP already gives you nearly all the benefit with no thought required. If bandwidth is a real cost, AVIF pays off.
- Do I lose quality converting?
- There's a second compression, because the JPG arrived already compressed. If you still have the uncompressed original, converting that straight to AVIF gives a better result than going through JPG.
- Which browsers support it?
- Chrome since 2020, Firefox since 2021 and Safari since 2023. To cover older machines, serve it with the picture element and WEBP or JPG as a fallback.
- Why does the conversion take longer?
- Because AVIF's encoder does far more work searching for the best compression. That's the price of the saving, and you pay it once when converting, not every time someone loads the page.