Canonical: https://toolipedia.app/before-and-after-slider

# Before and After Slider

Load two pictures and drag a divider to compare them, with side by side, fade and flicker styles, a saved comparison picture and an embeddable HTML snippet.

Breadcrumbs: Toolipedia > Image tools > Photo editing tools > Before and After Slider

## About Before and After Slider

Show a change by letting people drag across it. Load a Before and an After picture and choose a vertical or horizontal divider, a side by side view, a fade or an automatic flicker, with your own labels. Download the current view as a picture, copy a small HTML snippet that works on any web page with no library, or download a ready page that has both pictures embedded. The snippet uses a range input, so the slider also works with the keyboard. The After picture is cropped to the shape of the Before picture.

## How to use Before and After Slider
1. Choose your Before picture and your After picture, ideally with the same size, or look at the built-in sample.
2. Pick the comparison style, drag the divider on the picture and edit the labels and the picture addresses used in the snippet.
3. Download the view, copy the HTML snippet or save the page with both pictures inside.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- before and after slider
- before after image comparison
- image compare slider embed
- compare two images online
- before after photo slider html

## Frequently asked questions

### How do I put the slider on my website?

Upload your two pictures, copy the snippet and replace the two picture addresses with the web addresses of your files. Paste it into any page that allows HTML. It needs no external script or stylesheet.

### Do the two pictures have to be the same size?

They should, so the details line up. If the After picture has a different shape it is cropped from the middle to fit the Before picture, and a note on the page tells you.

### Are my pictures uploaded when I use the slider?

No. Both pictures stay in your browser. The saved page contains reduced copies of them as embedded data, so you can send a single file. Nothing is sent to a server.

### Is Before and After Slider free?

Yes. Before and After Slider on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Before and After Slider:
- [Before and after image maker](https://toolipedia.app/before-after-image)
- [Adjust image brightness and contrast](https://toolipedia.app/adjust-brightness-contrast)
- [Code to image](https://toolipedia.app/code-to-image)
- [JPG compressor](https://toolipedia.app/compress-jpg)
- [360 Photo Viewer](https://toolipedia.app/360-photo-viewer)
