JPEG XL: The Next-Generation JPEG and How to Use It Today
What JPEG XL offers, how it differs from AVIF and WebP, where it is supported, and how to convert JXL files to and from common formats.

JPEG XL: The Next-Generation JPEG and How to Use It Today
JPEG XL is a newer image format standardised as ISO/IEC 18181. It was designed by the JPEG committee as a long-term successor to the original JPEG, with better compression, lossless mode and features for both web and professional photography. Support is growing but still uneven, so many people receive .jxl files they cannot open. The JPEG XL Converter opens and creates JXL files in your browser.
What makes JPEG XL different
- Efficient lossy compression: high-quality photos are significantly smaller than JPEG at the same visual quality.
- Excellent lossless compression: lossless JXL is usually much smaller than PNG.
- High bit depth and wide colour: suitable for HDR and professional workflows.
- Progressive decoding: a preview appears quickly while the rest loads.
- Lossless JPEG recompression: specialised tools can repack existing JPEG files about 20 percent smaller and later restore the exact original bytes.
JPEG XL vs AVIF
Both are modern and efficient. AVIF tends to do better at very low file sizes, which suits small web images. JPEG XL tends to do better at high quality and in lossless mode, which suits photographers, archives and print. JPEG XL is also faster to encode and decode for large images.
Where it works
Some operating systems, image editors and camera software support JPEG XL. Browser support varies, so check current support before using JXL as your only web format. For the web, a picture element with an AVIF or WebP fallback is the safest approach.
Opening JXL files
The converter includes the reference decoder, libjxl, compiled to WebAssembly. Drop a .jxl file and it is decoded on your device. Save it as PNG to keep it lossless, JPG to share it, or WebP for the web.
Creating JXL files
Two settings matter most:
- Quality: around 90 is visually lossless for most photos; 75 is a good web setting.
- Effort: how hard the encoder works, from 1 to 9. Effort 7 is the usual default; higher effort gives smaller files but takes longer.
Lossless mode keeps every pixel. It is ideal for screenshots, scans and archive copies of edited photos.
About repacking JPEG files
The reversible JPEG repacking mode works on the compressed JPEG data stream, not on pixels. This browser converter decodes pictures to pixels first, so converting a JPEG here is a normal encode. If you need the exact original JPEG later, keep it.
A sensible archive strategy
- Keep your camera originals (RAW or the original JPEG).
- Save edited masters in a lossless format: TIFF, PNG or lossless JXL.
- Export sharing copies in JPEG, WebP or AVIF as needed.
Quick answers
Is JXL royalty-free? The format is published as an open standard with a royalty-free reference implementation.
Why are some files slow? High effort settings on large images take time; try effort 6.
A worked example
A photographer keeps edited masters as 16-bit TIFF files of around 140 MB each. Exporting an 8-bit version for a client portfolio as lossless PNG gives about 45 MB; the same picture as lossless JPEG XL at effort 7 is about 30 MB, and as lossy JPEG XL at quality 90 about 4 MB with no visible difference. For the website, an AVIF or WebP copy is still produced, because not every visitor's browser shows JXL.
How to test browser support
Open a .jxl file directly in your browser. If it displays, your browser supports the format; if it downloads or shows an error, it does not. Many users will be in the second group, which is why fallbacks matter.
Limits
Animated JXL files show only their first frame, and metadata is not copied. All conversion happens locally in your browser.


&c=%237c3aed&k=images)
