Images and Photos

How to Make a Before and After Photo Slider to Share

Compare edits with a draggable before and after slider and a labelled grid, then share them as one HTML page or a single JPEG for social media and chat.

Saizul Amin
Saizul Amin2 Nov 2026 · 3 min read
How to Make a Before and After Photo Slider to Share

Before-and-after comparisons are among the most persuasive images there are. Retouchers use them to show their work, renovation companies to show results, photographers to let clients choose between edits. Sending two separate files rarely works: people flick between them and miss the differences. This guide shows how to build a proper comparison with the free Photo Comparison Grid and Slider.

Why sliders work

A slider places two images exactly on top of each other and reveals one or the other as you drag a line. Your eye stays on the same detail while it changes, which makes even small edits obvious. A grid is better for three or more options, because it shows everything at once.

Step 1: prepare the images

Export the versions at the same size and crop. If the before image is 3000 × 2000 and the after image was cropped to 2800 × 1900, details will not line up in the slider. For real-world before and after shots, such as a renovated kitchen, use a tripod or mark where you stood, and match the lens and lighting.

Step 2: add and label

Add the images. The first two are labelled Before and After automatically; others take their file names. Rename them to anything clear: Natural, Warm, Black and white, Option A, Option B. Reorder with the arrows; the first two feed the slider.

Step 3: compare

Choose Slider, Grid or Both. Drag the divider with a mouse or finger. In grid mode, set the number of columns and the spacing between images.

Step 4: share as a web page

Give the comparison a title and an optional note, choose an image size, and download the share page. It is one HTML file containing the images and the slider. Clients open it on any device, drag the slider with a finger and see the grid below. Send it by email, a file transfer service or upload it to your site.

Step 5: or share as one image

Grid as JPEG draws all versions into one picture with labels, on white or a dark background. One or two columns suit Instagram and WhatsApp; three columns suit a blog or portfolio.

Practical example

A portrait retoucher offers a client three edits: the original, a natural retouch and a film-style grade. With Both mode, a 1600-pixel size and a dark background, the share page is about 1.9 MB. The client drags between original and natural retouch, looks at the grid and replies "Option B, please" within the hour.

Keeping comparisons honest

If you publish before-and-after results to advertise a service, keep everything except the change the same: light, angle, distance and editing. Many countries regulate retouched advertising, especially for cosmetics, so check the rules where you work.

Tips

  • Use larger sizes for subtle differences such as skin retouching or noise reduction.
  • Put the most dramatic pair first so the slider makes the point immediately.
  • Keep labels short so they do not cover important parts of the image.

More uses

The same page works for many comparisons beyond photo edits: two lenses at the same aperture, a scanned print against the digital file, a website redesign, a garden through the seasons or a product in two colours. Anything you can photograph twice from the same spot can become a slider. Teachers use it to show the effect of a filter or exposure setting, and estate agents to compare a room empty and staged. For every use, the main rule stays the same: keep framing identical so that only the thing you want to show changes.

Privacy

The comparison and the exported files are created in your browser; images are not uploaded.

Summary

Export matching versions, label them, compare with the slider and grid, then share either an interactive HTML page or a single JPEG. Clients see differences instantly and decide faster.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages