Skip to main content
Rebytify Rebytify
← All posts

October 16, 2026 · 6 min read

What Is JPEG XL (JXL)? The Image Format Built to Replace JPG and PNG

JPEG XL, usually written JXL, is a royalty-free image format standardised as ISO/IEC 18181 and developed by the Joint Photographic Experts Group - the same committee behind the original JPEG. It was designed from the start to be a single format that can replace JPG, PNG and GIF, while beating all of them on file size and quality.

What is JPEG XL?

JXL is a general-purpose raster image format. It handles photographs, screenshots, illustrations, transparency, animation and high dynamic range in one codec, and it does so with both lossy and lossless compression. Its design came out of two earlier research projects, Google's PIK and Cloudinary's FUIF, which were merged into the final standard.

The goal was practical rather than academic: take the best ideas in modern image compression and make them fast enough to decode on a phone, flexible enough for professional workflows, and free of patent licensing worries.

Why JPEG XL is so good

JXL vs JPG, PNG, WebP and AVIF

JPG is universally supported but dates from 1992, has no transparency and shows blocky artefacts at high compression. PNG is lossless and supports transparency but produces large files for photos. WebP improved on both, and AVIF pushed compression further, especially at very low bitrates.

JXL's edge is that it is strong everywhere. AVIF can look smoother at extreme compression, but JXL tends to keep fine texture and detail at high quality, encodes far faster, supports larger images and offers the lossless JPEG transcode that none of the others do. If you care about quality, archival value and speed rather than the absolute smallest thumbnail, JXL is hard to beat.

Image format comparison (typical figures; results vary by image)
JXLJPGPNGWebPAVIF
CompressionLossy + losslessLossy onlyLossless onlyLossy + losslessLossy + lossless
Size vs JPG (same quality)30-60% smallerBaselineMuch larger for photos25-35% smaller40-50% smaller
TransparencyYesNoYesYesYes
AnimationYesNoLimited (APNG)YesYes
Bit depth / HDRUp to 32-bit, HDR8-bitUp to 16-bit8-bit10/12-bit, HDR
Lossless JPG recompressionYes (about 20% smaller)n/aNoNoNo
Encoding speedFastVery fastFastFastSlow
Browser supportSafari; others limitedUniversalUniversalAll modern browsersAll modern browsers

Browser and software support

Support is the honest weak spot. Safari has supported JPEG XL natively since version 17, and a growing list of tools - including Photoshop, GIMP, Affinity, ImageMagick, libvips and many Linux and Android galleries - can read and write it. Chromium and Firefox have moved back and forth on shipping a decoder, so support across browsers is still not universal.

That means JXL is an excellent choice today for archives, photography workflows, asset pipelines and Apple-centric audiences, and a progressive-enhancement choice for the public web, where you would serve it through a <picture> element with AVIF, WebP or JPG fallbacks.

When should you use JXL?

Convert to and from JXL in your browser

You do not need to install anything to try the format. Rebytify converts JXL files to PNG, JPG, WebP or AVIF, and turns your existing images into JXL, all inside your browser using WebAssembly. Your files are never uploaded. One note: Rebytify decodes your image to pixels and writes a new JXL file. It does not perform the bit-exact, reversible JPEG transcode, which is a feature of the cjxl command line tool.

Ready to try it? Convert a JPG to JXL and compare the file sizes yourself.

Convert JPG to JXL