Convert JPG to AVIF and cut file sizes by up to 50% compared to JPEG at similar quality. AVIF is the most modern image format supported in browsers, and it's ideal for photos.
This converter runs entirely in your browser, so your images are never uploaded.
How to use this tool
Add your JPG
Drag and drop your JPG or click to choose a file.
AVIF is pre-selected
The output format is already set to AVIF. Adjust quality if you like — 50–60 is a good place to start for photos.
Compare
Use the comparison view to check the compressed result.
Download
Download your AVIF file and ship a faster website.
What AVIF buys you over JPEG
AVIF is based on the AV1 video codec, and it is the most efficient still-image format in wide use. Against JPEG at comparable quality, AVIF typically produces files 40–60% smaller — and unlike JPEG it supports transparency, wide colour gamuts and high dynamic range.
The reason to convert an existing JPEG is bandwidth: an image-heavy page can often be cut substantially in weight with no visible difference. The reason not to is compatibility, which is the next section.
The compatibility caveat
AVIF is supported in current versions of Chrome, Firefox, Safari and Edge. Older browsers — including Safari before version 16 — cannot decode it at all and will show nothing. Never replace a working JPEG with AVIF as the only source; serve AVIF from a <picture> element with the JPEG as a fallback.
Encoding is slow, and that is the trade-off
AVIF takes noticeably longer to encode than JPEG or WebP — often several times longer for the same image. For a handful of images that is irrelevant. For a library of thousands, it is the reason many pipelines still generate WebP first and add AVIF only for their most-viewed images.
Frequently asked questions
How much smaller is AVIF than JPEG?
AVIF typically produces files 30–50% smaller than JPEG at equivalent visual quality, and it also supports transparency and HDR.
Is AVIF supported in browsers?
Yes — Chrome, Firefox, Safari, and Edge all support AVIF for images.
Will AVIF work everywhere?
AVIF works in all modern browsers. For maximum compatibility you can serve AVIF with a JPEG fallback using the HTML picture element.