Image Compare

Compare two versions of a picture with a draggable before/after slider, a top-to-bottom wipe, side by side or a cross-fade, and save the comparison as an image.

Tool Media & Files Updated Oct 16, 2026
How to Use
  1. Drop the before picture on A and the after picture on B, or click each box to browse. TIFF, PSD, HEIC, TGA and RAW files open too. A built-in before/after pair is loaded so you can try it straight away.
  2. Choose a View: slider (left/right), wipe (top/bottom), side by side, or cross-fade.
  3. Drag on the picture, or type a Position, to move the divider or set how much of B is mixed in.
  4. If the pictures have different shapes, choose Fit to keep B’s proportions or Stretch to fill A’s frame. Show Work gives the exact scale and offsets.
  5. Tick Labels and save the comparison in any format from the Save panel, ready to share.
Before & After
A — before
B — after
%, divider or share of B
Presets
Comparison
Drag on the picture to move the divider (slider and wipe) or change the mix (cross-fade).
Frame
—
B Scale
—
Position
—
A : B
—

Worked Example

A 4000 × 3000 “before” photo and a 3000 × 2000 “after” crop. The frame takes A’s size. B is scaled by s = min(4000 ÷ 3000, 3000 ÷ 2000) = min(1.3333, 1.5) = 1.3333, so it is drawn 4000 × 2666.67 px and centred (3000 − 2666.67) ÷ 2 = 166.67 px from the top, leaving thin empty bands above and below. With the slider at 50% the divider sits at round(4000 × 0.5) = 2000 px: pixel 1999 shows A and pixel 2000 shows B.

A cross-fade at 30%. Each pixel is A × 0.7 + B × 0.3. A pixel that is (200, 100, 50) before and (100, 150, 250) after shows as (200 × 0.7 + 100 × 0.3, 100 × 0.7 + 150 × 0.3, 50 × 0.7 + 250 × 0.3) = (170, 115, 110).

The common mistake: stretching a picture of a different shape. Stretching the 3:2 crop into the 4:3 frame scales it 1.3333 across but 1.5 down, so everything in B is 12.5% taller than it should be (1.5 ÷ 1.3333 = 1.125). Circles become ovals and edges no longer line up, so the comparison shows a difference that was never there. Fit keeps the proportions.

Show Work

Load two images to see how B is fitted and which pixels sit either side of the divider.

Formulas

Fit scale
s = min(W ÷ w, H ÷ h)
W × H is A’s frame, w × h is B
Centring
x₀ = (W − w × s) ÷ 2, y₀ = (H − h × s) ÷ 2
where B’s top-left corner is drawn
Divider
x = round(W × p ÷ 100)
A left of x, B from x on; the wipe uses H and y
Cross-fade
c = A × (1 − t) + B × t
t = p ÷ 100, for each of R, G and B
Which B pixel
(⌊(x − x₀) ÷ s⌋, ⌊(y − y₀) ÷ s⌋)
the B pixel shown at frame position (x, y)

Comparing by Eye

People are much better at spotting a change in one place than at comparing two pictures held apart. Astronomers built a machine around that: the blink comparator flips rapidly between two photographic plates of the same patch of sky, so anything that moved seems to jump while the stars stay still. Clyde Tombaugh found Pluto with one at Lowell Observatory in February 1930, comparing plates taken six days apart.

A slider and a cross-fade work the same way: as you drag, each detail switches from one version to the other in the same spot. Side by side is better for judging overall look, such as colour or exposure, where you want to see both versions whole. None of these measures the change; for counts and figures, use a pixel difference instead.

About This Tool

This tool shows two pictures as a draggable before/after slider, a top/bottom wipe, side by side or a cross-fade. B is fitted into A’s frame without distortion or stretched to fill it, Show Work gives the scale, the offsets and the real pixels either side of the divider, and the comparison can be saved, labelled, at full size. Settings can be put in the page address, for example ?mode=blend&pos=30. To measure what changed instead, use Image Diff.

Images are decoded and saved in your browser by the engine behind the Universal Image Converter, so TIFF, PSD, HEIC, TGA and RAW files work too. Nothing is uploaded.

Related tools: Image Diff, Image Adjustments, and Image Upscaler.

Frequently Asked Questions

How is this different from Image Diff?

Image Compare is for your eyes: it puts the two versions together so you can judge a retouch, an edit or a design change. Image Diff is for numbers: it finds every changed pixel, counts them, groups them into regions and reports PSNR. If you need to know exactly what changed, use Diff; if you need to show or judge how it looks, use Compare.

What if the two pictures are different sizes?

The frame always takes the size of A. With Fit, B is scaled by s = min(W ÷ w, H ÷ h) so it fits inside without distortion and is centred, leaving empty edges if the shapes differ. With Stretch, B fills the frame exactly but is distorted if its proportions differ.

Can I save the comparison?

Yes. The Save panel writes the current view at full size: the slider or wipe with its divider line, the side-by-side pair with a small gap, or the cross-fade, with or without the Before and After labels, in any format the site’s image engine writes.

What does the cross-fade show?

Each pixel is A × (1 − t) + B × t, where t is the position. At 0% you see only A, at 100% only B, and at 50% an even mix, so details that change between the versions appear to fade in and out as you drag.

Why does a small change jump out when I drag the slider?

Moving the divider across a detail shows both versions of it at the same place, one after the other, and the eye is very good at noticing a sudden change in one spot. That is the same reason astronomers used to flip quickly between two photographs of the sky to find moving objects.

How do I use the Image Compare?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Photo retouch review

Drag the slider across a retouched portrait to judge whether skin smoothing or colour work has gone too far.

Upscaling and restoration

Compare a 1000 × 750 scan (A) with its 4000 × 3000 upscale (B): Fit scales B to 25% so every detail lines up in the scan’s frame.

Design and website changes

Put two versions of a page or mockup side by side, labelled, and save one image to share in a review.

Showing a result to a client

A labelled before/after image of a cleaned photo, a renovated room or an edited product shot.

Last updated: