How to Merge Images in Photoshop (and a Free Alternative)

Photoshop can combine images in more ways than any other app: side by side, stacked, blended, masked or stitched into panoramas. But for something as simple as two or three photos in a row, it can feel like using a crane to lift a cup. This guide explains how to merge images in Photoshop properly, step by step, covering the canvas method, loading files as layers, alignment and export. Then it shows when a free alternative will get you the same result in a fraction of the time.

For straightforward side-by-side, stacked or grid layouts, you can merge images online for free, with no subscription or install.

Try the free alternative →

Images merged side by side in Photoshop with layers
How to merge images in Photoshop using canvas size and layers, plus a free alternative.

Method 1: Extend the Canvas (Side by Side or Stacked)

  1. Open the first image in Photoshop.
  2. Check its size: Image › Image Size. Note the height (for side by side) or width (for stacked).
  3. Extend the canvas: Image › Canvas Size. Tick Relative, enter the width of the second image (or 100% more), and click the left-middle square of the Anchor grid so new space is added on the right. For stacking, anchor top-middle and add height instead.
  4. Bring in the second image: File › Place Embedded, choose the file, and press Enter to confirm. It arrives as a new layer.
  5. Position it: with the Move tool (V), drag it into the empty space. Smart Guides snap edges together.
  6. Match sizes if needed: Edit › Free Transform (Ctrl/Cmd+T) and drag a corner. Proportions are kept by default in recent versions.

Method 2: Load Many Files as Layers

For three or more images, loading them one by one is slow. Instead:

  1. Choose File › Scripts › Load Files into Stack.
  2. Click Browse, select all your images, and click OK. Photoshop creates one document with each image on its own layer.
  3. Enlarge the canvas with Image › Canvas Size to fit them all.
  4. Select each layer and move it into position.

Aligning and Distributing Precisely

Photoshop’s alignment tools make layouts exact:

  • Select several layers in the Layers panel (Ctrl/Cmd-click).
  • With the Move tool active, use the Align buttons in the options bar: top edges, vertical centres or bottom edges.
  • Use Distribute to space three or more images evenly.
  • For a gap of exactly 20 px, turn on View › Rulers and drag guides, or use View › New Guide Layout to create columns with gutters.

Gaps, Backgrounds and Borders

Add a new layer, move it to the bottom of the stack, and fill it with white or black (Edit › Fill). It shows through the gaps between images. For a border around each image, use Layer › Layer Style › Stroke with Position set to Inside.

For Panoramas: Photomerge

If your photos overlap and should blend into one seamless scene, use File › Automate › Photomerge instead. Add the files, choose Auto layout and tick Blend Images Together. Our guide to making a panorama by merging photos explains when stitching beats side-by-side merging.

Exporting the Result

  1. Optionally flatten: Layer › Flatten Image (keep a PSD copy first if you might edit later).
  2. Choose File › Export › Export As.
  3. Pick JPG (quality around 80–90% for photos), PNG (graphics, transparency) or WebP in recent versions.
  4. Set the final width if needed and click Export.

How Long Does It Take?

For an experienced user, a tidy two-image merge takes two to five minutes; a ten-image grid with even gaps can take fifteen. That’s fine when you also need masking, retouching or text. When you don’t, the time adds up.

The Free Alternative for Simple Merges

  1. Open the free image merger in your browser.
  2. Add up to 20 images (JPG, PNG, WebP, HEIC and more).
  3. Choose Horizontal, Vertical or Grid.
  4. Tick “same height” or “same width” so edges align, with no Free Transform needed.
  5. Set the spacing slider and background colour (or transparent).
  6. Choose JPG, PNG or WebP, set quality, and download.

Working mostly with PNG graphics? Our PNG merger keeps everything lossless.

Finishing Touches Without Photoshop

Many people open Photoshop just to add a frame or rounded corners. The free merger covers the common finishing touches too: outer padding adds a margin around the whole image, border width and colour frame each photo, and corner radius rounds the corners for a modern app-style look. A live preview shows changes as you adjust them, so you can try a white border with 12 px corners, compare it with a black frame, and download whichever looks best.

Photoshop vs a Free Online Merger

Photoshop Online merger
Cost Subscription Free
Install Large desktop app None; runs in the browser
Side by side, stacked, grid Manual (canvas, layers, align) One click
Even spacing Guides and distribute Slider
Masks, blending, retouching Yes No
Panorama stitching Yes (Photomerge) No; joins images edge to edge
Best for Creative composites, pro edits Collages, comparisons, quick layouts

A common workflow is to merge in the browser, then open the merged image in Photoshop only if it needs retouching. For a comparison of Photoshop with GIMP and Canva, see merging images in Photoshop, GIMP and Canva. Working inside documents instead? Read merging images in Google Docs and Slides.

Frequently Asked Questions

How do I merge two images in Photoshop?

Open the first image, enlarge the canvas with Image, Canvas Size, place the second image with File, Place Embedded, then move and align it.

How do I load several images as layers?

Use File, Scripts, Load Files into Stack and select all the images. Each one becomes a layer in a single document.

How do I align images in Photoshop?

Select the layers, choose the Move tool, and use the Align and Distribute buttons in the options bar.

Is there a free alternative to Photoshop for merging images?

Yes. A free online image merger handles side-by-side, stacked and grid layouts without installing anything.

When do I still need Photoshop?

For masking, blending, retouching or stitching overlapping photos into a seamless panorama.

Use the Right Tool for the Job

Photoshop is unbeatable for creative composites, masking and panoramas. For everyday layouts, a browser tool gets you there in seconds. Try our free Photoshop alternative for merging photos next time you just need images side by side, stacked or in a grid.