What the Ultra HDR checker will and won't do
| Task | Here | Why |
|---|---|---|
| Detect an Ultra HDR JPEG | Yes | The structure is readable: a main JPEG, a Multi-Picture index, XMP metadata and a second small JPEG. |
| Show the gain-map numbers | Yes | They are plain XMP values: minimum and maximum boost, gamma, offsets, display headroom. |
| Preview the HDR effect in SDR | Yes, as an approximation | The page applies the specification's formula, then rolls highlights off or clips them to fit a normal screen. |
| Save an SDR copy | Yes | The main image is already SDR. The copy is redrawn and re-encoded without the gain map. |
| Convert SDR to HDR | No | There is no true highlight data in an SDR file to build a gain map from. Anything generated would be invented. |
| Show real HDR on your screen | No | That depends on your browser, operating system and display, not on this page. |
Why there is no button to make a JPG into HDR
An Ultra HDR file is a normal photo plus a second, smaller image that records, pixel by pixel, how much brighter the real scene was than the standard version shows. Only the camera has that information, and it has it only at the moment of capture. By the time you're holding a finished JPG, the bright sky and the window and the lamp have already been clipped to white, so a tool that attaches a gain map afterward is guessing at brightness nobody measured. Plenty of converters do exactly that and call the output HDR. We'd rather you knew the difference, because a file that merely looks brighter on one phone isn't a better photo.
There's also an engineering limit. A browser canvas holds 8-bit pixels with nothing brighter than SDR white, and writing a valid Ultra HDR container takes more than the canvas can encode by itself. If you want genuine HDR files, shoot in a camera mode that records them, or export from a raw file in software that writes Ultra HDR. The longer story is on the page about what Ultra HDR is and how the file is built.
How the SDR tone preview is calculated
Each pixel of the gain map holds a value between 0 and 1. The specification converts that into a boost measured in stops: the minimum boost, plus the stored value times the range, after a gamma step. The page then takes the SDR pixel, adds a small offset, multiplies by two raised to that boost, and subtracts a second offset. The strength slider scales the boost from nothing up to the file's full amount, so you can watch the highlights open up.
The result contains values above SDR white, which an ordinary screen has no way to display, and you choose how to fit them. Roll highlights off smoothly keeps some separation between bright areas. Clip at white shows you where the HDR version would have run out of room. Either way, what you see is an SDR drawing of an HDR idea, useful for judging a file and no substitute for viewing it on a capable display.
Using the inspector, step by step
- Choose a JPEG. Photos saved as Ultra HDR on recent Android phones are the typical case.
- Read the verdict and the table. If it reports no gain map, the file is standard SDR.
- If a gain map is present, move the strength slider and switch the squeeze mode.
- Save the tone-mapped preview as a PNG, or save an SDR copy as a JPEG.
One file, two renditions: how an Ultra HDR JPEG is built
An Ultra HDR photo is a standard JPEG followed by a second, smaller JPEG that holds the gain map. A Multi-Picture index near the start of the file points to the second image, and XMP metadata describes how to apply it. A viewer that doesn't know about gain maps ignores the extra data and shows the standard picture. A viewer that does can scale the gain map to the headroom of the current display and show brighter highlights. That arrangement is why one file can look right on an old screen and richer on a capable one, and it's what this page reads when it reports a verdict.
Which squeeze mode should you use?
The two modes answer different questions, and the slider shows how much of the picture depends on the gain map at all.
Roll highlights off smoothly
This mode compresses values above white so bright regions keep some separation. It gives the more natural-looking preview and suits judging how the photo might look on an ordinary screen.
Clip at white
This mode cuts everything above white flat, which makes the overflow visible as solid patches. Use it as a diagnostic, and use roll-off for a feel. Turning the strength down then shows how much of the picture leans on its headroom.
What a browser tab can and cannot verify
- It can confirm the file structure: the main image, the index, the XMP block and the second JPEG.
- It can read the gain-map numbers and apply the published formula to show an SDR approximation.
- It can't tell you whether your display, browser or operating system will show true HDR.
- It can't decode HEIC or AVIF pixels, so for those formats it looks only for labels.
- It can't prove that the highlights in a file were captured by a camera and not added later.
When the checker is worth using
The page earns its keep in a few ordinary situations. You exported a photo from a phone and want to know whether the gain map survived the trip through a messaging app or an editor. You received a file labelled HDR and want to see whether it really contains a second image or only looks brighter. Or you're about to post a picture and want a rough idea of how the standard-range version will look to people on ordinary screens. In each case, read the verdict first, then the gain-map numbers: a large maximum boost means the camera recorded a lot of extra highlight range, and a boost close to zero means the HDR effect will be faint even on a capable display.
Compare the tone preview at full strength with the slider turned down. If the two look nearly the same, the file has little to gain from an HDR viewer. If the full-strength version blows out whole regions when clipped, the photo leans on its headroom, and viewers without HDR support will show a flatter picture than the one you remember taking.
PNG, HEIC and AVIF files
For PNG the page reads the cICP chunk, the label that marks a file as using an HDR transfer curve such as PQ or HLG. For HEIC and AVIF it searches for a color signalling box and for the label Apple uses on HEIC gain maps, by pattern matching only; it doesn't decode those formats. One trap worth knowing: if your browser converts a HEIC photo to JPEG as you pick it, the gain map may be gone before this page ever sees the file. To strip other hidden data from a photo, the photo metadata viewer and remover does that job.
Does my photo leave my device?
The file is read and decoded in this tab, and the script makes no network requests. The preview and the SDR copy are drawn on a canvas from pixels, so they carry none of the original's metadata. If an HDR photo simply looks too dark in the first place, the image brightener is the better tool, and for web delivery you may want PNG to WebP afterward.
Questions people ask
What is an Ultra HDR image?
It's a regular JPEG with a gain map attached. Old software shows the JPEG and ignores the rest, while software that understands the gain map can brighten highlights on a capable display. See what Ultra HDR is for the file layout.
Can I turn a JPG into an HDR photo?
No, and not with this page. A true conversion needs brightness data the JPG never stored. Capture in a camera mode that records HDR, or export from a raw file in software that writes Ultra HDR.
Does it convert HDR to SDR?
In two senses. The SDR copy keeps the standard picture and drops the gain map. The tone preview maps the HDR rendition into SDR range, which is an approximation and not an official conversion.
Why doesn't my screen show the HDR effect?
It takes a viewer that supports the format and a display with headroom above standard white. Without both you simply see the SDR image, which is by design and not a fault in the file.
Do social networks keep the gain map?
Not reliably. Many services re-encode uploads, and that usually discards the second image. Check what the platform serves back to you before assuming the HDR survived.
Is my image uploaded anywhere?
No. Everything runs in the tab, and the SDR copy is redrawn from pixels, so EXIF, XMP and the gain map aren't carried over into it.
How do I convert a JPG to HDR?
You can't do it from a finished JPG, because the extra highlight data was never stored. Shoot in a camera mode that records Ultra HDR, or export from a raw file in software that writes it. This page inspects and previews such files.
Is this SDR to HDR converter free?
Nothing on the page asks for an account or a payment. Choose a file, read the report, and save the preview or the SDR copy.
How do I convert an Ultra HDR photo to a normal JPG?
Choose the photo, then save the SDR copy. The main image is already standard range, so the copy is redrawn and re-encoded as a JPEG without the gain map.
What file format does the HDR photo converter output?
Two outputs are offered: the tone-mapped preview as a PNG, and the SDR copy as a JPEG.
Will it still look like a normal image?
Yes. The SDR copy is the standard picture every viewer can show. What goes missing is the extra headroom, so a screen that would have brightened the highlights shows them at normal white instead.
Does the converter remove photo metadata?
The preview and the SDR copy are drawn on a canvas from pixels, so EXIF, XMP and the gain map aren't carried into them. For a full list of what a file holds, use the photo metadata viewer.
Sources