JPG to JXL Converter
Encode a JPG as a JPEG XL file with ImageMagick, right in your browser.
or drop files here
JPG Format
JPEG image
A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.
- lossy compression
- adjustable quality
- no alpha transparency
- supported everywhere
JPEG XL Format
JPEG XL image
An image format standardized as ISO/IEC 18181 by the Joint Photographic Experts Group. It supports lossy and lossless compression and can losslessly recompress existing JPEG files.
- lossy and lossless compression
- lossless JPEG recompression
- alpha transparency
- animation
How to convert JPG to JXL
Follow these steps to convert JPG to JXL online.
Choose your JPG file, or several at once.
Wait while the converter turns each file into JXL.
Download each new JXL file. Your original file isn't changed.
Related Tools
JPG Compressor
Compress and optimize JPG files
JPG to CUR
Convert JPG images to CUR format
JPG to GIF
Convert JPG images to GIF format
JPG to HDR
Convert JPG to HDR format
JPG to JFIF
Convert JPG to JFIF format
JPG to KTX
Convert JPG to KTX format
JPG to PCD
Convert JPG to PCD format
JPG to PPM
Convert JPG to PPM format
JPG to PSD
Convert JPG to PSD format
JPG to SVG
Convert JPG to vector SVG
JPG to TXT
Convert JPG to TXT format
JPG to XBM
Convert JPG to XBM format
AVIF to JXL
Convert AVIF to JXL format
BMP to JXL
Convert BMP to JXL format
CR3 to JXL
Convert CR3 to JXL format
CUR to JXL
Convert CUR to JXL format
DDS to JXL
Convert DDS to JXL format
GIF to JXL
Convert GIF to JXL format
HEIC to JXL
Convert HEIC to JXL format
HEIF to JXL
Convert HEIF to JXL format
ICNS to JXL
Convert ICNS to JXL format
ICO to JXL
Convert ICO to JXL format
JPEG to JXL
Convert JPEG to JXL format
SVG to JXL
Convert SVG to JXL format
Before converting JPG to JPEG XL
- The JPG is decoded to 8-bit pixels and encoded as a lossy JXL; it is not a bit-exact recompression.
- The page has no quality or lossless setting.
- EXIF, XMP and the ICC profile are not copied.
- Safari, GIMP, XnView MP and IrfanView open JXL files.
About JPG and JPEG XL files
What is a JPG file?
JPG, or JPEG, is the lossy photo format from the Joint Photographic Experts Group; work started in 1986, and its US patents lapsed on 27 October 2006. The baseline method, covered by ITU-T T.81 (1992) and ISO/IEC 10918-1 (1994), cuts the image into 8x8 pixel blocks and applies a discrete cosine transform and Huffman coding to each. A typical setting leaves 1/10 to 1/20 of the uncompressed size. Each channel holds 8 bits, there is no alpha, and .jpg and .jpeg mean the same thing. Cameras and scanners write it widely, and its media type is image/jpeg.
Programs that open JPG files
- Mac, Windows and Linux: GIMP can import JPEG for editing, and ImageMagick opens JPG.
- Mobile and Web: Chrome displays JPG on web and mobile, Safari does so on mobile, and Firefox on the web.
JPG and JXL compared
JPEG XL comes from the JPEG committee as ISO/IEC 18181. It handles lossy and lossless coding, alpha channels, animation and progressive decoding, along with high bit depth, wide color gamuts and HDR. Existing JPEG files can be recompressed by it without any loss. A .jxl file is either a bare codestream or a box-based container, and its media type is image/jxl.
This page does not recompress losslessly. Your browser decodes the JPG to 8-bit RGBA pixels and ImageMagick encodes them as a lossy JXL with default settings. Pixel values change, and there is no quality control. Metadata is dropped.
Other ways to convert JPG to JXL
- cjxl: run
cjxl input.jpg output.jxl; by default it recompresses the JPEG losslessly. - ImageMagick: run
magick input.jpg converted.jxl, which needs the JPEG XL delegate library. - GIMP: open the JPG, pick File > Export As, and save the result as a JPEG XL file. GIMP 2.10.34 added export, limited to 8-bit lossless.
Problems with JPG files
- JPEG offers no alpha channel, so transparent pixels cannot survive an export to it.
- An editable layer stack is not preserved in JPEG, so hold on to the project file.
- Older photo frames may reject progressive JPEG; turn progressive mode off when you export for one.
Frequently Asked Questions
Everything you need to know about our converter
How can I turn a JPG into a JXL file?
Is the JXL lossless?
Can JPEG XL recompress a JPEG without loss?
Will the JXL be smaller than the JPG?
Are my camera details kept in the JXL?
Which programs and browsers open JXL?
Does the JXL keep the picture's pixel size?
Does it keep a bigger color range?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.