Converter

Chrome, Edge and Firefox switched JPEG XL on in October 2026, so every major browser now shows it. None of them can save a JPEG XL file. This converter can, without your images leaving your device.

Encoding settings
80

80 looks the same as the original to most eyes. 90+ for print and archives.

7

Higher is smaller but slower. 7 is the libjxl default.

LosslessEvery pixel kept. Best for PNGs and graphics; photos saved as JPEG get bigger.
ProgressiveShow a rough picture first, then sharpen.

Your images never leave this device. Conversion runs in your browser; metadata such as GPS location is removed.

What is JPEG XL

JPEG XL (file extension .jxl) is an image format standardised as ISO/IEC 18181 in 2022 by the same committee that made the original JPEG. It is built to replace JPEG, PNG and GIF with one format: lossy and lossless, transparency, animation, HDR and wide colour, and pictures up to a billion pixels wide.

Two things set it apart. It can shrink an existing JPEG without changing a single pixel and turn it back into the exact original file, and it loads progressively, so a rough version of the whole picture appears almost at once.

Browser support

Chrome added an experimental decoder in 2021 and dropped it in late 2022, which left Safari as the only browser to ship JPEG XL (from Safari 17 in 2023). In November 2025 the Chrome team said it would accept a fast, memory-safe decoder. That decoder, jxl-rs, is written in Rust and shipped on by default in Chrome 155 and Edge 155 in October 2026. Firefox 158 followed a week later.

Browsers only display JPEG XL. They can't export it, which is why a converter is still the first step.

How much smaller

We encoded one 1600×900 photo in every format at the same visual quality (a SSIMULACRA 2 score of 80, high quality). JPEG XL came out at 95 kB: 32% smaller than JPEG, 34% smaller than WebP and 9% smaller than AVIF. Kept lossless, it was 52% smaller than PNG.

One photo is not a benchmark, and results vary with the picture and the quality you aim for: AVIF tends to win at low quality, JPEG XL at high quality and for lossless. Try your own images above.

Lossless JPEG recompression

Most images on the web are already JPEGs. JPEG XL can repack a JPEG's data more efficiently without decoding it to pixels first: our 2400×1350 test photo went from 320 kB to 271 kB (15% smaller), and turning it back gave a file identical to the original, byte for byte.

This needs libjxl's command-line tools (cjxl photo.jpg photo.jxl). The browser converter above re-encodes from pixels instead, which gives smaller files but not a reversible copy.

Progressive loading

A baseline JPEG arrives top to bottom. A progressive JPEG XL sends a coarse version of the whole image first and refines it as more data comes in, so on a slow connection people see the picture, not a blank box. Switch on Progressive in the converter to encode files this way.

How this tool works

The converter loads libjxl, the reference JPEG XL encoder, compiled to WebAssembly, and runs it in a background thread of this page. Your browser decodes each image, the encoder compresses it, and the result is saved straight from memory. No image is ever sent to us or anyone else: the only download is the encoder itself, once.

The image is rebuilt from its pixels, so EXIF data such as GPS location is removed and colours are converted to sRGB.

Use it on your website

Serve JPEG XL with a fallback, so browsers that support it get the smaller file and every other browser still gets an image. The <picture> element lists formats in order; each browser takes the first one it can show. Keep width and height on the <img> so the layout doesn't jump.

Want the whole site faster, not only its images? See how we build websites.

FAQ

Is this JPEG XL converter really free and private?

Yes. It is free with no sign-up and no limit on the number of files. The conversion runs in your browser with libjxl compiled to WebAssembly, so your images are never uploaded to a server. You can check it yourself: the network panel of your browser shows no image leaving the page.

Which browsers can display JPEG XL images?

Safari since version 17 (September 2023), Chrome and Edge since version 155 and Firefox since version 158 (all October 2026) display JPEG XL by default. Older browsers need a fallback such as AVIF or JPEG through the <picture> element.

Is JPEG XL better than WebP and AVIF?

At high quality JPEG XL usually makes the smallest files, and it is the only one of the three that can shrink an existing JPEG without any loss and turn it back into the exact original. AVIF can be smaller at low quality. In our test of one photo at the same visual quality, JPEG XL was 32% smaller than JPEG, 34% smaller than WebP and 9% smaller than AVIF.

What quality setting should I use?

80 is a good default for photos on the web: most people can't tell it from the original. Use 90 or more for print or archives, or switch on Lossless to keep every pixel. Higher effort makes files a little smaller but takes longer to encode.

Does converting to JPEG XL keep EXIF metadata?

No. This tool rebuilds the image from its pixels, so camera data and GPS location are removed and the colours are converted to sRGB. That is usually what you want for images on a website.

Can I convert a .jxl file back to JPG or PNG?

Yes. Drop a .jxl file into the converter and it becomes a PNG, which every app can open. To recover the original JPEG of a file made with lossless JPEG recompression, use libjxl's djxl command-line tool.

How do I use JPEG XL on my website?

Serve it with a fallback: a <picture> element with a <source type="image/jxl">, then AVIF or WebP, then a JPEG <img>. Browsers pick the first format they support. Image CDNs can also choose the format from the browser's Accept header.