Searching...
No tools found

Image Diff — Compare Two Images

Compare two images pixel by pixel in your browser — changed-pixel count and a highlight mask, no upload.

Runs in your browser — nothing is uploaded. Verify it

About the Image Diff — Compare Two Images

Image diff compares two photos pixel by pixel right in your browser and tells you exactly how they differ: the number of changed pixels, the difference percentage and a highlight mask. Nothing is uploaded.

Two images can look the same at a glance and still differ — a re-saved screenshot, a re-exported logo, a frame that changed by a few pixels. Opening them side by side and squinting is unreliable, and most online diff tools upload both images to a server before comparing them, which hands your screenshots and mockups to a third party. This tool compares the pixels in your browser tab, so neither image ever leaves your device.

How to use the Image Diff — Compare Two Images

  1. Drop Image A into the left zone and Image B into the right zone — JPG, PNG, WebP, AVIF or GIF.
  2. Adjust the tolerance: a pixel counts as changed when any colour channel differs by more than this.
  3. Read the report — changed-pixel count, difference percentage and whether the images are identical — then download the difference PNG or the text report.

Frequently asked questions

Are my images uploaded to a server?

No. Both images are decoded and compared in your browser tab using the Canvas API. Neither image leaves your device, and you can disconnect from the internet and the tool still works.

What does the tolerance do?

A pixel counts as changed when any of its red, green or blue channels differs from the matching pixel in the other image by more than the tolerance. At tolerance 0, a single brightness level counts; at a higher tolerance, near-identical pixels are treated as the same.

What if the images are different sizes?

They are drawn onto a common canvas large enough for the larger image, with the smaller one centred on the background (letterboxed, never stretched). If the common canvas would exceed the browser's safe edge, both images are scaled down proportionally first and the report says so.

How is the difference shown?

The difference mask paints changed pixels in red on a neutral background, so exactly what changed is visible at a glance. You can switch to side-by-side or overlay views, and download the difference image as a PNG or the report as a text file.

Does re-saving an image as a different format count as a difference?

Usually yes — re-encoding changes pixel values even when the image looks the same to your eye, so the diff will show changed pixels. That is the point: it reveals differences that a glance misses.

Guides

More Image tools