Skip to content
Image Diff
Files are compared locally in your browser.
Original image
Drop an image, or
Changed image
Drop an image, or

Image Diff Comparison

Compare two images and spot every visual difference — free, private and running entirely in your browser

Original image and Changed image each take one picture by Browse or by a drop. Difference is the view that paints pixels.

Last updated: 11 October 2026

Guide, examples, and FAQ

About Image Diff

What it does

The picker accepts image/*. A file the browser cannot decode toasts “Could not decode {name}”. Side by Side shows each picture at its own pixel size. Slider clips the original over the changed picture. Swap sets that clip to 100 minus the current percent. Difference scales both pictures into the smaller width and the smaller height. Each pixel averages the absolute red, green and blue gaps and ignores alpha. That average must be greater than the threshold. Sensitivity shows 64 minus the threshold and opens at 48, so the threshold is 16.

Who it is for

For two screenshots or two design exports, when the question is which pixel position changed.

When to use it

It opens on Slider. View buttons stay disabled until both slots have a picture. Save stays disabled until Difference has drawn. The empty handler still toasts “Load both images first”. After both load, New clears both.

Key features

  • Three views

    Side by Side keeps each size. Slider clips. Only Difference paints pixels.

  • 48 means threshold 16

    A higher display lowers the threshold. An average equal to the threshold stays unflagged.

  • Dim base

    On by default. An unflagged pixel stores 200 + 0.2 times the original luminance. Off, it keeps the original red, green and blue. Alpha is written as 255.

  • diff-overlay.png

    Download Diff Overlay enables only after Difference has drawn the canvas, and disables when you leave that view.

How to use Image Diff

  1. 1Browse or drop a picture into Original image, then into Changed image.
  2. 2Side by Side shows the two sizes. Slider drags the clip. Swap flips the percent.
  3. 3Open Difference. The 2×1 pair below is 50.0% at threshold 16.
  4. 4Download Diff Overlay, or Save Diff. Memory keeps the two names and the match percent for this visit.

Example

Before

2×1 original
(0,0,0) and (10,10,10)

After

2×1 changed
(0,0,0) and (100,10,10)

Match 50.0%

The first average is 0, so that pixel stays. With Dim base on it is rgb(200, 200, 200). The second average is (90+0+0)/3 = 30, and 30 > 16, so it is rgb(255, 40, 120).

Benefits

  • A one-channel gap of 12

    One pixel, (0,0,0) against (12,0,0). The average is 4, not 12. At display 48 the threshold is 16, 4 is not greater than 16, and the match is 100.0%. Display 60 still means threshold 4, and 4 is not greater than 4, so the match stays 100.0%. Display 61 means threshold 3, 4 > 3, the pixel is magenta, and the match is 0.0%.

Common use cases

  • Two screenshots of one screen

    Crop both to the same pixel size, then read the magenta.

  • A control that slid one pixel

    Nothing is realigned, so the shift is magenta at both positions.

Tips & best practices

  • Export both at the same width and height. A different aspect ratio is stretched into the smaller box and counted.
  • The Sensitivity number is not the cutoff. Subtract it from 64. The test is greater than that result.

Common mistakes to avoid

  • Comparing screenshots of different sizes and reading the stretch as a design change. The warning is “Image sizes differ. Both images are scaled to the smaller width and height before comparing.”
  • Reading 48 as the cutoff. Display 48 is threshold 16. The one-channel gap of 12, above, stays unflagged until display 61.
  • Expecting a transparency edit to paint. Alpha is ignored, and the overlay writes 255.
  • Expecting Swap to exchange the files. It sets the handle to 100 minus the current percent.

Frequently asked questions

Can I drop a picture?

Yes. Browse is only on an empty slot. A filled slot still accepts a drop. The picker accepts image/*.

What if the file will not decode?

The toast is “Could not decode {name}”.

When does the percent appear?

After Difference draws. Slider and Side by Side leave it as —. It is (1 − changed pixels / pixel count) × 100, to one decimal.

Why is 48 not the cutoff?

The control shows 64 minus the threshold. Display 48 is threshold 16, and painting needs a greater average.

When does diff-overlay.png download?

After Difference has drawn. Side by Side and Slider leave the button disabled.

Does Save Diff keep the pictures?

No. Memory holds the two names and the percent. Restore toasts “Reload images to restore comparison”. There is no copy. Save stays disabled until Difference has drawn, so the percent is always stored.

Does Dim base change 50.0%?

No. It recolours the unflagged pixel. The percent stays 50.0%.

Are the pictures uploaded?

No. Both files are read in the browser and the page makes no network request.

When another tool fits better

  • Crop Image. Both exports should share a pixel box before Difference scales them.
  • Text Diff. The revision is wording you can paste, with line and word marks, not a pixel.

Conclusion

On that 2×1 pair, average 30 is magenta and the match is 50.0%.

Ready to try Image Diff?

Scroll back up to start now, or continue with another free diff tool.

Guides and glossary

Learn and reference material connected to Image Diff.