Convert JPEG XL to AVIF
Need AVIF out of your JPEG XL files — for a site or pipeline that standardises on AVIF? This decodes the .jxl with a libjxl WebAssembly decoder and encodes AVIF with @jsquash, both in your tab. How it works: AVIF encoding here is WebAssembly, not a native browser transcoder, and output is lossy — this page only offers a quality slider (50% default) and doesn't expose AVIF's lossless mode, so a little fidelity is traded for broad AVIF support. Transparency carries over. If your real goal is just getting .jxl to open in more places, JXL to JPG is the simpler answer.
Drop JPEG XL (.jxl) files here or click to browse
Processed locally — files never leave your device
How to use
- Drop your .jxl files into the box, or click it to browse.
- Choose a quality; the image is decoded and encoded as AVIF locally.
- Download the AVIF images.
Frequently asked questions
Is the AVIF encoding done by the browser natively?
No. It runs via a WebAssembly AVIF encoder (@jsquash) inside your tab, so broad browser support doesn't depend on a native AVIF transcoder. Nothing is uploaded.
Will the output be lossless?
No — AVIF output here is lossy. If your .jxl was lossless, some detail is traded for AVIF compatibility. Raise quality toward 100% to minimise it, or keep the .jxl.
Is transparency kept?
Yes. AVIF supports alpha, so transparency in the .jxl carries through to the AVIF.
Are my files uploaded?
No. JPEG XL decoding and AVIF encoding both run as WebAssembly in your browser. Nothing leaves your device, and it works offline.
Related tools
Want broadly viewable output instead? Use JXL to JPG or JXL to PNG. Making AVIF from other sources? JPG to AVIF or WebP to AVIF.