<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq" -->

---
title: JPEG XL Is Finally Getting Real Cross-Browser Support
description: JPEG XL is set to gain genuine cross-browser support, with Mozilla planning to enable it by default in Firefox 157 next month, Chrome signaling intent to ship,...
canonical: https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: JPEG XL Is Finally Getting Real Cross-Browser Support | daily.dev
og:description: JPEG XL is set to gain genuine cross-browser support, with Mozilla planning to enable it by default in Firefox 157 next month, Chrome signaling intent to ship,...
og:url: https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq
og:image: https://api.daily.dev/og/posts/y58YN4tWq.png
og:image:alt: JPEG XL Is Finally Getting Real Cross-Browser Support
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# JPEG XL Is Finally Getting Real Cross-Browser Support

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 2 upvotes · 0 comments

## Summary

JPEG XL is set to gain genuine cross-browser support, with Mozilla planning to enable it by default in Firefox 157 next month, Chrome signaling intent to ship, and Safari already offering a partial implementation. A new Rust-based decoder called jxl-rs, built by Google Research at Mozilla's urging, replaces the original 100,000-line C++ decoder to address security concerns and adds progressive rendering, which Safari's current implementation lacks. JPEG XL and AVIF continue to trade advantages depending on use case, so there's no single overall winner between the two formats.

## Content

Firefox 157, due at the end of September, will enable JPEG XL image decoding by default. Mozilla posted its formal intent to ship, and Chrome has done the same for the Blink engine. Safari already has partial JPEG XL support, so full cross-browser coverage looks likely before the end of the year.

Firefox has had experimental JPEG XL support since version 152, and Nightly already has it on by default for testing. The main thing that made this possible is a new Rust-based decoder called jxl-rs, built by Google Research. Mozilla apparently challenged them to write a safe alternative to the original C++ decoder, which ran to around 100,000 lines and raised enough security concerns to block shipping. The Rust implementation cleared that bar.

One thing worth noting: jxl-rs supports progressive rendering, which Safari's JPEG XL implementation doesn't. That matters for large images on slow connections, where you'd rather show a blurry preview than a blank space.

## How JPEG XL compares to AVIF

The two formats aren't really competing for the same use cases. JPEG XL tends to win on lossless compression and progressive rendering. AVIF produces smaller files at typical web quality settings. So the short version is: AVIF for photos you're serving at 80% quality, JPEG XL for lossless assets or anything where progressive loading matters.

## Questions this post answers

### Will Firefox support JPEG XL images by default?

Yes, Firefox 157, due at the end of September, enables JPEG XL image decoding by default. Firefox had experimental support since version 152, and Nightly already runs it on by default for testing. This follows Mozilla's formal intent to ship, with Chrome's Blink engine announcing the same, and Safari already offering partial support.

_Track JPEG XL rollout details on daily.dev before adopting the format in production image pipelines._

### What made it possible for browsers to finally support JPEG XL decoding?

A new Rust-based decoder called jxl-rs, built by Google Research, made cross-browser JPEG XL support feasible. Mozilla had challenged the team to write a safe alternative to the original C++ decoder, which ran to around 100,000 lines and raised security concerns that blocked shipping. The Rust implementation cleared that security bar.

_Developers evaluating decoder security tradeoffs can follow this kind of format story on daily.dev._

### Should I use JPEG XL or AVIF for web images?

Use AVIF for photos served at typical web quality settings like 80%, since it produces smaller files at those settings. Use JPEG XL for lossless assets or cases where progressive loading matters, since it tends to win on lossless compression and progressive rendering, showing a blurry preview instead of a blank space on slow connections.

_Compare image format tradeoffs like this on daily.dev when picking a compression strategy for a project._

---

Tags: [#rust](https://daily.dev/tags/rust), [#firefox](https://daily.dev/tags/firefox)

[View this post on daily.dev](https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"JPEG XL Is Finally Getting Real Cross-Browser Support","url":"https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq"},"datePublished":"2026-08-24T15:45:16.387Z","dateModified":"2026-09-13T19:50:31.952Z","description":"JPEG XL is set to gain genuine cross-browser support, with Mozilla planning to enable it by default in Firefox 157 next month, Chrome signaling intent to ship,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6298e50f599be693f0f70c5023d587f1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6298e50f599be693f0f70c5023d587f1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rust,firefox","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"JPEG XL Is Finally Getting Real Cross-Browser Support"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/jpeg-xl-is-finally-getting-real-cross-browser-support-y58yn4twq#faq","mainEntity":[{"@type":"Question","name":"Will Firefox support JPEG XL images by default?","acceptedAnswer":{"@type":"Answer","text":"Yes, Firefox 157, due at the end of September, enables JPEG XL image decoding by default. Firefox had experimental support since version 152, and Nightly already runs it on by default for testing. This follows Mozilla's formal intent to ship, with Chrome's Blink engine announcing the same, and Safari already offering partial support. Track JPEG XL rollout details on daily.dev before adopting the format in production image pipelines."}},{"@type":"Question","name":"What made it possible for browsers to finally support JPEG XL decoding?","acceptedAnswer":{"@type":"Answer","text":"A new Rust-based decoder called jxl-rs, built by Google Research, made cross-browser JPEG XL support feasible. Mozilla had challenged the team to write a safe alternative to the original C++ decoder, which ran to around 100,000 lines and raised security concerns that blocked shipping. The Rust implementation cleared that security bar. Developers evaluating decoder security tradeoffs can follow this kind of format story on daily.dev."}},{"@type":"Question","name":"Should I use JPEG XL or AVIF for web images?","acceptedAnswer":{"@type":"Answer","text":"Use AVIF for photos served at typical web quality settings like 80%, since it produces smaller files at those settings. Use JPEG XL for lossless assets or cases where progressive loading matters, since it tends to win on lossless compression and progressive rendering, showing a blurry preview instead of a blank space on slow connections. Compare image format tradeoffs like this on daily.dev when picking a compression strategy for a project."}}]}
```

