CompareOnline4U.

Home › Guides

How to compare two images and find the differences

Image Compare — open the free tool →

A logo that moved two pixels, a price changed in a banner, a button that is a slightly different blue, a photo that was retouched: visual changes are easy to miss when you flip between two files. This guide covers the fastest ways to compare two images and find the differences, and how to avoid false alarms.

Method 1: Highlight differences online (no software)

  1. Open Image Compare.
  2. Choose the original image and the changed image. JPG, PNG, WebP, GIF and other formats your browser can open are supported.
  3. Tick Highlight differences in red. Both images are drawn at the same size and every pixel whose colour changed is painted red on a faded grey copy of the original.
  4. Read Changed pixels to see what share of the image is different, and the Overall similarity score for a quick summary.
  5. Untick the box to get the before/after slider and drag it across the picture to see the original and the changed version in the same spot.

The red view answers “where did it change?”, the slider answers “what does the change look like?”. Use both. Small differences under about 10% per colour channel are ignored, so compression noise does not swamp the result.

Method 2: The “Difference” blend mode in GIMP or Photoshop

If you already have an image editor open:

  1. Open the first image, then add the second one as a new layer on top (in GIMP: File › Open as Layers; in Photoshop: File › Place Embedded or drag it in).
  2. Line the two layers up exactly if they are not already aligned.
  3. Set the top layer's blend mode to Difference.

Identical areas turn black, and anything that changed shows up as a brighter shape. Adding a Levels or Curves adjustment makes faint differences easier to see. This is a precise method, but it needs the software and a few minutes per pair.

Method 3: ImageMagick on the command line

For developers and batch jobs, ImageMagick's compare command writes a difference image:

magick compare before.png after.png diff.png

(On ImageMagick 6 the command is just compare.) Add -metric AE to print the number of differing pixels, and -fuzz 5% to ignore tiny colour changes. This is useful for visual regression checks on many screenshots.

Tips for accurate image comparison

What image comparison can't tell you

A pixel comparison shows where two images differ, not why. It doesn't read text in the image, doesn't compare EXIF metadata such as camera or date, and can't prove whether a photo was edited — it only shows differences between the two files you give it.

Comparing documents rather than pictures? Text gives much cleaner results: use PDF Compare or Word Compare, which highlight the changed words.

Image Compare — open the free tool →

Frequently asked questions

How can I find the difference between two images quickly?

Open Image Compare, load both images and tick Highlight differences in red. Every pixel whose colour changed beyond a small tolerance is painted red, and the percentage of changed pixels is shown.

Why are there red dots everywhere even though the images look the same?

Usually one image was saved as a JPEG (lossy compression changes pixel values slightly), resized, or captured at a different screen scale. Compare PNG files of the same size for the cleanest result.

Does image comparison check EXIF data or file size?

No. Image Compare compares what you see — the decoded pixels. Two files can have different metadata or file sizes and still be visually identical.

Are my images uploaded?

No. On CompareOnline4U the images are decoded and compared in your browser and are not uploaded to our server.

More guides

How to compare two PDF files for differencesFind what changed between two PDF versions of a contract, invoice or report. Step-by-step free method, plus what to do with scanned PDFs.How to find differences between two textsSpot every change between two versions of a text — essays, emails, contract clauses or notes. Free diff checker guide with tips to avoid false changes.How to compare two Word documents and find every changeGot a revised Word file without tracked changes? Learn 3 ways to compare two .docx documents, including a free online method that keeps files private.दो Word फाइल में अंतर कैसे पता करेंकिसी ने Word फाइल में बदलाव करके वापस भेजी है? जानिए दो .docx फाइल को फ्री में कैसे compare करें और हर बदला हुआ शब्द कैसे देखें।

← All comparison tools