After months of anticipation, every major web browser now has native support for JPEG XL. Yet according to a large real-world benchmark from Firefox developer Jake Archibald, websites should probably hold off on making it their default format instead of AVIF.

When looking at regular compressed photos on the web, Archibald stated that “For lossy photos on the web, AVIF almost always produces smaller files than JPEG XL.” Even if you crank the compression tools all the way up, JPEG XL files usually end up 6% to 20% heavier than their AVIF counterparts.

lossy-image-compression-formats

Privacy-focused browsers were quick to adopt the standard too, as we saw when Brave 1.97 added default JPEG XL support on desktop earlier this month. Having browser support is great, of course, though it does not automatically make the format the best pick for every webpage.

The gap gets way worse when you move away from standard photography and try to compress flat graphics or transparent images. Archibald noted that “For screenshots and illustrations, AVIF is much better than JPEG XL,” with JPEG XL sometimes spitting out files that are nearly double the size.

avif-jpeg-xl-comparison

Even with those drawbacks, browser makers are still pushing forward, though the rollout has been a little bumpy since Microsoft Edge 155 listed the feature in its changelog before it actually worked in our testing. Beyond raw file weight, AVIF also decodes two to three times faster at medium quality settings, meaning images pop onto your screen much quicker.

Where JPEG XL genuinely shines is uncompressed quality and shrinking down old photo libraries without ruining them. As Archibald put it, “JPEG XL can make existing JPEGs 9–20% smaller, without further loss,” and “For lossless, JPEG XL is the clear winner.”

With Firefox v158 bringing out-of-the-box JPEG XL support alongside everyone else, developers finally have both options on the table. We recommend checking out Jake Archibald’s full blog for more details.

 
✦
PiunikaWeb’s Take

For years, JPEG XL debates felt like a culture war, especially after Google removed experimental Chromium support. Now available everywhere, Archibald’s tests offer a reality check because they show that newer formats aren’t magic bullets for web speed.

Unless a site is archiving pristine lossless graphics or converting millions of old JPEGs, sticking with AVIF is simply the smarter move for keeping pages light and fast right now. Still, newer encoders like jixel are already closing the gap, so having both formats natively supported in our browsers is a huge win for the open web.

We stand out from the tech-media crowd because we break news stories; we mainly bring you stuff that you won’t find anywhere in the mainstream tech media. Our stories have been picked up by some of the world’s most popular websites and media outlets—more info is available here.

Dwayne Cubbins
3140 Posts

I cover fast-moving stories across apps, online platforms, and everyday tech — phones, wearables, consoles, and whatever else people are fighting with this week. Bugs, rollouts, scams, policy enforcement, and the occasional internet-culture rabbit hole are all fair game. My goal is simple — make confusing tech news readable. When I'm not working, I'm working out or chilling with my dog. Got a tip? You can find me on X @dcubbins.