Skip to content
CZECH TH!S Custom websites
EN CS

JPEG XL is back in Chrome. Here's how to hand images to your developer now

Illustration of JPEG conversion to JPEG XL for smaller files and better quality, beside a browser window and Chrome logo.

On most websites, images are the heaviest thing a page downloads. They often make up more than half the data and decide whether a site loads instantly on mobile or leaves visitors staring at empty grey boxes. So it's good news that Chrome 155, released at the end of October, ships support for the JPEG XL format. It's a small story with a happy ending: Google removed it from the browser in 2022, the community pushed back, and now the format is returning – this time with a new, safer decoder written in Rust. Firefox 158 turned it on the same month, and Safari has supported it since version 17.

What JPEG XL can do

Put simply, it's a successor to classic JPEG that handles everything you want from photos on the web. At the same quality, files are noticeably smaller. It supports transparency, so a cut-out product shot no longer has to be a huge PNG. It supports wide colour gamut and HDR, so rich colours from a good monitor don't turn dull. And it has one clever trick: it can losslessly repack existing JPEGs into smaller files without changing a single pixel.

Users also benefit from progressive loading. The image shows up in a rough form first and sharpens as it downloads, instead of drawing line by line from the top.

Does this mean we'll switch everything to JPEG XL?

Not right away. Support isn't quite universal yet (Microsoft Edge, for example, isn't listed in the compatibility tables so far), and plenty of people run older browser versions. In practice, I have the site offer several versions of the same image and let the browser pick the best one it understands: JPEG XL or AVIF for modern browsers, WebP or classic JPEG as a fallback. That's purely technical work – it's generated automatically during the build or on the server, and you don't need to worry about it.

A quick cheat sheet for completeness: photos and rich illustrations → modern raster formats (JPEG XL, AVIF, WebP). Icons, logos and simple illustrations → SVG, because it stays sharp at any size and usually weighs a few kilobytes. Animation → where possible, a short video or CSS rather than a huge animated GIF.

The most common misconception: "I already made it small for web"

This is the part that matters most for working together. I often receive photos a designer has carefully exported from Photoshop as "JPEG for web, 60% quality, 1200 px wide." Well meant, but the result is worse. Every extra round of lossy compression adds artefacts, and when I then convert the image into a modern format and five different sizes for mobile, tablet and retina screens, I'm working with material that's already damaged. On top of that, 1200 pixels simply isn't enough on a wide retina monitor.

The ideal is to send me a master at the highest quality – a big PNG, TIFF, or a JPEG at 95% quality or more is fine – and leave the optimisation to automation. These days it's better and more consistent than any of us would be by hand.

What to include with images at handoff

To make images look on the web the way you designed them, a few small things help a lot. First, the focal point: what must stay visible when the photo is cropped to portrait on mobile (a face, the product, the logo on a T-shirt). Second, whether the image may be cropped at all or must always be shown whole. Third, the colour profile – ideally sRGB, or Display P3 if you're deliberately working with more saturated colours. And finally, alt text, or at least a short description of what's in the image and why it's there. It helps people using screen readers, and search engines too.

Conclusion

The return of JPEG XL isn't a revolution you'll notice at first glance. But it's another step towards a web that can show beautiful, sharp, colour-accurate photos without costing users data and patience. Your part in this is simpler than it seems: send me high-quality originals, tell me what matters in them, and leave the rest to code. I'll make sure each visitor gets them in the best format their browser can handle.

← Back to the blog

[ LET'S BUILD ]

Send your design — get a price and deadline within 24 h.

Figma, XD, Sketch or PDF. No strings attached, no dev-speak, under your brand.