Tool

Convert JPG to AVIF - Free Online

Drop JPG files, export AVIF copies that are much smaller for the modern web.

What this tool does

Convert JPG to AVIF in your browser. AVIF is typically 30-50% smaller than JPG at matching visual quality. Adjust quality, batch-convert and download as a ZIP.

Private browser-based processing

Your images are processed locally in your browser. Files are not uploaded to PhotoTools.org servers, and the finished result is generated on your device.

When to convert JPG to AVIF

AVIF delivers the biggest file-size reduction over JPG of any widely-supported format. For modern websites and apps, that means faster page loads, better Core Web Vitals scores, and lower bandwidth bills. Compared to WebP, AVIF is typically 20-30% smaller again at matching visual quality.

Common situations: optimising a photo gallery for a personal site, batch-shrinking JPGs before uploading to a CDN, preparing assets for a static-site build, or shrinking image attachments for a modern email pipeline.

Quality and file-size trade-offs

AVIF at 80% quality is typically 40-50% smaller than JPG at 90%. At 70% the savings climb further with little visible difference. Past 60% compression artefacts can become visible on faces, skies and other smooth gradients.

For web image delivery, 75-85% AVIF is the usual default. For photo archives where size matters less, push to 90% and keep the larger file for fidelity.

Browser and platform support

All modern browsers (Chrome, Edge, Firefox, Safari, Opera) support AVIF since 2024, so it is safe for any contemporary website or web app. Some legacy email clients, older Android versions and a handful of corporate apps still reject AVIF, so stay on WebP or JPG for those audiences.

For maximum compatibility you can serve AVIF to modern browsers via a picture element with a WebP or JPG fallback. Most static-site generators and image CDNs support this pattern out of the box.

How the conversion works in your browser

The tool decodes the JPG using the browser Canvas API and re-encodes it as an AVIF with your chosen quality setting. Native browser AVIF encoding produces standard files that work everywhere AVIF is supported.

EXIF metadata is dropped during re-encoding, which removes camera, lens and GPS fields from the AVIF. If you need to preserve metadata, save the source JPG separately.

Batch convert and ZIP download

When you have a folder of JPGs to optimise for the web, drop them in at once. Each becomes a card with its own original and converted size so you can see the savings file by file. Click Convert all to process the batch.

When the batch finishes the bottom bar offers a single ZIP download with every AVIF file. This is the fastest way to bundle a folder for a CDN upload, a deploy or an image-optimisation step in a static-site pipeline.

Frequently asked questions

Why convert JPG to AVIF?

AVIF cuts JPG file size by 30-50% at matching visual quality. For websites and apps that target modern browsers, this means faster page loads and lower bandwidth costs.

Will AVIF work on my site or app?

All modern browsers (Chrome, Edge, Firefox, Safari) support AVIF since 2024. Some legacy clients, older Android versions and a handful of platforms still reject it; pick WebP or JPG for those.

Does JPG to AVIF improve quality?

No. AVIF cannot recover detail the JPG already discarded. It compresses more efficiently but does not regenerate lost pixels.

Can I batch-convert many JPGs at once?

Yes. Drop multiple files and download them all as a ZIP after converting.