Image Compare

Choose two images to see what changed between them: a red map of every changed pixel and a count, a slider to wipe between them, or both side by side. Both images stay on this device.

How it works

Both images are decoded in this tab and drawn onto canvases of the same size. The pixel values are then compared one by one in a background worker, so a large photo does not freeze the page.

A pixel counts as changed when any of its red, green, blue or alpha values differs. A pixel counts once, however many of its channels moved. Changed pixels are painted red over a faded grey copy of the first image, so you can see where the changes are.

If the two images are different sizes, there is no exact pixel-for-pixel answer. The page says so and lets you choose: compare only the area both images share, measured from the top-left corner, or scale the second image to the size of the first.

How to use it

  1. 1 Choose the first image, usually the original or the expected screenshot.
  2. 2 Choose the second image, the copy you want to check.
  3. 3 Read the count at the top: it says how many pixels differ and what share of the image that is.
  4. 4 Switch to Slider or Side by side to look at the changes yourself, or download the difference image.

Good to know

  • To check whether a compressor changed anything you can see, choose "Ignore shifts up to 10 levels". JPEG and WebP move many values by a level or two, which no one can see.
  • For a screenshot test, keep "Any change". A single-pixel shift of a button or a font change then shows as a red outline.
  • Compare at the same size wherever you can. Scaling one image to match the other changes every pixel a little, so the count rises even when nothing real changed.
  • You can drop two images on the page at once to fill both slots.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Did the compressor change anything you can see?

Say you have a 1,200 by 800 product photo as a PNG of 2.1 MB, and a compressor gives you back a JPEG of 240 KB. The two look the same on screen, but you want to know before the new file replaces the old one. Choose the PNG as the first image and the JPEG as the second. With "Any change" selected, the count may say something like 612,880 pixels differ, 63.8% of 960,000. That sounds alarming, but almost all of those pixels moved by one or two levels out of 255.

Now switch to "Ignore shifts up to 10 levels". The count drops to a few thousand, and the red map shows where they are: along sharp edges, around small text and in flat areas of smooth colour, where JPEG produces faint blocks. If the red sits on a logo or on the price, look at that part with the slider at full size before you publish. If the count is near zero, the compressor kept everything a person would notice.

The same tool works as a quick visual regression check. Take a screenshot of a page before a change and another after it, at the same window size, and compare them with "Any change". A button that moved two pixels shows as two red outlines. A font that changed weight shows as red text. A result of 0 pixels differ means the two screenshots are identical, which is the answer you want after a change that should not affect the layout.

Different sizes need a decision, and the tool asks rather than guesses. A retina screenshot of 2,560 by 1,600 and a standard one of 1,280 by 800 are the same page at different scales, so "Scale second to match" is the right choice. A screenshot that is 20 pixels taller because a banner appeared is better compared with "Shared area only", which lines the two images up at the top-left corner and compares the area they share.

The tool has limits. It compares pixel values, not what a person perceives, so a small shift of a whole image makes every pixel differ even though the picture looks the same. It does not try to align images that moved. Colour profiles are applied by the browser when it decodes each file, so two files with the same pixels and different profiles can count as different. Images above 16 megapixels are compared at a reduced size, where a change of one pixel can be lost.

Frequently asked questions

Are my images uploaded?

No. Both images are decoded and compared by JavaScript in this tab, and the counting runs in a background worker on your device. Nothing is sent to a server.

Why do two copies of the same photo show thousands of changed pixels?

Usually because one was saved again as a JPEG or WebP. Lossy formats change many pixel values by a small amount each time they are saved. Choose "Ignore shifts up to 10 levels" to leave out changes that small.

What happens when the images are different sizes?

The page tells you the two sizes and asks how to compare them. "Shared area only" compares the part both images cover, from the top-left corner. "Scale second to match" stretches the second image to the size of the first, which changes its pixels slightly, so expect a higher count.

Does transparency count?

Yes. A pixel whose colour is the same but whose alpha changed counts as changed, because a PNG that lost its transparency will look different on a coloured background.

How large an image can it compare?

Up to 16 megapixels at full size. Larger images are compared at a reduced size that keeps their shape, and the page shows the size it used. At a reduced size a change of one pixel can be missed.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.