JPG to AVIF Converter
Convert JPG to AVIF in your browser. On our test photos, quality-82 JPGs converted to AVIF came out 33% smaller. AVIF is slow to encode. Nothing is uploaded.
Output format
AVIF
Overview
Why convert JPG to AVIF
AVIF is the format to reach for when you want a photo library or a web page to take less space than JPG allows. For photographs it was the smallest of the formats we measured. The trade is time: each image takes much longer to encode than a JPG or WebP, and some older devices cannot display the result.
Need a different output format or per-file settings? The image converter handles every format in one place. Going the other way? Use AVIF to JPG.
Measured
JPG to AVIF: size and encode time in our test
We made JPGs at quality 82 from the 24 Kodak test photos (average 62 KB) and converted those to AVIF at quality 82. The AVIFs averaged 42 KB, 33% smaller. On photos 2000 pixels wide the result was 48% smaller. The same JPGs converted to WebP came out 15% smaller.
Each Kodak image took a median of 153 ms to encode as AVIF, against 31.5 ms as WebP.
The image sets, settings and machine are on the benchmarks page. For the formats themselves, see AVIF vs WebP.
Caveats
When not to convert JPG to AVIF
- You need the files quickly or have a large batch on a slow machine. JPG to WebP is much faster.
- The images are for email, print or older software. JPG is still the safest format for those.
- The JPG is your only copy. Keep it. The AVIF is a second lossy generation.
Comparison
JPG vs AVIF: how they differ
| Attribute | JPG | AVIF |
|---|---|---|
| Compression | Lossy | Lossy |
| Transparency | No | Yes |
| Animation | No | Yes |
| Typical file size | Medium | Small |
| Browser support | Universally supported. It's been there since the first browsers. | Supported in Chrome, Firefox, Safari 16+, and Edge. Pre-2022 devices may not decode it. |
How to
How to convert JPG to AVIF
- 01
Add your JPG files
Drop them on the page, paste from the clipboard, or pick them with the file browser. You can add several at once.
- 02
Check the quality setting
Conversion starts straight away at quality 82. Move the slider if you want smaller files or more detail, and the AVIF files are made again at the new setting.
- 03
Download
Each row shows the old and new size. Download files one at a time, or all of them as a zip.
Why here
Why convert.now
- Private
Files stay in your browser. There is no upload step, so nobody else can see them.
- Fast
There is no queue and no upload to wait for. Conversion starts when you drop a file.
- Free
There are no ads, no limit on the number of files and no sign-up.
FAQ
JPG to AVIF: common questions
No. The files are read and converted by code running in this browser tab, and the result is saved from the same tab. You can confirm it in the browser's developer tools: the Network panel shows no request carrying your file.
In our test, converting quality-82 JPGs to quality-82 AVIFs made them 33% smaller for small photos and 48% smaller for photos 2000 pixels wide. The two quality scales are not equivalent, so this shows what the default setting does, not a same-quality comparison.
AVIF encoding does far more work per image than JPG. A Kodak-sized image took a median of 153 ms here. Large photos take seconds each.
Chrome, Firefox, Edge, and Safari from version 16.
No. The AVIF is written without EXIF data, so the camera model, date and GPS location are not in the new file. Rotation stored in the original's metadata is applied to the pixels, so the picture stays the right way up. Colours are converted to sRGB.
More
Other conversions from JPG
More
Other conversions to AVIF
Last updated