Free tool

Convert Ultra HDR to a standard JPG

Add photos from a Pixel, a Samsung phone or an iPhone. The tool says if each one has an HDR gain map, in which format, and how much brighter it may show. Then it saves a standard JPEG without the gain map. For a JPEG, the picture stays byte for byte. Nothing is uploaded.

Runs on this device. Your photos are not uploaded.

Drop HDR photos here

JPEG, HEIC or AVIF from a Pixel, a Samsung phone or an iPhone. Add as many as you want. They stay on this device.

JPEG, HEIC or AVIF from a Pixel, a Samsung phone or an iPhone. Add as many as you want. They stay on this device.

    How it works

    1. Find the gain map. The tool reads the file's structure. In a JPEG, it looks for the MPF index that lists a second image. Then it looks for the XMP fields of Ultra HDR (hdrgm), the ISO 21496-1 block, or Apple's hdrgainmap mark. In HEIC and AVIF, it looks for an auxiliary gain map image or a tmap item.
    2. Report it. It shows the format, the size of the gain map, and the headroom: how many stops brighter than white an HDR screen may show the brightest parts.
    3. Save a standard JPEG. For a JPEG, it copies the main picture byte for byte. It leaves out the gain map, the MPF index, the ISO block and the XMP that describes the gain map. For HEIC and AVIF, it decodes the main picture, which is the standard one, and writes a new JPEG.

    Gain map formats

    FormatMade byWhere the data is
    Ultra HDRAndroid 14 and later, Pixel, SamsungXMP hdrgm fields and a second JPEG
    Adobe gain mapLightroom, Camera Raw, PhotoshopThe same hdrgm fields
    ISO 21496-1Android 15 and later, iOS 18 and later, libultrahdrAn APP2 block in JPEG, a tmap item in HEIC and AVIF
    Apple HDR gain mapiPhone 12 and laterA second image marked urn:com:apple:photo:2020:aux:hdrgainmap

    A gain map photo also carries the usual EXIF data, often with the location. The location and metadata remover removes that data and the gain map together. To turn iPhone HEIC photos into JPEG, use HEIC to JPG.

    Questions people ask

    Does this tool upload my photos?

    No. Your browser reads each photo and writes the new JPEG on your device. No photo or file name goes to our server or to anyone else. To check, load this page, turn off Wi-Fi, and convert a JPEG. It still works.

    What is an Ultra HDR photo?

    Ultra HDR is the photo format of Android 14 and later, used by Pixel and Samsung cameras. The file is a normal JPEG with a second, small picture inside: the gain map. A phone or browser with an HDR screen uses the gain map to show bright parts, such as the sun or lamps, brighter than white. Other screens show the normal JPEG.

    Why does my photo look too bright or glowing on some screens?

    An HDR screen reads the gain map and lifts the bright parts, which can look harsh next to standard photos, in a feed or a slideshow. Some apps also apply it in a strange way. A copy without the gain map looks the same on every screen.

    Does converting lower the quality of a JPEG?

    No. For a JPEG, the tool keeps the main picture byte for byte and removes only the gain map and the data that points to it. It does not compress the picture again. The file gets smaller by the size of the gain map, often 40 to 200 KB.

    Do iPhone photos have gain maps too?

    Yes. iPhone 12 and later save an HDR gain map in HEIC and JPEG photos, in Apple's own format, and since iOS 18 also in the ISO 21496-1 format. The tool finds both. A HEIC photo becomes a JPEG. Safari opens HEIC by itself, and Chrome, Edge and Firefox load an open source HEIC decoder from this site.

    Can I keep the location and the date?

    For a JPEG, yes. Turn off Remove location and camera data, and the copy keeps the EXIF data byte for byte. With it on, the copy has no location, date, camera model or serial number. A HEIC or AVIF photo always becomes a new JPEG with no metadata.

    Sources

    1. Ultra HDR image format v1.1 (Android Developers) · checked Oct 21, 2026
    2. ISO 21496-1, Gain map metadata for image conversion (ISO) · checked Oct 21, 2026
    3. Adobe Gain Map specification (Adobe) · checked Oct 21, 2026
    4. Applying Apple HDR effect to your photos (Apple Developer) · checked Oct 21, 2026

    Open source code in this tool

    • libheif 1.23.5, LGPL-3.0. Opens HEIC in Chrome, Edge and Firefox. Files and licence: /tools/heic/README.md

    York Vault

    HDR photos, kept as they are

    York Vault keeps your photos encrypted on your phone in their original format, with the HDR layer. When you share a copy from York Vault, it removes the location, device model and dates by default.

    Download on the App StoreGet it on Google Play