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)
- Open Image Compare.
- Choose the original image and the changed image. JPG, PNG, WebP, GIF and other formats your browser can open are supported.
- 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.
- Read Changed pixels to see what share of the image is different, and the Overall similarity score for a quick summary.
- 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:
- 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).
- Line the two layers up exactly if they are not already aligned.
- 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
- Use the same size and crop. If one image is shifted, scaled or cropped, almost every pixel moves and the whole picture turns red. Export both at the same dimensions.
- Prefer PNG for screenshots. JPEG compression changes pixel values slightly around edges and text. If you must use JPEG, expect some scattered red specks and focus on solid red areas.
- Watch the screen scale. A screenshot taken at 100% zoom and one at 125% or on a high-DPI display have different pixel sizes even if they show the same page.
- Transparent images: transparent areas are drawn on white before comparing, so a change in transparency only shows up if it changes the visible colour.
- Checking for duplicates? Use the similarity score instead of the red view. Two copies of a photo saved at different sizes or quality levels score high even though their pixels are not identical.
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.