Merge two images side by side

Combine two photos side by side into a single image, with heights automatically aligned and customizable spacing between the two — ideal for comparisons or before/after composites.

No image
No image

How it works

This tool places two images next to each other in a single output image. The larger of the two heights is ignored in favor of the smaller: both images are resized to that common height while keeping their aspect ratios, so the result is perfectly aligned horizontally.

Can I merge a portrait image with a landscape image?

Yes, both images are automatically matched to the same height without being distorted: only their final widths differ depending on their original aspect ratio. The result thus keeps each photo's natural proportions.

How do I choose the background color?

The background color is only visible in the spacing between the two images if you set a spacing greater than 0. Choose white for a clean look or a color that matches your images for a more harmonious composite.

Your two images are assembled locally in your browser: neither is sent to any server.