Skip to content

Image Diff

Compare two images pixel by pixel and get a diff image that highlights every changed pixel in red, plus the number and share of pixels that differ. Useful for visual regression testing, checking screenshots and spotting edits.

Choose files or drag and drop them into the upload field. Maximum file size: 5 MB.

Reset

Frequently asked questions

How are the images compared?

With pixelmatch, the comparison library used by many visual testing tools. It compares colours in the YIQ colour space, which follows how people perceive differences, and marks pixels above the threshold in red on a faded copy of the first image.

What does the threshold do?

It sets how different two colours must be to count as a change, from 0 (any difference) to 1 (only extreme differences). The default 0.1 ignores tiny compression noise.

What is ignoring anti-aliasing?

Edges of text and shapes are smoothed with intermediate colours that can shift by a pixel between renderers. With the option on, pixelmatch detects such anti-aliased pixels and does not count them as changes.

What if the images have different sizes?

The second image is resized to the size of the first before comparing, and the result says so. For exact results, compare images of the same size.

Which formats can I upload?

PNG, JPEG, WebP, GIF, TIFF and AVIF. Transparent areas are compared including their transparency.

Are my images stored?

No. Both images are processed for this request only and only the diff image and the numbers are returned.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.