EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

Before and after slider for websites

Paste the URLs of the two photos (same size and framing). Drag the divider in the preview and copy the code.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Ready-made site blocks

Before and after with a draggable divider


Available in: PortuguêsEnglish

Advertisement

Before and after slider for websites: what it is for

For services that change how something looks, such as barbershops, auto detailing, renovation or cleaning, showing the before and after in the same photo is more convincing than any text.

Paste the two photos and the generator builds the comparison with a divider you drag with a finger or mouse, labels, a starting position and a color. Underneath, the divider is a range input, so it works with the arrow keys and is announced by screen readers; the cropping is done with clip-path, with no library.

How to use

  1. Paste the URLs of the before and after photos.
  2. Write the labels, the description and the starting position.
  3. Copy the code and paste it into your page.

When to use it

  • Barbershops and beauty salons.
  • Auto detailing and body shops.
  • Renovation, painting and cleaning.

Frequently asked questions

Which businesses is it for?

Any service that changes how something looks: barbershops, salons, auto detailing, renovation, painting, upholstery cleaning, cosmetic dentistry, landscaping. Seeing the difference in the same photo is more convincing than two separate photos.

How is it accessible?

The divider is a real range input underneath: you can move it with the arrow keys, and screen readers announce the percentage. Both photos have alt text.

Do the photos have to be identical?

They need the same aspect ratio and, ideally, the same framing, taken from the same spot. If the proportions differ, the top photo is cropped to fit (object-fit: cover).

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.