Convert JPG to AVIF
Drop one or many JPG images and download AVIF copies that are typically 30–50% smaller at the same visual quality, ready to ship to a modern website. The encoder runs as WebAssembly entirely in your browser.
How to convert JPG to AVIF
- Drop your JPG files into the box.
- The browser decodes each JPG and a Canvas exports an AVIF copy.
- Download the AVIF copies and serve them with a JPG fallback in production.
Why convert JPG to AVIF?
AVIF is the most efficient image format you can serve on the modern web, period. A JPG hero image that costs 250 KB usually drops to 100–130 KB as AVIF with no perceptible loss in quality, and your visitors get the page faster on every device that supports the format — which today is every browser shipped after 2023. The remaining audience that cannot decode AVIF (a few percent of older Safari and corporate browsers) should be served the JPG via the picture element with a type fallback. Used this way, AVIF is one of the highest-ROI optimisations available to a website owner: faster pages, lower CDN bills, better Core Web Vitals scores, no quality complaints from designers. This converter is for one-off batches; for a CMS pipeline, integrate AVIF generation into your build.
How we compare
The closest peer to this tool is Google's Squoosh, which also runs fully in your browser. Squoosh focuses on compression for the modern web and does not handle HEIC or batch conversion. Cloudconvert and Convertio cover more formats but upload your files to their servers and meter usage.
| This site | Squoosh | Cloudconvert | Convertio | |
|---|---|---|---|---|
| Files stay on your device | ||||
| No signup | Limited | Limited | ||
| No ads | ||||
| Batch conversion | ||||
| Supports HEIC | ||||
| Open source | AGPL-3.0 | Apache-2.0 |
Frequently asked questions
Are files uploaded?+
No. Decode and encode both run inside your browser tab.
How much smaller will my files be?+
Typically 30–50% smaller than the source JPG at default quality. Photos with smooth skies and gradients save the most; busy textures save less.
Will image quality drop?+
AVIF uses modern lossy compression. At the default quality, differences are invisible on a normal screen and are only detectable with side-by-side pixel inspection.
Does AVIF work in every browser?+
Chrome 85+, Edge 121+, Firefox 113+, Safari 16.4+ and Opera 71+. Use a JPG fallback in production for older clients.
Why is AVIF encoding slow in the browser?+
AVIF encoding is computationally expensive (it is essentially a video codec encoding a single frame). Expect 1–4 seconds per image on a modern laptop.
Should I keep the JPG originals?+
Yes. AVIF is a one-way lossy step; keep the originals for future re-exports.
Related converters
Files processed in your browser. We never see them.