File4Edit

Compare two images

Compare two images pixel by pixel and see exactly what changed, free and in your browser with no upload. You get a count and percentage of changed pixels, a difference map, and side-by-side and onion-skin views.

Useful for spotting what an export changed. Both images must be the same size.

In detail

Compare is a pixel diff for two images: it counts every pixel whose red, green, blue or alpha value differs, and reports the result as a count, a percentage and a downloadable difference map. The comparison runs at full resolution rather than on a preview, so a single changed pixel is still found.

A threshold slider decides how far a channel has to move before a pixel counts as changed, which is how to ignore tiny compression noise. Three views, side by side, difference, and an onion skin that fades one image over the other, show where the changes are. Both images must be the same size, and the tool offers to scale the second to match.

Compare two images at a glance

Input
Two images: JPG, PNG, WebP, AVIF, HEIC, GIF (first frame), BMP, TIFF, SVG and other image formats
Output
Counts, a percentage and a PNG difference map
What it does
  • Pixel count and percentage changed
  • An adjustable threshold
  • Side-by-side, difference and onion-skin views
  • Full-resolution comparison
  • A PNG difference map download
Who it is for
Designers, developers and QA testers checking what an export or an edit changed.
Limits
  • Both images must be the same size.
  • Scaling one image to match adds small differences of its own.
Privacy
Runs entirely in your browser: neither image is uploaded, and nothing is kept after you close the tab.

How to compare two images

  1. Load image A Drop a file onto the A slot, or drop two files at once to fill A and B together. A paste from the clipboard goes into the first empty slot.
  2. Load image B Fill the second slot the same way. If the two images are different sizes, the tool says so and offers to scale B to A's dimensions before comparing.
  3. Set the threshold Zero counts every difference. Raise the slider, up to 64, and a channel then has to differ by more than that value before the pixel is counted as changed.
  4. Pick a view Side by side shows both images unchanged, Difference marks the changed pixels in the accent color over a flattened gray copy of A, and Onion skin fades B over A at an opacity you set.
  5. Save the difference map Download difference map writes the marked image as a PNG named after image A. Swap A and B, or clear both, from the same panel.

Compare two images: common questions

Do both images have to be the same size?

Yes. A pixel comparison needs both images at the same dimensions, and File4Edit refuses to compare a mismatched pair until you choose to scale image B to A's size. That scaling resamples B, which invents small differences of its own, so a low count after scaling should be read with suspicion.

Does it count changes in transparency?

Yes. A pixel counts as changed when any one of its four channels differs by more than the threshold, alpha included. An image that changed only its transparency is reported as changed rather than treated as identical.

Are the two images uploaded to compare them?

No. Both images are decoded and compared inside your own browser tab, at full resolution. Nothing is sent to a server, there is no account, and the tool keeps working offline once you have used it online.