How JPEG XL Compares

FeatureJPEG XLWebPJPEGPNG
Typical Size Savings
(vs JPEG)
30–50%25–34%0%Larger†
HDR SupportYesNoGain map‡Yes*
LosslessYesYesNoYes
Alpha ChannelYesYesNoYes
JPEG TranscodingYesNoNoNo

Scroll horizontally to see more →

Size savings: JPEG XL per Chrome for Developers; WebP per Google's WebP study.

* HDR in PNG was added in the PNG Third Edition (2025). WebP is limited to 8 bits per channel and PNG to 16, so converting high-precision JPEG XL images to either can still lose precision.

† PNG is lossless only, so photos are usually much larger than as JPEG: lossless compression typically reaches 8–12 bits per pixel for photographs, versus about 4 for visually lossless JPEG (Cloudinary).

‡ A JPEG can carry HDR as an SDR image plus a gain map, as in Ultra HDR and ISO 21496-1; viewers without gain-map support show the SDR image.