JPG to JXL Converter
Repack your JPG photos as JPEG XL files without touching a single pixel. The original JPEG can be rebuilt byte for byte later. Camera EXIF data, including GPS location, is kept, so remove it first if you plan to share the files.
Download Started!
How would you rate your experience with MiConvert?
How JPG to JXL recompression works here
JPEG has been the default photo format for decades, so phones, cameras and websites are full of it. JPEG XL was designed partly as its successor. One of its main features is taking an existing JPEG and storing the same image in fewer bytes. The catch is support: many older programs and plain JPEG tools cannot open a .jxl file yet, so check where the files need to open before you switch.
We run cjxl, the reference encoder from the libjxl project, on our servers. For JPEG input it uses lossless JPEG transcoding. It does not decode the photo to pixels and compress it again. It repacks the compressed data already in the JPEG with JPEG XL's more efficient coding. There is no quality setting, because nothing is being compressed again in the lossy sense.
Every pixel stays exactly as it was. EXIF data comes along too, including camera model, exposure settings, capture date and GPS coordinates. Rotation is stored as a flag, as in the source, rather than by turning the pixels. We tested this path and confirmed that the original JPEG can be rebuilt from our output with identical bytes. The one hard limit is color mode: JPEGs saved in CMYK, which are common in print and prepress work, make the encoder fail.
This suits photographers and archivists who want smaller storage without the quality loss of repeated saves. It also suits Linux users who would otherwise script cjxl by hand, and anyone testing how JPEG XL works with their apps. If a file has to open everywhere today, keep the JPG alongside the JXL.
Converting JPG photos to JPEG XL
- Check whether any of your JPGs came from a print workflow. Open those in an image editor and save an RGB copy, because CMYK JPEGs cannot be converted.
- Decide what to do about location data. GPS coordinates in the EXIF pass into the JXL unchanged, so strip them first if the photos will be shared. On Windows, use the file's Properties, then Details, then Remove Properties and Personal Information.
- Upload .jpg, .jpeg or .jfif files, up to 10 per batch on entry plans, 25 on Plus and 50 on Pro. Each file can be up to 50 MB without an account and up to 100 MB on a free account.
- Download each .jxl file before its link expires, which is about 4 hours after the job finishes.
- If you plan to delete the original JPGs, keep the djxl tool from libjxl available. It can rebuild each original JPEG exactly from its .jxl.
What the JPG to JXL converter does
- Lossless JPEG transcoding with cjxl 0.7, the reference encoder from the libjxl project.
- Byte-for-byte reversibility: djxl reconstructs the original JPEG from the .jxl file.
- Keeps EXIF metadata as it was, including camera details, capture date and GPS position.
- Stores orientation as a flag, the same way the source JPG did, so the image data itself is never rotated or resampled.
- Accepts the .jpg, .jpeg and .jfif extensions.
- Converts a whole batch of photos per request, saving each as its own .jxl.
JPG to JXL questions
Is JPG to JXL on this page really lossless?
Yes. The encoder repacks the existing JPEG data instead of compressing the pixels again. In our tests, rebuilding the JPEG from the .jxl produced a file identical to the original, byte for byte. You get the same image, usually in a smaller file.
How do I get the original JPG back from the JXL?
Run djxl from libjxl, for example: djxl photo.jxl photo.jpg. That rebuilds the exact original. Our own JXL to JPG converter works differently: it decodes the image to pixels and saves a new JPEG. That is fine for sharing or viewing, but it is not the original file, so use djxl when the exact bytes matter.
Can I choose a quality level or make a smaller lossy JXL?
No. This page has no quality or effort settings and always uses lossless recompression. To trade some quality for much smaller files, run cjxl on your own computer with lossless JPEG transcoding turned off and a quality value of your choice.
Why did my upload fail with 'JXL conversion failed'?
The most common cause is a CMYK JPEG, which cjxl rejects. Open the photo in an editor, convert it to RGB, save it as a new JPG, and upload that copy. Also make sure you did not upload a macOS file whose name starts with ._ because we refuse those.
Does the JXL file keep my EXIF data and GPS location?
Yes. Everything in the JPEG's EXIF is carried over, including where the photo was taken. This is useful for archives, but it means a shared .jxl reveals the same location as the original. Strip the metadata first if that is a concern.
How do I convert JPG to JXL on Linux?
Install the libjxl tools from your distribution and run: cjxl photo.jpg photo.jxl. For JPEG input it uses lossless transcoding by default, which is the same method this page uses. Use this page instead when you are on a machine where you cannot install packages.
What can open JXL files?
Safari supports JPEG XL, and recent versions of many image viewers and editors can open it, sometimes through a plugin or an extension. Support in other browsers and older software has been uneven. Test the specific apps and websites you rely on before you replace JPGs with JXL.
How long are my photos kept?
The uploaded JPG is deleted when the conversion finishes. The .jxl file can be downloaded for about 4 hours, after which it is removed automatically. Transfers are encrypted with HTTPS. The download link uses a random token, but it is not one-time, so anyone you forward it to can download the file until it expires. File names and basic job data are logged, and signed-in accounts keep a conversion history entry until the account is deleted.