Compare Two Images
Compare two images with a draggable before/after slider, side by side, or a map of changed pixels with change percentage, mean difference and PSNR. Handy for checking compression and edits.
The tool
How to use
- Choose the first image (before) and the second image (after).
- Pick a view: slider, side by side or difference map.
- In the difference map, raise the tolerance to ignore tiny differences (like JPG compression), and download the map if you need it.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
What if the sizes differ?
The second image is stretched to the first one’s size before comparing, and you are warned. Resizing itself causes small differences everywhere, so compare same-size images when you can.
What does PSNR mean?
Peak signal-to-noise ratio in decibels: higher means more similar. Above 40 dB the difference is usually invisible, 30–40 is typical for compression, below 30 is visible. Identical images give ∞.
Is the comparison full resolution?
Up to 3000 px on the longest side. Larger images are downscaled first to keep the browser responsive, so very tiny differences may not count.