Image comparison slider

Choose a before picture and an after picture, then drag the divider across them, or focus it and use the arrow keys. It works with a mouse, a finger or the keyboard. Both pictures stay on your device.

Before

Everything happens in your browser. Your files are never uploaded.

After

Everything happens in your browser. Your files are never uploaded.

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose the Before picture and the After picture.
  2. Drag the divider left or right. The before picture is shown on the left of it, the after picture on the right.
  3. Use Swap pictures if you chose them in the wrong order.

How it works

Both pictures are stacked in one frame. The before picture is cut off at the divider position with a CSS clip, so no pixel is changed or resampled by the tool; the browser shows the pictures as they are. The position is a percentage of the frame width, 50 % at the start.

Worked example

Compare a photo before and after compression: put the original on the left and the compressed copy on the right, then drag across a detailed area such as hair or text to see where the quality drops.

Tips

  • Use the same crop for both pictures so the divider compares like with like.
  • Zoom your browser in to inspect fine detail.
  • Check large differences with the image diff checker.

Frequently asked questions

Can I use the slider with a keyboard?

Yes. Focus the round handle with the Tab key. The left and right arrows move it by 1 %, with Shift by 10 %, PageUp and PageDown move by 10 %, and Home and End jump to the ends.

Does it work on a phone?

Yes. Touch the picture and drag horizontally. Vertical swipes still scroll the page.

What if the pictures have different sizes?

The frame takes the shape of the after picture, and each picture is fitted inside it without stretching. For a precise comparison use two pictures of the same size.

Can I save the comparison?

This tool is for viewing only; nothing is created or saved. For a list of changed pixels between two pictures, use the image diff checker.

More in Images

All tools in this category: Images ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.