🖼️ Image Tools

Image Comparison (Before & After)

Drag the slider to compare two images — or highlight exactly what changed.

  • Sliderbefore / after
  • Diffchanged pixels highlighted
  • Side by sideview
  • % changedmeasured
View

Choose two images to compare.

How to use the Image Comparison Slider

  1. 1

    Add the before image

    Click or drop the first image.

  2. 2

    Add the after image

    Click or drop the second one.

  3. 3

    Choose a view

    Slider, highlight differences or side by side.

  4. 4

    Compare

    Drag the slider or read the percentage of changed pixels.

Features

Before/after slider

Classic reveal view.

Difference highlight

Changed pixels shown in magenta.

Change percentage

How much of the image differs.

Side by side

Same scale for both images.

Auto-scaling

Different sizes are aligned to the first image.

Never uploaded

Images are processed in your browser and never leave your device.

Who uses it — and for what

Retouching

Show edits to clients.

Renovation

Before/after room photos.

QA testing

Spot visual regressions in screenshots.

Compression checks

See what compression changed.

Three ways to compare

  • Slider: the classic before/after view — drag to reveal the “after” image over the “before”. Perfect for retouching, colour grading, renovation and restoration photos.
  • Highlight differences: pixels that differ are shown in bright magenta over a faded copy, with the percentage of changed pixels. It catches tiny changes the eye misses — useful for checking design revisions, spotting edited screenshots or QA of image compression.
  • Side by side: both images next to each other at the same scale.

Tips

Images of different sizes are scaled to the first image’s dimensions so they line up. For a fair compression comparison, use the same crop and dimensions. Screenshot the slider position you like to share a before/after on social media.

Your images are processed by your own browser and never uploaded, so private photos stay on your device. There’s no sign-up, no watermark and no daily limit.

Fair comparisons

Use the same crop and dimensions for both images. Different sizes are scaled to match, but scaling itself changes pixels and can show up as differences. For screenshots, capture both at the same window size and zoom level.

How the difference view is calculated

  • Both images are drawn at the first image’s shape, at most 1400 px wide, and compared pixel by pixel at that size. Very large photos are therefore compared on a reduced copy.
  • For each pixel, the absolute differences of red, green and blue are summed. Above 48 the pixel is marked magenta; otherwise it is shown as a faded grey version of the before image.
  • The percentage is the share of marked pixels. Transparency is not compared — only colour.

Because of the threshold, tiny JPEG noise is ignored, but genuine edits, colour shifts and moved elements stand out.

Practical checks you can do

Is a conversion really lossless? Compare an original PNG with its converted copy: identical pixels give 0.00%. Did someone alter a screenshot? Compare it with your own capture of the same screen at the same zoom. Did a website redesign shift the layout? Compare old and new full-page screenshots; a sliver of magenta along every edge usually means a one-pixel shift rather than real changes. Load the original or larger image first, since its dimensions set the comparison size.

Worked examples

Checking a design revision

Load the old and new screenshots and choose Highlight differences — moved buttons and changed text light up in magenta.

Testing image compression

Compare the original with a compressed copy: a very small changed percentage means the compression is visually safe.

When a pixel counts as changed

The tool adds up how far the red, green and blue values differ. A pixel that goes from (120, 130, 140) to (128, 137, 150) differs by 8 + 7 + 10 = 25 — below the threshold of 48, so it is treated as unchanged compression noise. A white pixel that turns pale yellow, (255, 255, 255) to (255, 240, 200), differs by 0 + 15 + 55 = 70 and is painted magenta.

A moved button on a web page

On a 1400 × 900 comparison, a 300 × 50 px button covers 15,000 pixels — 1.19% of the image. If the button moved, both its old and new positions differ, so the result can reach about 2.38%. A small percentage can therefore mean a very visible change; look at where the magenta is, not just the number.

Pro tips

  • Screenshot your favourite slider position to share on social media.
  • Use PNG screenshots for pixel-accurate comparisons.
  • In slider mode you can drag directly on the image as well as using the range control.
  • If everything turns magenta, the images are probably offset or differently cropped — line them up first with Crop Image.

Glossary

Visual regression
An unintended change in how something looks.
Pixel diff
An image showing which pixels changed.
Threshold
The amount of change below which differences are ignored.
Before/after slider
A view where one image is revealed over another by dragging a dividing line.

Frequently asked questions

Do the images need the same size?

No — the second image is scaled to match the first.

How sensitive is the difference view?

It highlights pixels whose colour changed noticeably, ignoring tiny compression noise.

Are my images uploaded?

No.

Can I compare more than two images?

Two at a time.

Does it detect tiny colour changes?

Yes, small differences are highlighted too.

Why does the diff show changes when both images look the same?

Small shifts, scaling or strong re-compression change pixel values enough to pass the threshold, especially along edges and text.

Which image should I load as Before?

The original. Its size and shape are used for the comparison and the second image is scaled to match.

Found it useful? Share the Image Comparison Slider:

Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of Image Tools (36 tools)