Enable JPEG XL (JXL) in Web Browsers - cocoon/jxl.Net GitHub Wiki

Firefox Nightly

Got to "Experiments settings": about:preferences#experimental
check the checkbox for Media: JPEG XL

Chrome Canary

Got to: chrome://flags/#enable-jxl
Enable: JXL image format

Microsoft Edge (v91)

Source from here: https://gist.github.com/ziemek99/6295222469218427bb160cf849cdaa0c

How to permanently enable JPEG XL in the latest stable Microsoft Edge 91

Enabling JPEG XL in Microsoft Edge 91 is tricky. The runtime flag has to be embedded in a shortcut and may not work all the time (e.g. if you run Edge from a different shortcut without runtime flag). Here's how you can enable it permanently... or at least until you revert it.

  1. MAKE SURE THAT THE BROWSER ISN'T RUNNING.
  2. Open %localappdata%\Microsoft\Edge\User Data in File Explorer.
  3. Open Local State file in your favourite text editor.
  4. Find "enabled_labs_experiments": string.
    • If you found it, enter "enable-jxl@1" inside empty brackets next to the string above.
    • If the brackets aren't empty because you've already got some flags enabled, insert ,"enable-jxl@1" (yes, with that comma) before the closing bracket, after all other flag descriptions (or inside the list, I tried to keep its alphabetical order).
    • If you couldn't find that string, try temporarily enabling a non-harmful flag (I'd recommend Parallel downloading), then close the browser, open the file again, and replace that flag's string ("enable-parallel-downloading@1", if you followed my example) with "enable-jxl@1".
  5. Save and close the file, then open the browser and test if JPEG XL is working on https://jpegxl.info, https://jpegxl.info/jxl-art.html and https://mo271.github.io/jxl.