Image

Runs in your browser. No file uploads for processing.

PNG Diff: Pixel Comparison and Difference Mask

Compare two same-size PNG images locally. See changed pixels and their bounding box, and export a transparent difference mask.

Loading tool...

How to compare two PNG screenshots

  1. Choose two PNGs of the same size

    Export both screenshots at the same width and height so coordinates refer to the same positions.

  2. Set the difference threshold

    A threshold of 0 includes any detectable change in opacity or premultiplied color. For example, a single changed pixel at x=2, y=1 gives a 1 × 1 bounding box at left 2, top 1.

  3. Check the exact area and save a mask

    Changed pixels are pink. Unchanged pixels remain transparent. The full-size PNG mask and the bounding box show where to inspect the originals.

Use cases

  • Inspect exact screenshot changes after a UI edit.
  • Check whether a localized export changed pixels outside the expected region.

Limits and privacy

  • PNG only: same dimensions, up to 8 MiB and 4 million pixels per file, with no side over 4,096 pixels. Intended for static images; does not compare animation frames.
  • Counts browser-decoded color and alpha changes, not file metadata. It does not align, crop, resize or decide whether two pictures look equivalent.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

What if the two screenshot sizes differ?

Make identical-size exports where possible. If you must resize, Resize Image can create matching dimensions, but resampling changes pixels. Inspect the result before interpreting the diff.

Does changing just opacity count?

Yes, if the channel difference exceeds the threshold. Two fully transparent pixels always compare equal even if their hidden color values differ.

Can images be different sizes?

No. The comparison uses matching coordinates, so export or resize both images to the same pixel dimensions first.

What is the difference mask?

It is a new transparent PNG with one pink pixel at each position above the threshold. The file uses the same dimensions as the originals.

Does the comparison upload my screenshots?

No. Decoding, comparison, and mask generation run in your browser.

Related tools