JPEG XL can be added to any website, as shown below. Browsers that don't support it yet will use the older JPEG image. No broken pages — just better compression.
Browsers evaluate tags top-to-bottom, picking the first supported format. JPEG XL will be prioritized in Safari & modern browsers.
If image/jxl isn't recognized, the browser will fallback to using the <img> tag.
Only the first supported asset is downloaded. Users get cutting-edge compression without any wasted bandwidth.
Convert any image to JPEG XL using the official libjxl reference implementation.
Download the latest pre-compiled executables directly from the libjxl releases page on GitHub.
cjxl input.jpg output.jxl -q 90