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
- Drop Image A into the left zone and Image B into the right zone — JPG, PNG, WebP, AVIF or GIF.
- Adjust the tolerance: a pixel counts as changed when any colour channel differs by more than this.
- 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
- Image Diff: Compare Two Images Online
Learn how to compare two images online pixel by pixel. Changed-pixel count, difference percentage, and a highlight mask — all in your browser, nothing uploaded.
- BMP to PNG: Shrink Uncompressed Bitmaps to Lossless PNGs
A 2,880,054-byte BMP becomes a 3,697-byte PNG at the same 1200×800 dimensions - about 779x smaller. Measured size collapses, why BMP is so large, and when the trade is worth it.
- BMP to WebP: Shrink Large Bitmaps to Compact WebPs
A 2,880,054-byte BMP becomes a compact WebP at the same 1200×800 dimensions - up to hundreds of times smaller. Here are the measured numbers, why BMP is so large, and when the trade is worth it.
More Image tools
- Convert JPG to AVIFConvert JPG to AVIF in your browser — nothing is uploaded. AVIF is usually smaller than JPEG, and the tool…
- Convert AVIF to JPGConvert AVIF images to JPG in your browser. Choose the background and quality; no uploads, no sign-up.
- Convert AVIF to PNGConvert AVIF to PNG losslessly in your browser. No upload, no sign-up, no size cap — transparency and every…
- Convert AVIF to WebPConvert AVIF to WebP in your browser. No upload, no sign-up, no size cap — transparency preserved, smaller…
- Convert SVG to PNGConvert SVG to PNG in your browser. No upload, no sign-up, no size cap — transparency preserved, original…
- Convert SVG to JPGConvert SVG to JPG in your browser. No upload, no sign-up, no size cap — transparent areas flatten to white,…
- Convert SVG to WebPConvert SVG to WebP in your browser. No upload, no sign-up, no size cap — transparency kept, original…
- Image CompressorCompress JPG, PNG and WebP images in your browser — nothing is uploaded, and every image shows the exact KB…