Home › Image Tools › HDR Merge

HDR Merge

Combine a dark, a normal and a bright shot of the same scene into one photo where both the bright window and the dark room show detail. The tool aligns handheld brackets automatically and blends them with exposure fusion, so there is no tone mapping step and no RAW editor needed.

Last updated:

Fusion weights
Finish
Advertisement
Advertisement

How to use the HDR Merge

  1. Add your bracketed photos: drop 2 to 9 exposures of the same scene (for example −2, 0 and +2 EV). A sample bracket is loaded so you can see the result first.
  2. Check the frames: they are sorted from darkest to brightest, and the middle one is used as the alignment anchor.
  3. Keep Align photos on for handheld shots; turn it off for tripod brackets.
  4. Adjust the fusion weights and finish settings while watching the before / after view.
  5. Choose an output size and format, then press Download merged photo.

How exposure fusion works

For every pixel of every frame the tool computes three quality measures, multiplies them (each raised to its slider value) and normalizes the result so the weights of all frames add up to 1 at each pixel:

MeasureFormulaFavors
Contrast C|Laplacian of gray| (3 × 3 kernel)Edges and texture, which are lost in clipped or murky areas
Saturation Sstandard deviation of R, G and BRich color, which fades in over- and underexposed areas
Well-exposedness E∏ exp(−(channel − 0.5)² / (2 × 0.2²))Values near middle gray rather than near black or white

Weight W = Cωc × Sωs × Eωe. Blending the frames directly with these weights would create seams, so each frame is decomposed into a Laplacian pyramid (detail bands at halving resolutions) and each weight map into a Gaussian pyramid. The bands are blended level by level and collapsed back into one image, which is the method published by Mertens, Kautz and Van Reeth (2007).

Bracketing guide

SceneFramesStepExample
Landscape, light clouds2–31–2 EV−1, 0, +1
Sunset, backlit subject32 EV−2, 0, +2
Room with bright windows3–52 EV−4, −2, 0, +2, +4
Night street with lights3–51–2 EV−2, −1, 0, +1, +2

Tips for clean merges

  • Change only shutter speed. Keep aperture, ISO, focus and white balance fixed so frames differ only in brightness (aperture priority mode with AEB does this).
  • Use a tripod or a fast burst. Alignment fixes small shifts, but rotation and parallax from moving the camera cannot be corrected.
  • Check the clipping numbers on each frame card: your darkest frame should show almost 0% white and the brightest almost 0% black.
  • Want a stronger HDR look? Run the merged result through the HDR Photo Effect tool for extra local contrast.

Frequently asked questions

What is HDR merge?

HDR merge combines several photos of the same scene taken at different exposures. Each frame captures part of the brightness range well: the dark frame keeps the sky and windows, the bright frame shows the shadows. Merging takes the best exposed parts of each and produces one image with detail from the darkest to the brightest areas.

What is exposure fusion and how is it different from tone mapping?

Classic HDR first builds a high dynamic range radiance map and then tone maps it back to a normal image. Exposure fusion (Mertens, Kautz and Van Reeth, 2007) skips that: it gives every pixel of every frame a weight based on contrast, saturation and how close it is to middle gray, and blends the frames with a multi-resolution Laplacian pyramid so the transitions are seamless. The result looks natural, needs no camera response curve and avoids the typical tone-mapping halos.

How many exposures do I need and how far apart?

Three frames at −2, 0 and +2 EV cover most scenes, such as interiors with windows or sunsets. For very high contrast scenes use five frames at 1 or 2 EV steps. Two frames can work for moderate contrast. Most cameras and many phone camera apps have an auto exposure bracketing (AEB) setting that shoots these automatically.

Can I merge handheld photos?

Yes. With Align photos on, the tool finds the shift between frames using median threshold bitmaps, a method that works even though the frames have different brightness. It corrects horizontal and vertical movement of up to about 60 pixels at preview size. It does not correct rotation, so hold the camera steady and use burst or bracketing mode to keep the frames close together.

Why do moving objects look ghosted?

If a person, car, tree branch or water moves between frames, it is in a different place in each exposure, and fusion blends those positions together. Shoot brackets quickly, avoid moving subjects, or use a scene where motion is small. This tool does not perform deghosting.

Should I merge RAW files or JPGs?

This tool merges JPG, PNG and WebP images. If you shot RAW, export each frame to JPG first (for example with the RAW to JPG converter) using the same white balance for all frames. JPGs straight from the camera work well because exposure fusion does not need linear sensor data.

Are my photos uploaded?

No. Alignment and fusion run in your browser with JavaScript, so the photos never leave your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

