Compare Two Images with a Slider
Choose two images and drag the slider to see the difference. You also get the share of changed pixels and a PNG of the split view.
Use this tool in your browser without installing software.
About this tool
When you have two versions of the same image — before and after an edit, two screenshots or two design states — placing them side by side makes small differences hard to see. This page stacks both and puts a vertical slider between them: the first image on the left, the second on the right. Drag the slider or use the arrow keys to move the line and compare the same area in both versions. If the two images have different sizes, both images are cropped to fill the same frame so they line up. Next to the comparison, the share of changed pixels is measured on a small sample so you know how much changed. The download button saves the split view as a PNG. Nothing is uploaded.
How to use it
- 1
Choose the first and second images; PNG, JPG, WebP and GIF up to 10 MB are accepted.
- 2
Drag the slider or use the arrow keys to compare the same area in both versions.
- 3
Read the difference percentage and download the split view as a PNG if you need it.
If the file will not open
- The image will not open.
The file must be PNG, JPG, WebP or GIF and under 10 MB. If the file is fine, reload the page once.
- The slider does not move.
Choose both images first, then drag on the image itself or use the bar below it.
- The difference percentage is not what I expected.
It is measured on a scaled sample and ignores tiny differences. To inspect one area exactly, move the slider over that area.
Frequently asked questions
How does the slider work?
The two images are stacked, and the second is revealed by a vertical cut. The first image is on the left of the line and the second on the right. Drag the line or use the arrow keys to move the cut.
How is the difference percentage measured?
Both images are drawn onto one small canvas of the same shape and their pixels are compared. Differences below a threshold are ignored so small differences caused by JPEG compression are not counted. It is an estimate, not a bit-for-bit comparison.
What if the two images have different sizes?
So that the slider line shows the same area in both, each image is cropped to fill the shared frame. The original size of each one is shown under its name.
What does the download contain?
The current split view: the first image on the left, the second on the right, and a white line on the boundary. The output is capped at 2,000 pixels on each side so the file does not get too heavy.
Are the images sent anywhere?
No. Reading, comparing and building the output all happen in your browser, and no file is uploaded.