drag & drop, click, or paste from clipboard

Drop to add

JPG to AVIF – Maximum Compression for Modern Browsers

AVIF is currently the best-performing format for photographic web images. It consistently produces smaller files than WebP at the same visual quality — often 20% smaller or more. If your target audience uses modern browsers and you're optimizing for page-load performance, AVIF is worth the switch.

The trade-off is encoding time: AVIF takes longer to encode than JPG or WebP, which is why a server-side tool like this is practical for batch jobs.

Browser support: where AVIF works today

Chrome (85+), Firefox (93+), and Safari (16+) all support AVIF. Edge followed Chrome's engine, so it's covered too. Combined, these browsers represent well over 90% of current web traffic. The notable gap: Internet Explorer (effectively extinct but still measured in some enterprise environments) and very old Safari on iOS 15 and below. For general consumer-facing websites, AVIF is a safe choice in 2024.

If you need to serve older browsers, a JPG fallback using the HTML <code>&lt;picture&gt;</code> element is the standard approach — serve AVIF to capable browsers, JPG to the rest.

Quality settings for AVIF photo encoding

AVIF quality doesn't map 1:1 to JPEG quality — an AVIF at quality 60 often looks equivalent to a JPEG at quality 80+, simply because AVIF's compression is more efficient. Start at the default quality setting and compare with the source. For most photographic content, results look very close to the original at far smaller file sizes.

The encoder uses tuned effort settings internally, balancing compression ratio against encoding time to keep batch jobs practical.

FAQ

Is AVIF supported on Safari?

Yes, since Safari 16 (released September 2022). iPhones and Macs running macOS Ventura or later support AVIF natively in the browser. Older Safari versions do not.

How much smaller will my photos be in AVIF compared to JPG?

Results vary by image content, but AVIF typically achieves 30–50% smaller files than equivalent-quality JPG. High-detail photos compress particularly well.

Why does AVIF encoding take longer than other formats?

AVIF uses a more complex compression algorithm that requires more computation per image. The trade-off is better compression. For large batches, server-side processing is much faster than desktop software.

Can I convert 200 JPGs to AVIF in one go?

Yes. Upload up to 200 files, each up to 80 MB. Results download as a single ZIP file.