Convert JPG to AVIF
Convert JPG images to AVIF free, in your browser.
Change the format. Drop an image, a PDF or a Word document.
- JPG · PNG · WebP · Text · Word
- Word
- PDF · Text
This is free and always will be. Buy me a coffee
Your files are processed by your own browser and never sent to a server.
AVIF is the smallest of the web image formats by a clear margin, and this is the conversion to make when the photographs are the point of the page rather than decoration on it. Half the size of the equivalent JPG is ordinary, and the pictures are the bulk of what most sites make people download.
One thing here is genuinely different from every other conversion on the site, and it is worth knowing before you press the button. No browser can write an AVIF. Chrome, Safari and Firefox all read them perfectly and none of them will encode one, so picking AVIF fetches a real encoder, a few megabytes of WebAssembly, to your device the first time and runs it there. That is a short wait once, and then it is local. Every other converter charges you an upload for the same thing.
AVIF is also slow to encode compared with JPG or WebP, which matters if you have hundreds of files. It is fine for a set of hero images and tedious for a photo library. If you want most of the saving with none of the wait, JPG to WebP is the pragmatic choice.
How to convert JPG to AVIF
- Drop your JPG files onto the box above, or paste them with Ctrl+V.
- Save each file from its tile, or take them all at once.
JPG and AVIF side by side
| JPG | AVIF | |
|---|---|---|
| Where it came from | 1992, from the Joint Photographic Experts Group | 2019, built on the AV1 video codec |
| Throws detail away | Yes | Yes |
| Transparency | No | Yes |
| Where it opens | Everywhere, on everything, including hardware old enough to vote | Every current browser. Outside the browser, support is still thin. |
| Best at | Photographs, and anything going somewhere you cannot predict | Photographs on a web page you want as small as they can honestly go |
More on choosing between JPG, PNG, WebP and AVIF.
Questions about JPG to AVIF
Why does picking AVIF download something?
Because your browser cannot make one. Ask a canvas for an AVIF and every current engine quietly hands back a PNG instead, which is how other tools end up giving you a file with the wrong contents and the right extension. Rather than do that, this page fetches libavif compiled to WebAssembly, about three and a half megabytes, and runs the real encoder on your machine. It happens once per visit, and your file still never leaves the device.
How much smaller than the JPG?
Commonly forty to fifty per cent at matched visual quality, and more on photographs with large smooth areas, where AVIF is unusually good and JPG is unusually bad. Sky, skin, studio backdrops and shallow depth of field all favour it heavily. On a busy, detailed image the gap narrows to something closer to what WebP achieves, and the extra encoding time stops being worth it.
Can everyone open an AVIF?
In a browser, yes: every current version of Chrome, Safari, Firefox and Edge decodes AVIF. Outside a browser is a different story and is where people get caught. Plenty of desktop image editors, older operating systems, email clients and content management systems still do not recognise one. Serve AVIF on a web page with confidence; think twice before emailing somebody an AVIF and expecting them to open it.
Is this worth doing on an old JPG?
Less than you would hope. AVIF compresses what it is given, and an old JPG has already lost the detail that made the picture worth compressing carefully. You will get a smaller file that looks the same as the JPG did, artefacts included. The large wins come from converting a high quality original once. If all you have is the JPG, the conversion still saves bandwidth, it just will not make anything look better.