Lossless JPEG to JXL: Save 20% of Space Honestly
Picture this: your photo folder shrinks by about a fifth — roughly 20% smaller — and not a single shot loses one pixel of quality. It sounds like magic, but it's a real and the most underrated ability of JPEG XL. Let's unpack how the format honestly shrinks old JPEGs, why it's reversible, and who it helps.
The problem with old JPEGs
Over thirty-plus years, humanity has piled up an astronomical number of photos in the JPEG format. They sit on our phones, in clouds, on hard drives and on website servers. And all this treasure shares one flaw: JPEG doesn't compress very efficiently by modern standards. The format was born in 1992, and data-packing algorithms have come a long way since.
The fix seems obvious — re-compress everything into a newer format. But there's a trap: a normal JPEG-to-JPEG conversion (or to any other "lossy" format) damages the picture anew every time, adding artifacts. And we don't want to lose quality on photos we care about. This is exactly where JPEG XL's unique trick steps in.
In short
JPEG XL can pack an old JPEG about 20% more compactly without touching the image itself. The quality stays exactly the same, and from the resulting file you can recover an exact copy of the original at any time.
What lossless recompression is
The technical term is lossless JPEG recompression. The point is that JPEG XL does not re-compress the picture from scratch. It takes the already-compressed data inside the JPEG and repacks it in a smarter way — as if you rearranged the items in a suitcase more tightly without throwing anything out.
The result is a .jxl file that weighs on average about 20% less than the source JPEG but contains exactly the same image — down to the last pixel. No new artifacts, no smearing. This is the very trick we mentioned in "What Is JPEG XL" — one that neither AVIF nor WebP has.
How it works inside
Without heavy math, the idea goes like this. Any JPEG already stores the image in compressed form, but uses an old-fashioned method for the final packing step — the part that decides how to write the data in as few bytes as possible. Think of it as an outdated way of folding clothes into the suitcase.
JPEG XL takes those same numbers (i.e. the same picture) and runs them through its own, far more advanced entropy coder. The information doesn't change — only the way it's written down does, and it turns out to be more economical. That's where the ~20% gain comes from: it's not "removing extra from the picture," but a tighter recording of what was already there.
The key: reversibility
Here's what turns this feature from "nice" into genuinely valuable: the process is fully reversible. From a JXL produced by recompression you can reconstruct the original JPEG bit-for-bit — not a similar copy, but exactly the same file you had before.
This is critical for archives. You aren't taking an irreversible leap into the unknown: if tomorrow you need a JPEG specifically (say, for a program that doesn't understand JXL), you'll get it back identical to the original. In essence, lossless recompression is free space savings you don't have to pay for in any way.
How it differs from a re-save
It's easy to get confused here, so let's lay out the difference clearly.
| Action | Quality | Size | Reversible? |
|---|---|---|---|
| Re-save JPEG → JPEG | Drops | Slightly smaller | No |
| JPEG → JXL lossy | Drops | Much smaller | No |
| JPEG → JXL lossless | Unchanged | ~20% smaller | Yes, bit-for-bit |
Don't mix these up
"Lossless" here refers to the recompression process, not the source. If your JPEG was already lossy (and almost all JPEGs are), that loss doesn't disappear — but it doesn't get worse either. Recompression honestly preserves exactly the quality that's there.
Who actually needs this
A 20% effect seems modest on one file, but it turns into serious numbers at scale:
- Photo archives and backups. Tens of thousands of shots are gigabytes, and a fifth of that frees up with no downside.
- Cloud storage. Fewer bytes mean a smaller storage bill and faster sync.
- Photographers. Huge libraries of RAW edits exported to JPEG take up less room.
- Gallery websites. Where the audience is on Safari, you can serve JXL directly and save bandwidth.
How to try it
To pack an image into JPEG XL you don't need complicated software — an online converter is enough. If you want to turn a regular picture into JXL, the easiest start is a PNG source.
Open the converter
Go to the PNG → JXL page — no install, no sign-up.
Upload the picture
Drag the file into the converter window.
Get the .jxl
Download the compact JPEG XL file — done.
Try the format of the future on your own pictures
The FormatZ converter packs your image into JPEG XL right in your browser — free, with no install and no sign-up.
Convert PNG to JXLAnd if someone instead sends you a .jxl you need to open, the reverse JXL → PNG converter and our guide "How to Open JXL" will help. The full list of conversions is always on the all formats page.


