On-device AI — professional-grade, fully private.

Images

How to Combine Two Images Side by Side (or Stack Them Vertically)

Before-and-after shots, product comparisons and memes all need two pictures in one file. Here is how to join images horizontally or vertically so they line up, match in size and stay sharp.

Updated October 22, 20265 min read

Two photos in one image is one of the most common edits there is: a before and after, two products compared, a renovation from the same angle a year apart, a reaction next to the thing being reacted to. It looks trivial, and it is — until the two pictures are different sizes, the join is uneven, or the result is too big to post. Lining them up well takes a minute if you do it in the right order.

Side by side or stacked?

LayoutBest forResult shape
Side by side (horizontal)Before/after, comparisons, two portraitsWide — suits desktop and landscape posts
Stacked (vertical)Step-by-step sequences, phone feeds, long screenshotsTall — suits phone screens and Stories

Think about where the result will be seen. Two landscape photos side by side make a very wide, thin image that looks tiny on a phone; stacked, the same pair fills the screen. Two portrait photos are the reverse.

Combining images, step by step

1

Crop both pictures to the same framing

For a before and after, crop both to show the same area. The crop tool with a fixed aspect ratio keeps them identical in shape.

2

Add them in order

Drop the images into the image merger and drag them into order — left to right, or top to bottom. The first image is usually the "before".

3

Choose the direction

Pick horizontal for side by side or vertical for stacked.

4

Set spacing and background

A thin gap with a white or black background separates the pictures cleanly; no gap makes them read as one continuous image.

5

Export

Save as JPG for photos or PNG for screenshots and graphics with sharp text.

Join images side by side or stacked, reorder by dragging, and set spacing and background. Free merges up to 10 images at once; Pro up to 100. Runs on your device — nothing is uploaded.

Combine images into one

Making a convincing before and after

  • Same angle, same distance. Mark where you stood the first time. A before and after taken from different positions convinces nobody.
  • Same light if you can. Shoot both at a similar time of day; strong differences in light make changes hard to judge.
  • Same crop. Use an identical aspect ratio and framing so the eye compares the subject, not the composition.
  • Label them. A small "Before" and "After" removes all doubt about which is which.

Sizes for posting

Social platforms crop and compress images to their own formats. Two square photos side by side make a 2:1 image, which most feeds show letterboxed and small. If the destination is a feed, consider stacking instead, or combining two 4:5 portraits side by side and then cropping the result to the platform's shape. See social media image sizes for current dimensions.

Two images of…Side by side givesStacked gives
1:1 squares2:1 (wide)1:2 (tall)
4:5 portraits8:5 (landscape)2:5 (very tall)
16:9 landscapes32:9 (very wide)8:9 (almost square)
9:16 phone screenshots9:8 (almost square)9:32 (very tall)

More than two images

A strip of three or four images works the same way, but past that, a grid usually reads better than one long row. For grids, borders and layouts with different-sized cells, use the collage maker — see making a photo collage.

Keeping the result sharp and small

Joining images adds their widths (or heights) together, so two 4000-pixel photos side by side would make an 8000-pixel-wide sheet — far more than any screen shows. On Free, the sheet is scaled to fit the 4096-pixel export limit on its long side; even so, resize the result to the size you need, usually 1080 to 2048 pixels on the long side for social media and 1920 for a website. Save photos as JPG at quality 80–85 for a sensible file size; save screenshots as PNG so text stays crisp.

Because the merge runs on your own device, private photos — documents, family pictures, unreleased product shots — are never uploaded to a server along the way.

Troubleshooting

ProblemFix
One image looks bigger than the otherKeep "Keep proportions" on, or resize both to the same height first
Uneven gap or white edgeSet an explicit spacing and background colour
Faces cut off after postingThe platform cropped the wide result; stack the images instead
Result is blurry on the platformIt was resized down heavily; export closer to the platform's own width
Colours look different between the twoThey were shot under different light; adjust one before joining

Comparing designs and screenshots

Side-by-side images are not only for photos. Designers compare two versions of a layout, support teams show "what you see" next to "what you should see", and developers document a before and after of a UI change. For screenshots, save as PNG so text stays sharp, keep the two images at the same zoom level, and add a thin gap so it is obvious where one screen ends and the other begins.

Choosing JPG, PNG or WebP for the result

Save photos as JPG for small files that look good everywhere; save screenshots, diagrams and anything with text as PNG so edges stay crisp; use WebP when the image is for a website, where it is typically 25–35% smaller than JPG at the same quality. See PNG vs JPG vs WebP for the full comparison.

Frequently asked questions

How do I put two pictures side by side?

Add both images to the image merger, choose the horizontal direction, set the order and spacing, and export. With Keep proportions on, the heights are matched automatically so the edges line up.

Can I stack images vertically instead?

Yes — choose the vertical direction. Stacking suits phone screens and step-by-step sequences; resize the images to the same width first for clean edges.

How many images can I combine?

Free merges up to 10 images at once; Pro merges up to 100. For grids rather than a single row or column, use the collage maker.

Will combining images reduce quality?

No, the pictures are placed at their own resolution. The combined file can be very large, so resize it to the size you need and choose JPG for photos or PNG for screenshots.

Keep reading

More in Images →