Layout & Combination Tools

Before and After Slider

Compare two images with an interactive draggable divider and export a self-contained comparison widget.

Free to useBrowser processingNo account required

Interactive workspace

Use Before and After Slider

Your image stays in this browser unless a page explicitly says otherwise.
Preview No image loaded

About this tool

What does Before and After Slider do?

Before and After Slider places two images in the same frame and reveals them with a draggable comparison handle. It is useful for retouching portfolios, restoration demonstrations, renovations, fitness progress and product changes. The tool can export a standalone HTML widget with both images embedded.

Mouse, touch and keyboard slider

Image alignment and fit controls

Custom labels and divider style

Self-contained HTML widget export

Step-by-step guide

How to use Before and After Slider

  1. Upload the before image and the after image.
  2. Choose fit mode and label text.
  3. Drag the divider to verify alignment.
  4. Download the standalone comparison HTML widget.

Understand the result

How to read and refine the output

The comparison is most meaningful when both images show the same composition and dimensions. Cover mode fills the frame but may crop edges; contain mode preserves the complete images and may add empty space.

Practical advice

Tips for better results

  • Use matching camera angles and crops.
  • Align important features before export.
  • Write clear, neutral labels.
  • Test the widget on mobile before publishing.

Important limitations

What this tool cannot guarantee

The exported widget contains embedded image data and can become large. It is an interactive HTML component rather than a single static image, and host-site CSS may require isolation.

Common questions

Before and After Slider FAQs

Can I use the widget on my website?

Yes. Download the HTML and copy the component into a page you control.

Does it work on touchscreens?

Yes. The divider supports pointer and touch interaction.

Why do the images not line up?

They may have different crops or camera positions. Prepare matching images first.

Can I export a video?

This tool exports an interactive HTML comparison, not video.

Continue editing

Related image tools

Found an issue with this tool?

If any part of this tool is not working properly, please let us know.