HDR to JXL Converter (Radiance .hdr to JPEG XL)
Convert a Radiance .hdr image into a compact JPEG XL file you can preview and share. The result is a standard-range sRGB image with no tone mapping, so highlights brighter than white are clipped rather than preserved.
Download Started!
How would you rate your experience with MiConvert?
Radiance HDR, JPEG XL and what changes between them
The .hdr extension usually means a Radiance RGBE image. This format stores brightness with a shared exponent, so one file can hold both deep shadows and the glare of the sun. It is the standard download format for HDRI environment maps that light scenes in Blender, Unreal Engine, Unity and other 3D tools. Ordinary viewers, chat apps and websites often cannot open .hdr files, and the files themselves are large.
On our servers, ImageMagick reads the Radiance file and converts its linear light values to sRGB. The image is saved as a temporary PNG, and cjxl, the reference JPEG XL encoder from the libjxl project, compresses that PNG into the .jxl file in lossy mode.
What gets lost matters a lot for this format. No tone mapping is applied, so anything brighter than display white is clipped flat, typically the sun, lamps and specular highlights, and the extra stops of dynamic range are discarded. JPEG XL can store HDR content, but this conversion does not use that capability, so the .jxl cannot replace the original as a lighting source in a renderer. The encoding is lossy, and there is no lossless option.
This conversion suits people who need to look at an HDRI or show it to someone, not render with it. Typical uses are thumbnails for an asset library, a preview for a client, or a quick way to tell several environment maps apart. Searches for 'HDR to SDR' usually concern phone and camera video in HDR10, Dolby Vision or HLG. That is a different kind of HDR, and this page handles only Radiance still images.
If you want the brightest areas to look natural instead of clipped, tone-map the image yourself first. Photoshop, Affinity Photo, Luminance HDR and Blender's compositor can all do this. Then export the result directly to JPEG XL if your editor supports it, or to a PNG you can convert afterwards. If you need the full range later, keep the original .hdr or an OpenEXR copy.
Converting an HDR environment map to JXL
- Check the resolution. Very large maps can exceed our image engine limits of about 16K pixels per side or 128 megapixels in total. If you see 'width or height exceeds limit' or 'cache resources exhausted', download a smaller version of the map, such as 4K or 8K, or downscale it.
- Compare the file size with your plan's limit. Guests can upload files up to 50 MB, free accounts up to 100 MB, Plus up to 200 MB and Pro up to 1 GB. Large .hdr maps are often over the guest limit.
- Upload the .hdr file. Make sure it is a Radiance image and not an ENVI .hdr header from satellite or scientific software. Those headers are text files that contain no pixels.
- Start the conversion. This page has no exposure, tone-mapping or quality controls, and the encoder settings are fixed.
- Download the .jxl and open it in a program that supports JPEG XL. If the program reports an error, it most likely lacks a JPEG XL decoder.
What the HDR to JXL conversion does
- Reads Radiance RGBE .hdr files with ImageMagick and maps their linear light values into the sRGB color space.
- Encodes the result with cjxl, the libjxl reference encoder, as a lossy JPEG XL file.
- Passes the image through a temporary PNG rather than a temporary JPEG, so lossy compression is applied only once.
- Shows the engine's own limit message when an image is too big, so you know to use a smaller version.
- Converts up to 10 HDR files per job as a guest or free user, 25 on Plus and 50 on Pro.
HDR to JXL questions
Does the JXL keep the high dynamic range of my HDR file?
No. The values are converted to standard-range sRGB without tone mapping, so everything brighter than white is clipped. If you need the range for lighting or later editing, keep the original .hdr, or store an OpenEXR copy.
Is this the same as converting HDR to SDR?
For Radiance still images, partly. The output is standard range, but it is a straight clip rather than a graded result with a tone curve. For HDR video from phones or cameras, such as HDR10, Dolby Vision or HLG, this page does not apply, because it converts still images only.
Can I adjust exposure or tone mapping before converting?
Not on MiConvert. To control how highlights roll off, tone-map the image in Photoshop, Affinity Photo, Luminance HDR or Blender. Then export the finished image from that program.
Is the JPEG XL lossless?
No. cjxl runs in lossy mode for this conversion, and the page has no lossless switch. Because the dynamic range is reduced as well, the original .hdr cannot be rebuilt from the JXL, so keep the source file.
Which programs can open the converted JXL file?
Safari on recent Apple devices, Krita, GIMP 3 and XnView MP are among the programs that open JPEG XL. Support in other browsers and older software still varies, so test the file where you plan to use it.
The conversion failed. What should I check?
The message 'ImageMagick conversion failed' with a note that the file may be corrupt or unsupported usually points to a damaged file or a variant ImageMagick cannot read. Re-export the map as a standard Radiance RGBE .hdr and try again. A limit error means the map is too large, so use a smaller resolution.
How long do you keep my HDR file and the JXL?
Your .hdr is processed on our servers and deleted when the conversion job ends. The JXL can be downloaded for about 4 hours and is then removed automatically. File names and sizes are recorded in our logs, so leave confidential project details out of the file name.