# JPEG XL converter

_Convert JPG, PNG and WebP to JXL for free, in your browser. Nothing is uploaded._

> A free, private JPEG XL converter: turn JPG, PNG, WebP and AVIF images into .jxl (or .jxl back into PNG) inside your browser, plus a plain guide to the format Chrome, Edge and Firefox switched on in October 2026.

- URL: https://www.insidethebox.dev/tools/jpeg-xl-converter
- Price: free, no sign-up, no file limit
- Privacy: runs in the browser (libjxl compiled to WebAssembly, in a Web Worker); images are never uploaded

## Features

- JPG, PNG, WebP, AVIF and GIF to JPEG XL
- JPEG XL to PNG
- Quality, effort, lossless and progressive settings
- Before/after comparison
- Batch conversion with a zip download
- Runs locally in the browser; no uploads

## Browser support

- Mar 2022: Standard (ISO/IEC 18181-1, the core codec, is published)
- Oct 2022: Chrome drops it (Chromium plans to remove its experimental decoder)
- Sep 2023: Safari 17 (First major browser to ship it on by default)
- Nov 2025: Chrome reverses (Open to a memory-safe Rust decoder)
- Oct 2026: Chrome & Edge 155 (jxl-rs decoder, on by default)
- Oct 2026: Firefox 158 (On by default on desktop and Android)

## File size (our test, one 1600×900 photo)

Same visual quality (SSIMULACRA2 80): WebP 144 kB, JPEG 140 kB, AVIF 104 kB, JPEG XL 95 kB. JPEG XL was 32% smaller than JPEG, 34% smaller than WebP and 9% smaller than AVIF.

Lossless: PNG 1585 kB, WebP 913 kB, JPEG XL 760 kB.

Lossless JPEG recompression: a 2400×1350 JPEG went from 320 kB to 271 kB (15% smaller) and decoded back to a byte-identical JPEG.

## Use it on a website

```html
<picture>
  <source srcset="hero.jxl" type="image/jxl">
  <source srcset="hero.avif" type="image/avif">
  <img src="hero.jpg" alt="…" width="1600" height="900">
</picture>
```

## 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.

## Sources

- [Intent to ship: JPEG XL](https://groups.google.com/a/mozilla.org/g/dev-platform/c/3YMV4MS34KA) (Mozilla dev-platform)
- [Firefox 158 now available with JPEG-XL support by default](https://phoronix.com/news/Firefox-158-Released) (Phoronix)
- [Google ships JPEG XL image format support in Chrome 155](https://alternativeto.net/news/2026/10/google-ships-jpeg-xl-image-format-support-in-latest-chrome-155-update/) (AlternativeTo)
- [Chrome supports JPEG XL](https://mjtsai.com/blog/2026/10/12/chrome-supports-jpeg-xl/) (Michael Tsai)
- [JPEG-XL is back on the menu](https://hackaday.com/2026/10/28/jpeg-xl-is-back-on-the-menu/) (Hackaday)
- [JPEG XL (JXL) is coming back to Chrome](https://coywolf.com/news/web-development/jpeg-xl-jxl-is-coming-back-to-chrome/) (Coywolf)
- [JPEG XL](https://en.wikipedia.org/wiki/JPEG_XL) (Wikipedia)
- [libjxl, the reference implementation](https://github.com/libjxl/libjxl) (GitHub)
- [jSquash: WebAssembly image codecs for the browser](https://github.com/jamsinclair/jSquash) (GitHub)
- [SSIMULACRA 2, the quality metric used in our test](https://github.com/cloudinary/ssimulacra2) (GitHub)
