
Web Scripts & Software
DEV3 Image Comparison Slider (Before/After) Maker — Source Code (React + Tailwind)
from $20$29
Loading…
Design tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Zoom: Ctrl + wheel. When zoomed, hold Shift and drag to pan. Both images move together.
Add a before and an after image, or press Try an example. Nothing is uploaded.
Need Image Comparison Slider (Before/After) Maker as a complete website or app for your brand? We design and build it end to end. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The image comparison slider (before/after) maker stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Launch the full site, not just the asset. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $20$29

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software
from $20$29

Web Scripts & Software
from $20$29

Web Scripts & Software
from $20$29

Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99
Use this page to show a retouch, a redesign, a restoration or a compression result, or to find out exactly what changed between two screenshots.
Every pixel gets a difference score from 0 to 255 that mixes brightness change and the largest colour channel change. Scores at or under the tolerance are ignored, which hides compression noise. The stats show the share of changed pixels, the average and largest change, the box around all changes and the PSNR (higher means more alike; above 45 dB is hard to tell apart).
Drop your before image on the left and your after image on the right, or press Try an example. Drag the handle (or use the arrow keys) to reveal one image over the other. Then copy the HTML embed code, or save an animated GIF or MP4 of the wipe.
Both are drawn into one canvas. Choose whether it follows the larger image, the smaller image, the before image or the after image, and whether each picture is stretched, covers the canvas or is letterboxed. For a fair pixel difference, use two images of the same photo and crop.
For every pixel the tool measures how far the colour changed. Pixels that changed by less than the tolerance count as the same. The heatmap paints the rest from blue (small change) to red (large change), and the card lists the share of changed pixels, the largest change, the area that moved and the PSNR.
Yes. The embed code is one block of HTML, CSS and a few lines of JavaScript with no library. The images can be packed inside the code as data (good for a quick test) or you can point it at your own image URLs (better for page speed). The slider works with the keyboard and a screen reader.
A GIF has at most 256 colours per frame and no inter-frame compression of photos. Lower the width, the frame rate or the sweep time, or choose MP4, which is usually 10 to 20 times smaller.
No. The comparison, the difference maths and the exports all run in your browser.