Convert AVIF to JPEG XL
AVIF and JPEG XL are the two modern image formats that finally beat JPG on size — and there are good reasons to move between them. AVIF is broadly served today, but JPEG XL adds a true-lossless mode, faster decoding, wider editing-tool support and better handling of transparency and high-bit-depth imagery. If you archive images, edit in tools that read .jxl, or want lossless round-trips AVIF can't guarantee, converting AVIF to .jxl makes sense. This tool decodes your AVIF with a WebAssembly AVIF decoder and re-encodes it with libjxl — all inside your browser tab. Most AVIF files on the web were lossy-encoded, so it defaults to a quality-guided pass (slider, default 75%) that preserves the look; switch Lossless on when your AVIF source was exported losslessly and you want every pixel kept. Transparency carries over, and any animation is exported as its first frame. No uploads, no server, no watermarks, offline-capable once the codecs load. Honest caveat: if the AVIF was already heavily compressed, re-encoding only re-wraps that loss — it can't recover detail. And outside browsers, .jxl adoption is still growing, so keep an AVIF or JPG copy for services that don't read it yet.
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.
Can browsers display JPEG XL?
Safari has rendered .jxl still images since version 17 (2023); Firefox 157 (September 2026) enables it by default; Chrome has merged a decoder with default-on support still pending in 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. 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.