Image Tools

Before & After Image Slider

Drop a before and an after picture and drag the line to compare. Then save it as a slider you can put on any website, or as a single image.

Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

What it does

A before-and-after slider puts two pictures on top of each other with a line you drag to reveal one or the other, the clearest way to show a photo edit, a renovation, a haircut, a restored photo, a game graphics mod or an AI upscale. Drop your two images (the second is stretched to fit the first if the sizes differ), choose side-to-side or top-to-bottom, and drag.

Then take it with you: Download HTML slider gives one small HTML file with both images built in and no outside scripts, which you can open in any browser, attach, or paste into a website or blog that accepts HTML. Or save a still: a side-by-side PNG for social media, or a split image cut at exactly where you left the line.

Example

Two 1600 × 1000 photos make a slider HTML file about as big as the two images combined (JPGs stay JPG inside it), a 3200 × 1000 side-by-side PNG, and a 1600 × 1000 split image. The labels appear in the top corners and can be renamed (Original/Edited, 2019/2024, Vanilla/Modded) or cleared.

Before & After Image Slider FAQ

How do I put the slider on my website?

Open the downloaded HTML file in a text editor and copy everything between the <body> tags (the slider, its style and its short script) into your page's HTML. On WordPress use a Custom HTML block. Builders that don't allow scripts (some Wix or Squarespace plans) need their own slider widget.

Do the images get uploaded?

No. Everything happens in your browser, and the HTML file contains the images themselves, so it doesn't depend on this site.