Convert JPG to AVIF
Output is typically about 56% smaller.
- Files stay on your device
- Free, no sign-up
Related tools
All image toolsQuestions
Is it worth converting JPEGs I already have?
For a page whose loading speed matters, usually yes — halving image weight is the single largest thing most sites can do for their Core Web Vitals, and images are typically the bulk of a page. For an archive of family photographs, no: you would be spending a lossy generation for storage savings on files that are not being served to anyone.
Will anyone see the difference?
At quality 70 to 85, no, not at normal viewing size. AVIF is notably better than JPEG at exactly the things JPEG struggles with — smooth gradients, skies, film grain — so skies band less rather than more. Below about 60 both formats degrade, but they degrade differently: JPEG produces blocky halos, AVIF produces a soft, slightly smeared look.
Why is it taking so long?
Because AVIF is a still frame of an AV1 video, and AV1 encoders are built to spend time searching for the smallest representation. This runs at a middle speed setting to keep a page usable; the slowest settings would buy another few percent for many times the wait. Everything happens on your device, so a large batch is limited by your processor rather than by an upload.
Should I keep the JPEGs?
Yes, if the images matter. AVIF is a delivery format and its support outside browsers is still patchy — plenty of desktop software, older devices and third-party tools cannot open one. Serve the AVIF and keep the JPEG as the copy you can send to anybody.
Will converting JPG to AVIF make the file smaller?
Usually, yes. A 12-megapixel photo is around 3.2 MB as JPG and around 1.4 MB as AVIF — about 56% smaller. Because AVIF is lossless the result depends entirely on the image content — flat colour and text compress far better than photographic detail.
Does converting JPG to AVIF lose quality?
Slightly. Re-encoding one lossy format as another means a second round of compression, which can soften fine detail. In practice the loss is hard to see at high quality settings, and AVIF's newer codec often preserves detail better than the JPG original did. Keep quality at 80 or above and the difference will not be visible at normal viewing size.
Should I use AVIF or WebP?
AVIF files are typically 25–35% smaller than WebP at the same quality, which is a real win on image-heavy pages. The trade-offs are much slower encoding and a support floor of Safari 16.4 (March 2023), so a small share of visitors cannot see it. Serve AVIF with a WebP fallback via a <picture> element if you want both.
How it works, and more about jpg to avif
How it works
- Add your JPG file. Drag a JPG file onto the drop zone, or click to browse. You can select several at once.
- Choose your settings. Adjust the quality slider if you want a smaller file or a sharper result. 80 suits most photographs.
- Download the AVIF. Conversion runs on your device as soon as each file is added — no upload, no queue. Download each result when it is ready.
Why people convert JPG to AVIF
Modernising photographs that are already on a site, or shrinking a batch that is slowing a page down. The JPEGs work perfectly well — the goal is the same picture in fewer bytes.
Worth doing for photographs, where AVIF commonly halves a JPEG at the same perceived quality. Keep quality at 70 or above: this is a transcode between two lossy formats, so AVIF has to reproduce the JPEG's existing artefacts as well as the image, and pushing hard on the second encode degrades faster than it would from an original.
Worth knowing: Nothing lost to the original JPEG comes back. If you still have the camera file or the master export, convert that instead — you get a better result at a smaller size than starting from a JPEG that has already been through the process once.
JPG and AVIF side by side
| JPG | AVIF | |
|---|---|---|
| Full name | JPEG | AV1 Image File Format |
| Compression | Lossy | Lossy or lossless |
| Transparency | No | Yes — alpha channel |
| Animation | No | Yes, in the format |
| Browser support | Universal — every browser, every device | Chrome 85+, Firefox 93+, Safari 16.4+ (March 2023), Edge 121+ |
| Typical 12 MP photo | ~3.2 MB | ~1.4 MB |
| Usually used for | Photographs, email attachments and anything needing maximum compatibility | Performance-critical web images where every kilobyte counts |
On a typical 12-megapixel phone photo, the AVIF output comes out about 56% smaller than the JPG original. These are order-of-magnitude figures for one kind of image — your own results will vary a great deal, because flat colour, text and line art behave nothing like photographic detail, and the quality slider moves the figure substantially.
What this tool actually produces
Not estimates. Each row below was produced by running the file through this page in a real browser and measuring the result, at the default quality of 82.
| Test image | JPG in | AVIF out | Change |
|---|---|---|---|
| Smooth gradient 1600 × 1200, broad tonal transitions — where banding and blocking show | 236 KB | 67 KB | -72% |
| UI screenshot 1440 × 900, dense text on flat panels — the hardest case for JPEG | 159 KB | 38 KB | -76% |
| Line-art diagram 1200 × 800, hard edges and large flat areas | 83 KB | 6 KB | -93% |
Every test image got smaller, though by very different margins — flat colour and text behave nothing like photographic detail, so treat the closest row to your own content as the useful one. Measured in Chrome 150.0.7871.46; other browsers encode slightly differently.
What to watch out for
- Encoding is computationally expensive and noticeably slow
- Requires Safari 16.4+ (2023), so a small share of users still miss it
- Sparse support outside browsers — most desktop editors cannot open it
About the two formats
JPEG has been the default photo format for three decades, and its compatibility is unmatched — if a device can display an image at all, it can display a JPEG. The trade-offs are that it discards detail permanently on every save, and it has no transparency channel at all, so anything transparent becomes a solid background.
AVIF currently produces the smallest files of any widely supported format — commonly half the size of JPEG at the same perceived quality, with excellent handling of gradients and noise. The cost is encoding time, which can be seconds per image rather than milliseconds, and support that only became universal with Safari 16.4 in 2023.
Other conversions
Everything runs on your device — nothing is uploaded, so there is no size limit, no queue and no copy left on a server afterwards. There is more on how browser-based conversion works if you want the detail. Otherwise, browse every image tool, or convert AVIF back to JPG.