Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Compare two images or screenshots pixel by pixel, see every change highlighted, and get a mismatch percentage without uploading a file.
An image compare tool is a free online utility that takes two images, checks them pixel by pixel, and highlights every pixel whose color differs. This image diff checker reads pixel data through the browser Canvas API, reports the mismatch as a percentage, and works on screenshots, design exports, and photos in common formats.
TestMu AI built this image compare tool for testers and developers who need a quick screenshot diff without installing software. Pixels are read with the getImageData() method documented by MDN, which returns RGBA values with 8 bits per component. All processing happens in your browser. No data is uploaded.
To compare words instead of pixels, use Text Compare for plain text or Code Compare for source files.
Pixel by pixel image comparison walks through both images at the same coordinates and scores how far apart each pair of colors is. This tool runs five steps on every comparison:
A worked example at 10% tolerance: pure white (255, 255, 255) against light gray (229, 229, 229) differs by 26 brightness levels, and 0.5053 x 26 x 26 = 341.6, which is under 352.15, so the pixels match. Gray (228, 228, 228) differs by 27 levels and scores 368.4, so it is flagged.
Comparing two images takes six steps and needs no signup or download:

The capture above shows the built in sample: two 800 by 500 pixel checkout screenshots in which the button moved and changed color, the shipping line and total changed, and a badge was added. The pixel diff paints only those areas in red.
The image diff has five settings, and each one changes which pixels are counted or how the result is judged:
| Setting | Default | What it changes |
|---|---|---|
| Color tolerance | 10% | How large a color difference must be before a pixel counts as different. The Exact, Default, and Loose presets set 0%, 10%, and 25%. |
| Ignore anti-aliasing | On | Skips smoothed edge pixels around text and shapes, and reports how many were ignored. |
| Size mismatch | Align top left | Either aligns both images at the top left corner or scales the changed image to the size of the original. |
| Highlight color | Red | The color used for different pixels in the pixel diff: red, magenta, orange, green, or blue. |
| Allowed mismatch | 0% | The limit for the PASS or FAIL badge. The result passes when the mismatch percentage is at or below this number. |
The tool has four views of the same pair of images. Start with Pixel diff to find where the changes are, then switch views to judge what changed:
| View | What it shows | Use it for |
|---|---|---|
| Pixel diff | A faded grayscale copy of the original with different pixels in the highlight color. | Finding small changes such as a 1 pixel shift or a color tweak. |
| Slider | The original on the left of a draggable handle and the changed image on the right. | Checking layout shifts along an edge. |
| Side by side | Both images next to each other at the same scale. | Reviewing a redesign where most of the screen changed. |
| Fade | The changed image laid over the original, with a slider that sets its opacity. | Spotting movement by sweeping the opacity back and forth. |
A screenshot diff checker answers one question quickly: did anything on this screen change. Common uses in QA and development work:
This tool compares one pair of images at a time. To run the same baseline comparison on every build, TestMu AI SmartUI automates visual testing across 3000+ browsers and 10,000+ real devices on the real device cloud.
Yes, you can compare two images of different sizes. The default mode aligns both images at the top left corner and counts every pixel that exists in only one image as different. The Scale to fit option resizes the second image to the dimensions of the original before comparing.
Two screenshots that look identical often differ in invisible ways: JPEG compression noise, font smoothing, and subpixel rendering change pixel values by small amounts. Raise the color tolerance above 0% and keep Ignore anti-aliasing switched on to hide those differences, so the image diff reports only changes a person could see.
A color tolerance of 10% is the default for screenshot comparison, because it ignores faint rendering noise but still flags a changed color or a moved element. Use 0% for an exact pixel match between lossless PNG files, and a higher value when comparing JPEG files saved at different quality levels.
You can compare any image format your browser can decode, which covers PNG, JPG, WebP, GIF, BMP, and SVG in current browsers, plus AVIF where supported. The two files do not need to share a format, so a PNG screenshot can be compared against a JPG export of the same screen.
No, your images are never uploaded. The image compare tool decodes both files inside your browser, reads their pixels through the Canvas API, and builds the diff on your own device. Nothing is sent to a server or stored between visits, so confidential screenshots and unreleased designs stay on your machine.
The mismatch percentage is the number of different pixels divided by the total pixels in the compared area, multiplied by 100. A 1920 by 1080 screenshot has 2,073,600 pixels, so 20,736 changed pixels gives a 1% mismatch. Anti-aliased pixels that the tool ignores are not counted as different.
Transparent and semi-transparent pixels are blended onto a white background before they are compared. A fully transparent pixel therefore matches a solid white pixel, and two pixels with different transparency are judged by the colors they produce on white. Export screenshots with an opaque background if transparency itself matters.
Each image can be up to 16 megapixels, for example 4000 by 4000 pixels, and the combined comparison area has the same limit. A full HD screenshot uses about 2 megapixels and a 4K screenshot about 8.3 megapixels, so both fit. Larger files show an error and should be cropped or resized first.
Yes, screenshot comparison can be automated, and that practice is called visual regression testing. A test run captures screenshots of each page, compares them against approved baseline images, and fails the build when the mismatch exceeds a set limit. This tool runs the same kind of check by hand for one pair of images.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance