Convert JPG to AVIF: what to know
AVIF is the most efficient image format every current browser can display. For photos on a website it typically beats JPG by a wide margin and WebP by a clear one, which means faster pages and lower bandwidth. This page re-encodes JPG photos as AVIF on your device, up to 20 at a time, without uploading them anywhere.
Detailed guide
How much smaller?
In our test, a detailed 8-megapixel landscape JPG of 1.6 MB became a 290 KB AVIF at the default quality of 60 — 18% of the original. The same photo as WebP at quality 85 was 520 KB, with practically the same measured quality as the AVIF. Smooth images such as skies and gradients shrink much further; very noisy photos shrink less. Every result row shows the before and after size, so you see the real saving for your own files before downloading.
Quality 60 on the AVIF scale is not the same as 60 on the JPG scale: AVIF holds detail far better at the same number. To change it, add Compress and move the quality slider; 70–75 is a sensible choice for photography portfolios where fine texture matters.
Encoding takes longer
AVIF encoding is much more work than JPG or WebP. On a recent laptop a 12-megapixel photo takes around ten seconds; a phone may take several times longer, and a batch of 20 large photos is a coffee-break job. The encoder is downloaded once (about 1 MB) the first time you convert to AVIF. If speed matters more than the last few kilobytes, convert to WebP instead.
Where AVIF works
All current versions of Chrome, Edge, Firefox and Safari display AVIF, as do current Android and iOS. WordPress accepts AVIF uploads from version 6.5. Outside the browser support is patchier: some email clients, older Windows and macOS versions, office software and many upload forms do not accept it. Use AVIF for images you publish on the web, and keep the JPG for sharing and printing.
Orientation and metadata
Phone JPGs often store the picture sideways with a tag that tells viewers to rotate it. The converter applies the rotation to the pixels first, so the AVIF displays upright everywhere. EXIF, GPS location and camera settings are not copied into the AVIF. Keep the original JPG if you need them.
Questions about JPG to AVIF
- Will the AVIF look worse than the JPG?
- At the default quality the difference is very hard to see at normal size. Add Compress and raise the quality if you see softening in fine texture.
- Why is the conversion slow?
- AVIF is computationally expensive to encode. It runs on your device so nothing is uploaded; WebP is a much faster alternative.
- Should I replace all my JPGs with AVIF?
- On your website, yes, where your platform accepts it. Keep JPG originals for email, printing and software that cannot open AVIF.