Firefox will ship JPEG XL, and the decoder had to be rewritten in Rust first
Mozilla posted its intent to ship on August 24. The condition it set five years ago was met: Google Research rebuilt the decoder in Rust, because 100,000 lines of multithreaded C++ was too much attack surface to accept.
Firefox has had JPEG XL behind a flag since 2021 and has not shipped it in all that time. The reason was never the format. It was the decoder: 100,000 lines of multithreaded C++, parsing untrusted files from the open web, inside the browser process. Mozilla's answer was a challenge rather than a refusal — build a safe, performant, compact and compatible decoder in Rust, and we will ship it. Google Research built jxl-rs, and it is now the core of JPEG XL support in Firefox.
What is actually shipping
An intent to ship is a public commitment, not a release. Mozilla says Chrome also intends to ship, and that Safari already carries a partial implementation — it shipped JPEG XL in 2023, but without progressive rendering. On that basis Mozilla expects the format to be supported across browsers before the end of the year.
Alongside the decoder, Mozilla pushed for integration tests as an Interop 2026 investigation area. That matters more than it sounds: an image format that decodes differently in three browsers is a format nobody can use in production.
Checked against webstatus.dev on August 25, 2026: JPEG XL is Baseline limited. Safari and Safari on iOS have shipped it since September 18, 2023; Chrome and Firefox have not. AVIF, by contrast, has been Baseline widely available since January 25, 2024. Today the two formats are not interchangeable in production, whatever the intent notices say.
AVIF or JPEG XL: the numbers say it depends
For the first time the web has two modern formats that are both worth using, and the honest answer to which one is that they win in different places. Mozilla published measurements on a photographic image, scored with SSIMULACRA 2.
At medium-high quality (score 62.8) the AVIF is 116 kB and the JPEG XL is 134 kB. At very high quality (score 80) it is 227 kB against 264 kB. Lossless flips it: 1.76 MB for AVIF, 1.45 MB for JPEG XL, and 1.55 MB for lossless WebP. On a screenshot the gap is wider still — at score 78, AVIF is 11.6 kB and JPEG XL 23.8 kB, but lossless it is 164 kB against 92 kB.
- JPEG XL: lossless imagery, progressive rendering, and recompressing existing JPEGs without quality loss.
- AVIF: photographic images at web quality, and images mixing sharp edges with flat surfaces.
Progressive rendering is the part you can see
Progressive rendering means the image starts drawing while it is still downloading. In Mozilla's demo the full image is 135 kB, and a few kilobytes in, a reader can already tell what the picture is of. AVIF has only basic support for this, which is why Mozilla pushed for it in the Rust implementation.
For large images that difference can outweigh the file size. The advice from the post is not to pick a winner but to test with a representative set of your own images, at the quality your readers actually get, and to optimize for high pixel density.
„Build a safe, performant, compact, and compatible JPEG XL decoder in Rust, and we'll ship it.“
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related

Google's AI Mode can now draw on your Google Wallet spending if you connect it
Google is letting people connect Google Wallet to AI Mode, the conversational side of its search, with Drive and the Gemini app to follow. The connections are off until you turn them on, and Google says AI Mode can only read the accounts. AI Overviews will also start reflecting your recent searches, which you can switch off.
Googleverified
Google adds temporary threads to AI Mode, so conversations stay out of search history
AI Mode in Google Search now has temporary threads. A conversation opened this way is detached from the user's account, is not saved to history, and does not shape later recommendations.
Googleverified
Safari now runs on Apple HomeView, with a square screen and a viewport shorter than 600 pixels
Apple's new home device puts Safari on a square seven-inch display that people operate mostly by voice. The WebKit team says most sites will work as they are, and names the assumptions that break them: a tall viewport, pointer-only controls, and treating an iOS user agent as an iPhone.
WebKitverified

