Skip to content

Free · GIF and video · Private

Before and after GIF maker

Animate a wipe, split, or crossfade between two photos and download it as a looping GIF or a video for social media. Everything is created on your device.

Before

Drop a PNG, JPG, or WEBP

After

Drop a PNG, JPG, or WEBP

🔒 Created on your device. Your images are not uploaded.

Choose a before and an after image, or try the sample photos, to preview your animation.

Transition
Direction
Motion
Labels

Video recording is not supported in this browser. The GIF works everywhere.

Example

Wipe, back and forth, 480 pixels wide, downloaded as video. Made with this tool from a damaged and restored detail of a c. 1920 photograph by Sébah & Joaillier, restored by Adam Cuerden. About this restoration

How to make a before and after GIF

An animation shows the change happen instead of asking the viewer to compare two pictures. It works best with a matched pair: the same framing, so only the subject changes as the divider moves.

  1. Choose your before photo and your after photo, or try the sample photos.
  2. Pick a transition. Wipe uncovers the after photo across the before photo; Split moves a divider between them; Crossfade blends one into the other.
  3. Choose the direction and motion. Back and forth sweeps over and returns; One way plays the change, then starts again.
  4. Set the transition and pause lengths. A slower transition is easier to follow; a pause at each end lets viewers see each version whole.
  5. Pick a width, edit the labels, and watch the live preview.
  6. Download a GIF, or a video for platforms that prefer video.

GIF or video?

A GIF plays almost anywhere an image can appear — websites, forums, chat apps, documentation, and most email clients — and loops without a play button. GIFs are limited to 256 colours per frame, so smooth gradients can band, and file sizes grow quickly with width and length.

A video is much smaller for the same size and keeps full colour, and many social apps, including Instagram, accept video but not GIF files for posts. The video download records the animation in your browser: recent versions of Chrome, Edge, and Safari can record MP4, while Firefox records WebM. If a site will not accept WebM, convert it or use a browser that records MP4.

Where it will appearFormatSuggested width
Email newsletter or chatGIF480 px
Website, blog, or portfolioGIF, or an embedded slider640–800 px
Instagram, TikTok, or Facebook postVideo1080 px
Slides and presentationsVideo, or GIF for short loops1080 px

Make a smaller GIF

Every frame of a GIF is stored as a separate image, so the transition length and width have the biggest effect on file size. The pauses at each end cost almost nothing, because a pause is a single frame displayed for longer.

Photo grain makes a big difference too. The example animation above, made from a grainy 1920s photograph at 480 pixels wide, is about 3 MB as a GIF for a single loop. Recorded as an MP4 video, two loops of the same animation take about 340 KB.

  • Choose a smaller width — halving the width roughly quarters each frame.
  • Shorten the transition, or choose One way instead of Back and forth.
  • Wipe and Split usually compress better than Crossfade, where every pixel changes in every frame.
  • Keep photos simple: noise, grain, and detailed textures produce larger files.

What makes a good before and after animation

Line up the two photos first. When the framing matches, the moving divider reveals the change; when it does not, the whole picture appears to jump. Use the same viewpoint, lens, and light, and crop both photos the same way.

Keep the motion calm. Fast flashing between images is uncomfortable for some viewers and can be harmful for people with photosensitive conditions, so avoid very short transitions on high-contrast images. Pair the animation with a caption that explains what changed, and keep a still image for places where motion is not appropriate.

Make a still side-by-side image · Prepare a matching pair

Common questions

Is the before and after GIF maker free?

Yes. There is no account, watermark, or limit. Add the optional BeforeAfterly credit only if you want to.

Are my photos uploaded?

No. Each frame is drawn and encoded in your browser, and the GIF or video is created on your device.

Why can I not post the GIF to Instagram?

Instagram does not accept GIF files for posts. Download the video instead, at 1080 pixels wide.

Why does my GIF look grainy?

GIFs can show at most 256 colours per frame, so smooth skies and gradients may show bands or dots. Use the video download for full colour.

How long does it take?

A GIF usually takes a few seconds; larger widths and longer transitions take longer. Video is recorded in real time, so it takes as long as two loops of the animation.

Can I make an interactive version instead?

Yes. A slider lets viewers drag between the photos. Use the comparison tool to present it, or embed it on your website.

BeforeAfterly is free and needs no account. The site uses analytics; see the privacy policy.