Image Comparison Slider
Overlay two images with a draggable divider — slide to reveal the before and the after, with labels you can rename.
A comparison slider is the honest way to show a change: both pictures stay whole, and the viewer controls how much of each they see, so nothing can be hidden by a convenient crop. The mechanism is a clip, not a blend. The second image sits in a layer whose width is set to a percentage of the preview — the pure maths is one multiplication: on a 1200 px wide preview at 25%, the clip is exactly 300 px wide, and the second image inside that layer is held at the full 1200 px width so it never squashes, it is simply revealed up to the divider. At 50% you see the left half of the second image over the right half of the first, which is why the same viewpoint and dimensions matter so much.
Drag on the preview itself or use the slider — both move the same divider. For an honest comparison use two images of the same dimensions; if they differ, each is fitted to the preview width and the alignment is approximate. Both images are never uploaded, stored or put into a link: they are read locally on your device and shown from page memory only.
Quick answers
How does a before/after comparison slider work?
The second image is stacked over the first inside a layer clipped to a percentage of the width: at 25% on a 1200 px preview, a 300 px slice of the second image shows and the rest of the first image stays visible. Dragging just moves that clip edge.
The inner image is held at full preview width, so it is revealed, never squeezed — alignment stays pixel-true when both images share dimensions.
How do I check a background removal with a comparison slider?
Load the original photo as Before and the cutout from the Background Remover as After, then sweep the divider slowly across edges, hair and hands. Halos, missing detail and leftover background appear where the two sides disagree.
It is a stricter test than viewing the cutout alone on a checkerboard, because every difference has the original right next to it.
How to use
- Choose the first image (labelled Before by default) and the second image (After). Both are read locally, never uploaded.
- Rename the two labels if Before/After does not fit — Original/Edited, Design/Redesign, or anything else.
- Drag directly on the preview, or use the slider underneath: the second image is clipped at exactly that percentage of the preview width.
- Slide to 0% to see only the first image and to 100% to see only the second; anywhere in between shows both, split at the divider.
About this tool
The classic pairing for this site is a cutout check: run a photo through the Background Remover (/background-remover/), then load the original as Before and the cutout as After here and sweep the divider across faces, hair and edges — fringing, eaten details and leftover background show up instantly against the original, in a way a lone transparent preview hides. The same check works for retouching, restoration, compression quality and design revisions. Two limits to know: if the two images have different dimensions, each is fitted to the preview width and the alignment is only approximate; and the comparison lives in this page only — it is a viewing tool, so to share the result, screenshot it or export a side-by-side from your editor. Both images are never uploaded; they are displayed from page memory on your device.
Frequently asked questions
Why do my two images not line up?
Almost always because they have different dimensions or one was cropped. The slider fits each image to the preview width independently, so a one-pixel crop in one of them shifts everything after it. Export both at the same pixel size from the same original and the alignment becomes exact.
What do the percentages mean?
The share of the preview width currently showing the second image. 0% shows only the first image, 100% only the second, and 25% on a 1200 px preview reveals the second image in a 300 px slice on the left, over the first image everywhere else.
Can I download the comparison as an image?
Not from this tool — it is an interactive viewer, and the split exists only while you drag. To publish a still comparison, take a screenshot at the split you want, or place the two images side by side in an editor. What you see here is exactly what a screenshot will capture.
Are the images uploaded or stored?
No. Both files are read by your browser and displayed from page memory; nothing is sent to a server, saved in browser storage, or written into the page address. Refresh the page and both images are gone.
First time embedding? Read the step-by-step guide →
More free tools
Background Remover
Remove an image background with AI that runs entirely in your browser — nothing is uploaded.
Image Compressor
Shrink image file sizes without uploading.
Image Watermark
Stamp your own text onto an image — nine positions or a tiled repeat, with opacity and size controls, exported as PNG or JPG.
Base64 Encode / Decode
Encode text to Base64 or decode it back.
Color Converter (HEX ↔ RGB)
Convert HEX to RGB and back, with live preview.
Unit Converter
Convert length, weight and temperature instantly.