Skip to content

Ads may be personalised. Do you also accept cookies to measure visits? Privacy and cookies

Lossless JPEG XL: how to keep images without losing anything

In lossless mode, JPEG XL keeps every pixel of the image: when opened, it comes back identical to the original. It usually ends up smaller than PNG. There is also JPG recompression, which stores a JPG about 20% smaller and lets you recover the original JPG byte for byte. The ZiggWeb converter does lossless mode from the pixels.

Step by step

  1. Open the Convert to JPEG XL tool.
  2. Check “Lossless (keeps every pixel)”.
  3. Choose the images: PNGs, screenshots, drawings or photos you want to keep without losing anything.
  4. Compare the size and download the .jxl.

Convert to JPEG XLSee the step by step as a Web Story

Advertisement

The JPEG XL modes

ModeWhat it keepsWhen to use it
Lossy (VarDCT)The look of the image, with detail discardedPhotos for websites and phones
Lossless (Modular)Every pixel, unchangedScreenshots, drawings, working files
JPG recompressionThe whole original JPG, recoverable byte for byteCollections of old JPGs (done by cjxl on a computer)

Things to watch

  • In the tool's test, the decoded lossless .jxl is compared pixel by pixel with the source PNG: zero differences.
  • Lossless does not make a photo that was already a JPG look better: it only keeps exactly what is there.
  • For old JPGs, use cjxl on a computer: it keeps the original JPG inside the .jxl and saves about 20%.

Frequently asked questions

Is lossless JPEG XL smaller than PNG?

Usually yes, for the same image. The difference depends on the content: photos and images with many colors gain more. Compare in the tool with your own images.

What is JPEG XL JPG recompression?

It is a mode in which JPEG XL reuses the JPG data and stores it all more compactly, about 20% smaller. Later you can recover the original JPG byte for byte with the djxl tool. ZiggWeb does not do this mode; it rebuilds the image from its pixels.

Is lossless good for phone photos?

It works, but the file gets large. For everyday photos, a quality between 80 and 90 already shows no visible difference and weighs much less.

Is transparency kept?

Yes. JPEG XL keeps the transparency channel, lossy and lossless.

Tools in this guide

Written and maintained by the ZiggWeb team.

Advertisement