Image optimization remains one of the most practical ways to improve website performance. Images often represent a significant portion of the data transferred during a page load, particularly on content-heavy websites, online stores, and media platforms.

For years, developers have relied on JPEG, PNG, WebP, and more recently AVIF to balance image quality, file size, and browser compatibility.

With JPEG XL decoding support introduced in Chrome 155, another modern image format becomes a realistic option for web development. Google announced the integration on October 6, 2026, highlighting improved compression, lossless capabilities, high dynamic range support, and a new Rust-based decoder.

However, the arrival of another image format does not mean developers should immediately replace their existing image pipelines. The practical question is where JPEG XL provides measurable benefits and how it can be introduced without compromising compatibility.

What Is JPEG XL?

JPEG XL is an image format standardized as ISO/IEC 18181. It was designed to address limitations of older image formats while supporting both lossy and lossless compression.

Unlike traditional JPEG, JPEG XL supports transparency, animation, high bit depths, wide color gamuts, and high dynamic range images.

One particularly interesting capability is lossless JPEG transcoding. Existing JPEG images can be converted into a JPEG XL representation while preserving the information needed to reconstruct the original JPEG file exactly.

For organizations maintaining large photographic archives, this can provide a migration path that preserves existing image assets while potentially reducing storage requirements.

It is important to distinguish this capability from ordinary lossy re-encoding. Lossless JPEG transcoding preserves the original JPEG bitstream, while re-encoding an image with different quality settings may alter its visual content.

Why Chrome Support Matters

Browser support is one of the main factors determining whether a new image format becomes practical for general websites.

Google’s addition of JPEG XL decoding in Chrome 155 substantially broadens its potential audience. The Chrome team reports that JPEG XL can offer compression improvements of roughly 30% to 50% compared with JPEG in relevant scenarios.

That figure should not be treated as a universal performance guarantee. Compression efficiency depends on the image content, encoding settings, quality targets, and comparison methodology.

Google also recommends evaluating JPEG XL alongside AVIF rather than assuming one format will consistently outperform the other.

JPEG XL may be particularly interesting for high-fidelity photographic content, lossless compression, and use cases benefiting from progressive decoding.

Using JPEG XL Without Breaking Older Browsers

The simplest adoption strategy is progressive enhancement. Instead of replacing an existing JPEG or AVIF image, developers can provide multiple formats and allow the browser to select a supported version.

The HTML <picture> element provides this capability without JavaScript.

<picture>
    <source
        srcset="/images/article.jxl"
        type="image/jxl"
    >

    <source
        srcset="/images/article.avif"
        type="image/avif"
    >

    <img
        src="/images/article.jpg"
        alt="A detailed architectural photograph"
        width="1200"
        height="800"
        decoding="async"
    >
</picture>

In this example, a browser supporting JPEG XL can select the first source. Other browsers may select AVIF or fall back to the JPEG image.

The type attribute helps the browser determine whether it supports the format before requesting the corresponding image.

The fallback image also ensures that browsers without support for the newer formats can still display the content.

Developers should retain appropriate width and height attributes to reserve layout space and reduce unexpected content movement during loading.

JPEG XL Versus AVIF: Which Should You Choose?

Both JPEG XL and AVIF support features that traditional JPEG lacks. These include high-quality compression, transparency, and support for modern image characteristics.

However, their underlying technologies and practical tradeoffs differ.

AVIF is based on the AV1 video codec. It is already widely used for modern web images and can provide excellent compression, particularly at lower bitrates.

JPEG XL was designed specifically for image coding and includes features such as fine-grained progressive decoding and lossless JPEG transcoding.

For a photography website maintaining a large collection of existing JPEG images, JPEG XL’s transcoding capabilities may be attractive.

For an application already generating AVIF images with satisfactory quality and file sizes, the additional complexity of another format may not immediately justify the change.

The appropriate choice depends on real content and measured results rather than theoretical compression ratios alone.

A New Decoder Built with Rust

Another notable aspect of Chrome’s implementation is the choice of decoder.

Instead of integrating the existing C++ reference implementation directly, the Chrome team adopted jxl-rs, a JPEG XL decoder implemented in Rust.

Image decoders process complex binary files that may originate from untrusted sources. Vulnerabilities in this area can expose browsers to memory corruption and other security problems.

Rust provides memory-safety guarantees that help reduce entire classes of vulnerabilities. The Chrome team also invested in SIMD optimizations to improve decoding performance across different hardware platforms.

This does not mean every JPEG XL decoder is automatically secure, or that Rust eliminates all possible implementation bugs.

It does, however, illustrate how browser vendors increasingly consider memory safety a fundamental requirement when introducing code that processes untrusted data.

What About Content Management Systems?

For websites using WordPress or another content management system, browser support is only one part of the implementation.

The server must also be capable of accepting or generating JPEG XL files, storing them, and serving them with the correct MIME type: image/jxl.

Image libraries, thumbnail generators, content delivery networks, and media optimization plugins may require updates before JPEG XL can be integrated into an existing workflow.

Developers should verify the capabilities of their actual hosting environment rather than assuming that new browser support automatically means the entire publishing stack supports the format.

For smaller websites, generating JPEG XL alternatives only for selected high-resolution images may be more practical than converting the entire media library.

Measuring the Real Performance Benefits

Before introducing JPEG XL widely, developers should compare representative images across JPEG, AVIF, WebP, and JPEG XL at equivalent perceptual quality.

Useful measurements include final file size, encoding time, decoding behavior, visual quality, and actual page-loading performance.

For large websites, a format that produces slightly smaller files but significantly complicates image generation or caching may not provide an attractive operational tradeoff.

Similarly, saving bandwidth does not automatically guarantee an improvement in Largest Contentful Paint. Network conditions, image dimensions, preload behavior, decoding time, and rendering priorities all influence the final result.

A controlled experiment using real website images and representative devices provides considerably more useful information than relying on compression benchmarks alone.

Conclusion

JPEG XL’s arrival in Chrome represents a meaningful development for modern web image delivery.

It expands the options available to developers, particularly for high-quality photographic content, lossless workflows, and applications that can benefit from progressive image decoding.

Nevertheless, adopting a new image format requires more than browser support. Compatibility, content-generation tools, hosting infrastructure, and actual performance gains all need to be evaluated.

For most web applications, the sensible approach is to experiment with JPEG XL as an additional format while retaining reliable alternatives. The format offers interesting capabilities, but the decision to adopt it should ultimately be based on measurable benefits.

Official References

LEAVE A REPLY

Please enter your comment!
Please enter your name here