Combine Images

Put two or more images into one file: side by side, stacked or in a grid. Different sizes are scaled to match, which is what before-and-after shots and screenshot comparisons need.

Add at least two images.

How to Combine Images: Side-by-Side Comparisons, Collages and Stitched Screenshots

Putting two or more images into one file sounds trivial, but it’s one of the most common small design tasks: before-and-after shots for a portfolio, three app screens next to each other for a launch post, a product shown from several angles, or a long conversation stitched from several screenshots. Done carelessly, combined images look uneven and cramped. A few rules about sizing, spacing and alignment make them look intentional.

Before and after product photos of a mug combined side by side in one image

Why combine images at all?

  • Comparison. Side by side, differences are obvious: before and after a renovation, edit or redesign.
  • Platform limits. Some places allow one image per post or message, or show multiple images awkwardly.
  • Context. A row of app screens tells the story of a user flow better than separate files.
  • Attachments. One file is easier to email, attach to a ticket or drop into a document than five.

The three basic layouts

LayoutBest forWatch out for
Horizontal (side by side)Before/after, comparisons, app screensVery wide results become tiny on phones
Vertical (stacked)Long screenshots, step-by-step instructions, mobile-friendly comparisonsVery tall images may be cropped in feeds
GridProduct angles, mood boards, photo setsMixed aspect ratios leave uneven gaps

The combine images tool above supports all three, with spacing and background color controls.

Matching sizes

The most common mistake is combining images of different heights side by side, so one looks tiny and the edges don’t line up. The fix is to scale images to a common dimension:

  • Side by side: give all images the same height.
  • Stacked: give all images the same width.
  • Grid: give all cells the same size and fit each image inside.

When scaling to match, it’s better to scale everything down to the smallest image’s height (or width) than to scale small images up, which makes them blurry. That’s what our tool does when “scale to the same height/width” is on.

Before-and-after comparisons that convince

A comparison is only persuasive if the only difference is the thing being compared.

  1. Same framing. Shoot from the same position, at the same zoom, if you can. Crop both images to the same area and aspect ratio before combining; see our cropping guide.
  2. Same lighting and editing. Don’t make the “after” brighter and more saturated unless that’s the point. Viewers notice, and it undermines trust.
  3. Label clearly. Add “Before” and “After” labels, or place them in the same order everywhere (before on the left or top is the convention in left-to-right languages).
  4. Keep a small gap (8–20px) or a thin dividing line so the two images read as separate.

For product claims, especially cosmetics, fitness or health, advertising standards in many countries require that before-and-after images are genuine and not misleadingly edited. Keep it honest.

Spacing and background

  • No gap creates a seamless panorama or a continuous strip; good for images designed to connect.
  • Small gap (8–20px) gives a clean, modern collage look.
  • Large gap with colored background creates a framed, gallery-like presentation.

Use a background color that matches where the image will be shown (white for most documents, your brand background for social posts) so the gaps look intentional.

App screenshots

For showing a product flow:

  • Use screenshots from the same device and at the same scale.
  • Remove distracting status bar details (battery warnings, notifications), or use clean device mockups.
  • Three to five screens is the sweet spot; more becomes unreadable at typical viewing sizes.
  • For a portrait phone screen row, a horizontal layout works on desktop, but for mobile viewers a 2-column grid may read better.

Stitching long screenshots

Many phones can take scrolling screenshots, but when they can’t, combining several screenshots vertically works. Overlap areas need trimming so content isn’t duplicated. Crop each screenshot to remove the repeated section and the status bar before stacking them with no gap.

File format and size

ContentExport asWhy
PhotosJPEG (quality 85–90) or WebPSmall files, natural images
Screenshots, UI, textPNGKeeps text sharp
MixedPNG for quality, JPEG if size mattersTest both

Watch the dimensions. Five 4000-pixel photos side by side make a 20,000-pixel-wide image, which is far beyond what anyone needs and too large for some apps. Browsers also limit canvas sizes, and the limits vary by browser and device; mobile Safari is especially strict about total canvas area. Our tool caps the output at 12,000 pixels on the longest side for reliability. For web use, resize the result with an image resizer.

Alt text for comparison images

When a combined image is used on a website, describe what is being compared in the alt text, not just “before and after”. For example: “Kitchen before renovation with dark wood cabinets, and after with white cabinets and open shelving.” If the comparison is important, consider showing the images separately in HTML with captions, which also adapts better to mobile layouts.