Convert AVIF to JPEG XL
AVIF and JPEG XL are the two modern formats that actually beat JPG on size, so there are real reasons to hop between them. AVIF is the one being served widely today, but JPEG XL adds a true-lossless mode, snappier decoding and friendlier editing/graphics tooling — exactly what you want for archiving or clean lossless round-trips. This decodes the AVIF and re-encodes with libjxl right in your tab. Most AVIF online was lossy, so it defaults to a quality pass (75% slider); flip on Lossless for losslessly-exported sources. Transparency carries over, and animation comes out as its first frame. The flip side: re-encoding an already-compressed AVIF just re-wraps that loss — it can't recover detail.
Drop AVIF files here or click to browse
Processed locally — files never leave your device
How to use
- Drop your AVIF files into the box, or click it to browse.
- Leave Lossless off for typical web AVIF (the quality slider guides the size), or turn it on for lossless sources.
- AVIF decoding and JPEG XL encoding both run locally in your browser via WebAssembly.
- Download the converted .jxl images.
Frequently asked questions
I already have AVIF — why convert to JPEG XL?
Both beat JPG, but they serve different needs. JPEG XL adds a true-lossless mode, snappier decode, and better editing/graphics tooling, so people converting for archiving, editing or lossless round-trips often prefer .jxl. If you only need the smallest web file, AVIF is already fine — converting is about workflow, not size alone.
Are my AVIF files uploaded anywhere?
No. The AVIF decoder and the libjxl encoder both run as WebAssembly inside your browser tab. Nothing is transmitted or stored, and it works offline once the codecs load.
Should I use Lossless or the quality slider?
Most AVIF you download from the web is lossy, so the default quality-guided pass (75%) is the sensible choice — it preserves the look while keeping the file compact. Turn Lossless on when your AVIF source was exported losslessly (screenshots, graphics) and you must keep every pixel.
Is transparency kept?
Yes. JPEG XL supports an alpha channel, and both lossless and quality modes preserve it. Transparent AVIF logos and overlays convert correctly.
What happens to animated AVIF?
Animation is not carried over — the tool exports the first frame as a still .jxl and says so plainly in the result. For animated content, keep AVIF or APNG.
What about HDR, wide-gamut, or 10-bit AVIF files?
The decoded picture is plain 8-bit sRGB, so even the lossless JXL option is only lossless from that 8-bit decode — HDR/wide-gamut/10-bit sources aren't reproduced at their original range. Keep the .avif if you need that.
Can browsers display JPEG XL?
Safari has rendered .jxl still images since version 17 (2023); Chrome enables them by default from version 155 (October 2026) and Firefox from version 158 (October 2026). Outside browsers, support is growing but uneven — for services that don't accept .jxl yet, keep an AVIF or JPG copy.
Related tools
Going the other way? Use AVIF to JPG. To create AVIF files instead, see JPG to AVIF, PNG to AVIF and WebP to AVIF. Other paths into JPEG XL include WebP to JXL, PNG to JXL and JPG to JXL; to get back out, see JXL to JPG and JXL to WebP.