Convert JPG to AVIF on your device
AVIF gives roughly half the file size of JPG at the same visual quality. Encoding it is computationally heavy, so expect a few seconds per large photo; everything runs on your CPU, in your browser, with no upload.
Turn off your Wi-Fi. It still works.For websites, serve AVIF with a WebP or JPG fallback via the picture element. For anything else, JPG to WebP is the more compatible choice.
Why convert JPG to AVIF
- Smallest files of any mainstream format.
- Quality control tuned for photos; transparency and wide colour supported.
- Batch processing with a zip download; large batches just take longer, they are not capped.
How to convert JPG to AVIF without uploading
- Drop JPG files onto the box above, or click it to pick them. On a phone you can choose straight from your photos.
- Adjust quality if you want. The default is tuned to be visually identical to the original.
- Download. Each file gets a button as it finishes; with more than one file you can download a single zip. The AVIF files are written entirely on your device.
About JPG (JPEG)
JPG is the format everything opens. It has been the default for photographs since the early 1990s, every device, browser, upload form and photo printer accepts it, and at a sensible quality setting the compression is invisible for photos.
JPG cannot store transparency, and re-saving a JPG many times slowly degrades it.
About AVIF (AV1 Image File Format)
AVIF is the newest mainstream image format, derived from the AV1 video codec. It typically produces files about half the size of JPG at the same quality, supports transparency, HDR and wide colour, and is supported in Chrome, Firefox, Edge and Safari 16.4 or later.
AVIF is slow to encode, barely supported outside browsers, and routinely rejected by upload forms, so it is a great delivery format and a poor exchange format.
Questions
Why is AVIF encoding slow?
AVIF reuses the AV1 video encoder, which searches hard for savings. This tool uses a fast preset; it is still slower than JPG or WebP.
Which quality should I use?
Around 60 is where AVIF already looks like a quality-85 JPG at half the size. Go higher only for images you will inspect closely.
Does everything support AVIF?
All current browsers do. Many apps, email clients and upload forms do not. Keep the JPG for those.
Related tools
- PNG to AVIFNo upload, batch, freePNG→AVIF
- JPG to WebPNo upload, batch, freeJPG→WebP
- AVIF to JPGNo upload, batch, freeAVIF→JPG
- Compress imagesAny format, smaller filesanysmaller
OfflinePix never uploads your images. Decoding and encoding run in your browser with WebAssembly; the site works with the network off, and the only thing we count is page views. How it works.