HDR Photo EffectGive any single photo an HDR look with local tone mapping, detail boost and a strength slider.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Brighten ImageBrighten dark photos with auto exposure, shadows lift and highlight protection. Batch, no upload.Low Light Photo EnhancerBrighten dark and night photos with an adaptive tone curve plus noise reduction.Background RemoverRemove image backgrounds automatically with AI.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.Image to Text (OCR)Extract text from images, screenshots and photos with OCR in 25+ languages, right in your browser.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.PSD to PNGConvert Photoshop PSD files to PNG and export every layer as its own PNG, no Photoshop needed.Image CompressorShrink images to a target size like 100 KB.Image ResizerResize images to any size without losing quality.Compress Image to 20KBShrink any photo to under 20KB (or any target size).Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.HEIC to JPGConvert iPhone HEIC photos to JPG.WEBP to JPGConvert WEBP images to JPG in bulk.PNG to JPGBatch convert PNG images to JPG with a background color.JPG to PNGBatch convert JPG images to PNG.Image CropperCrop images, including circle crops for profile pictures.Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Meme GeneratorMake memes with classic templates and custom text.Collage MakerCombine photos into a grid collage.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.Certificate MakerDesign certificates from templates and export one or many as PDF.WEBP to PNGConvert WEBP images to PNG, keeping transparency.SVG to PNGConvert SVG graphics to PNG or JPEG at any scale.PNG to ICOCreate multi-size favicon .ico files from PNG.GIF MakerTurn videos and images into GIFs, trim and compress.Business Card MakerDesign business cards and download a print-ready PDF.Flyer MakerDesign printable and social media flyers from free templates.Poster MakerDesign posters in A0–A5 and US sizes and download a print-ready PDF.Invitation Card MakerCreate printable birthday, wedding and party invitations for free.Color Palette GeneratorGenerate beautiful color palettes and export them.HEX to RGBConvert HEX colors to RGB and other formats.Bead Loom Pattern MakerDesign loom, peyote and brick stitch bead patterns with counts, word chart and image import.Birth Announcement MakerAdd your baby's photo, name, birth date, time, weight and length to a card you can share or print.BlurHash GeneratorEncode an image to a BlurHash or ThumbHash placeholder, preview it and copy ready-made code.Business Model Canvas MakerFill the 9 Business Model Canvas blocks with color sticky notes and download a PNG or PDF.Cat Breed IdentifierUpload a cat photo to get likely breeds, coat pattern and colors, using AI that runs on your device.Chalkboard Sign MakerDesign chalkboard-style menu and event signs with hand-lettered fonts and doodles; PNG or PDF.CMYK to HEXConvert CMYK percentages to a HEX color code and RGB, with a live swatch and shades.CR2 to JPGConvert Canon CR2 RAW photos to JPG in batch: camera preview or developed sensor data.Deck DesignerDesign a deck to scale with joists, beams, posts, stairs and board layout; PNG and list.DICOM ViewerOpen DICOM .dcm medical images in your browser, adjust window/level, read tags and export PNG.Envelope Template GeneratorMake a printable envelope template for any card size: A2, A7, square or custom, PDF or SVG.EXIF EditorEdit photo EXIF and IPTC: date taken, camera, GPS location, copyright and caption, in batch.Face Symmetry TestUpload a face photo to see left-left and right-right mirror composites and a symmetry score.Fix Image OrientationRotate sideways photos upright for good by applying the EXIF orientation to the pixels, in batch.Gallery Wall PlannerArrange picture frames to scale on your wall and get exact nail positions plus a PNG plan.Image Format ComparisonCompress one image as JPG, WebP, AVIF and JPEG XL at the same quality and compare size and detail.Image Format DetectorFind an image's real format from its magic bytes, see size and bit depth, and fix a wrong extension.Increase Image Size in KBMake a photo's file size bigger (e.g. 50 KB or more) to pass minimum upload limits, with no visible change.Lean Canvas GeneratorFill in the 9 Lean Canvas boxes and get a clean one-page canvas as PNG, JPG or PDF.Loyalty Punch Card MakerDesign business-card-size stamp cards with your logo and reward, then print a sheet as PDF.Megapixel CalculatorTurn width × height into megapixels, aspect ratio and max print size, or MP back to pixels.Motion Photo Video ExtractorPull the hidden video clip out of Android motion photos (MVIMG, .MP.jpg) and save it as MP4.Normal Map GeneratorTurn a texture photo into normal, height, roughness and AO maps with a live 3D preview.Photo Location MapSee where your photos were taken: read GPS from photos and plot them on a map, sorted by date.Pregnancy Announcement MakerMake a pregnancy announcement image with a letter board, ultrasound photo and due date.Price Tag MakerMake printable price tags and shelf labels with sale prices and strike-through, on a cut-ready sheet.PSD ViewerOpen Photoshop PSD files without Photoshop: browse layers, toggle visibility and export layers as PNG.Quilt Pattern DesignerDesign quilt blocks and layouts with your fabric colors; get yardage, cutting list and PNG.Risk Matrix GeneratorPlot named risks on a 3×3, 4×4 or 5×5 likelihood × impact heat map; export PNG, PDF or CSV.Sports Tactics BoardDraw plays on basketball, soccer, football and hockey diagrams with players, arrows and animated frames.
See all 368 Image Tools →