JPG to JXL converter
Make JPEG XL (.jxl) files from JPG, PNG, WebP and other images, with lossy or lossless compression, right in your browser.
- 100% free
- Runs in your browser
- No uploads
- Runs on your deviceEvery tool works directly in your browser. No files are uploaded.
- Your privacy mattersYour files never leave your device, so there's nothing for us to store.
- No limitsUse any tool as much as you need. No daily caps, no waiting.
- Completely freeNo signup and no trial to cancel. Ads keep the tools free.
How to convert JPG to JXL
- Add your images. JPG, PNG, WebP, GIF, BMP and HEIC all work. Add as many as you like.
- Choose the compression. Lossy at 90% suits photos. Lossless keeps every pixel, which suits screenshots and graphics.
- Download. Each file shows its new size. Save them one by one, or all at once as a zip.
Why make JPEG XL files
JPEG XL usually gives a smaller file than JPG at the same visual quality, and its lossless mode is typically smaller than PNG. It also supports transparency, so one format can replace both JPG and PNG. With Chrome 155 joining Safari in showing it, it has become practical for websites.
On a website, serve the JXL with a JPG fallback inside a <picture> element, so browsers without JPEG XL still get an image.
What the settings do
- Quality trades size for detail. 90% matches libjxl's own default (distance 1), which it describes as visually lossless; lower values give smaller, softer images.
- Lossless stores the pixels exactly. For photos it can be larger than the JPG you started from, and the file row says when that happens.
- Smaller file uses libjxl's effort 7, its usual default. Faster uses effort 3.
- Transparency in PNG and WebP images is kept. Camera details and location aren't copied.
Tips
- Re-encoding a JPG loses a little quality each time, so start from the best original you have.
- Got a .jxl that won't open somewhere? JXL to JPG converts it back.
Frequently asked questions
Who can open the JXL files I make?
Safari 17 and newer and Chrome 155 and newer show JPEG XL, as do a growing number of image editors and viewers. Many apps, upload forms and older systems still can't. Check before you send one, and keep the original.
Should I choose lossy or lossless?
Lossy for photos: the files are much smaller, and libjxl treats the default 90% as visually lossless. Lossless for screenshots, diagrams and graphics with flat colours and sharp text, where it keeps every pixel and still beats PNG on size.
Is this the same as cjxl's lossless JPEG recompression?
No. The cjxl command-line tool from libjxl can repack a JPG into a JXL without decoding it, and the original JPG can be rebuilt from it exactly. This page decodes the picture and encodes it again, which works for any image format but isn't reversible to the original file.
Why is encoding slow?
JPEG XL spends effort searching for the smallest file. With Smaller file selected, a 12-megapixel photo can take 10 seconds or more, depending on your device. Choose Faster to finish sooner at the cost of bigger files. The page stays usable while it works.
Are my images uploaded?
No. The libjxl encoder runs as WebAssembly inside your browser tab. It's loaded from this site the first time you encode, and your images never leave your device.