Updated Oct. 26, 2026, 3:29 a.m. ET: Adds that Firefox 157 shipped on Sept. 29 without JPEG XL enabled by default and that Mozilla’s bug tracker now points to Firefox 158.
Mozilla has announced its intent to ship JPEG XL image support in Firefox, and Google formalized the same plan for Chrome’s Blink engine on the same day. Mozilla originally targeted Firefox 157, due at the end of September, to enable JPEG XL decoding by default on all platforms, Phoronix reported. Firefox Nightly already has it switched on, and Firefox 152 and later offer experimental support.
That timeline slipped. Firefox 157 reached the release channel on Sept. 29, and its release notes do not mention JPEG XL. Mozilla’s bug for enabling the preference by default is now tagged for the Firefox 158 release notes.
A Rust Decoder Cleared the Way
Mozilla added experimental JPEG XL support behind a flag in 2021, but the reference decoder was about 100,000 lines of multithreaded C++, and the company worried about the attack surface. “So, we laid down a challenge to the JPEG XL team at Google Research: Build a safe, performant, compact, and compatible JPEG XL decoder in Rust, and we’ll ship it,” Mozilla wrote on its Hacks blog. Google Research built jxl-rs, which is the core of Firefox’s support.
Mozilla also pushed for integration tests as part of an Interop 2026 investigation area. Safari shipped JPEG XL in 2023 but without some features, including progressive rendering, which Mozilla pushed for in the Rust implementation. With Chrome and Firefox committing, the format is set to work across all major browsers.
JPEG XL or AVIF
Mozilla’s post gives developers a simple rule of thumb. JPEG XL “excels at lossless imagery, progressive rendering, and further compressing JPEGs without quality loss,” while AVIF “excels at web-quality photographic images, and images that have a mix of sharp edges and flat surfaces.”
Its examples bear that out. For one photo at medium-high quality, measured by a SSIMULACRA 2 score of 62.8, the AVIF was 116 kB and the matching JPEG XL 134 kB. At lossless, the order flipped: 1.45 MB for JPEG XL, 1.76 MB for AVIF and 1.55 MB for lossless WebP. A screenshot compressed to 92 kB losslessly as JPEG XL versus 164 kB as AVIF.
“Although AVIF tends to produce smaller files at web-quality than JPEG XL, AVIF only has basic progressive rendering support. So, for very large images, it may be worth taking the filesize hit with JPEG XL,” Mozilla wrote. Progressive rendering lets an image appear and sharpen as it downloads, so visitors can make out the subject after only a few kilobytes.
For web teams, the practical step is to test both formats on a representative set of their own images, serve image/jxl with the right MIME type once browser support lands and keep AVIF or JPEG fallbacks in place until the Firefox change reaches the release channel.


WebProNews is an iEntry Publication