Border thickness (px)

Help Us Improve

(—)

Merge two images online

Merge two images online vertically or side by side. Combine 2 photos with size matching, optional border, live preview, PNG download in your browser.

What is merge two images?

Merge two images combines a first and second photo into one file—whether you need to combine images online, put two pictures side by side, or stack them vertically. Choose horizontal or vertical layout, optionally scale or crop so widths or heights align, and add a colored border between panels. It stitches panels edge to edge; it does not overlay layers. Upload both images, adjust options, preview, and download PNG—all processing runs in your browser.

Merge controls

Merge two images or combine two photos online—vertical stack, side by side, size matching, optional border, PNG download.

  1. Merge two images into one PNG: Put two images together—stack vertically or join horizontally with an optional colored gap between panels.
  2. Combine images online: Upload a first and second file without install—preview the stitched result, then download PNG.
  3. Four size modes: Do not adjust, magnify smallest, reduce biggest, or crop biggest so widths or heights align.
  4. Side by side photos: Horizontal layout for comparison shots; match heights with size modes and add a colored gap.
  5. Border thickness and color: Gap between images from 0 to 100 px with hex color for the fill.
  6. PNG download: Save the merged result as merge-images.png.

How to combine two photos online

Merge two pictures vertically or side by side—before/after, comparison, or simple collages.

  1. Upload both images: Add a first and second file (15 MB max each).
  2. Choose layout: Pick vertical stack or horizontal row for side-by-side photos.
  3. Match sizes: Use magnify smallest for most collages; crop biggest to avoid scaling.
  4. Download PNG: Save when the preview looks correct.

Tips for merging images

Cleaner results when you combine two photos.

  1. Start with magnify smallest: Usually the best default when image sizes differ.
  2. Use crop for screenshots: Crop biggest avoids soft scaling on sharp UI captures.
  3. Horizontal for comparisons: Side-by-side layout works well for before/after width.
  4. White borders for print: A few pixels of white separate panels cleanly.
  5. Check output size: Very large merges may hit the 8192 px output limit.
  6. PNG for transparency: Use PNG uploads when either layer needs alpha.

When to merge two images

Typical uses for combining photos online.

  1. Before and after: Stack or place edits side by side for social proof.
  2. Comparison shots: Line up two product or design variants horizontally.
  3. Side by side photos: Join two pictures in one frame for posts or slides.
  4. Tutorials: Combine step screenshots into one tall reference image.
  5. Simple collages: Merge two photos with a white or brand-colored border.
  6. Quick mockups: Put two images together before importing into Figma or decks.

Why use this merge tool

Benefits of browser-based two-image combine.

  1. Two uploads: Dedicated panels for first and second images.
  2. Private: Images stay on your device—no server upload.
  3. Live preview: See layout and border changes before download.
  4. Flexible sizing: Four alignment modes like classic online merge tools.
  5. No install: Works in any modern browser with Canvas 2D.
  6. Free: Unlimited previews and downloads.

Technical details

How two-image merge works here.

  1. Canvas compositing: Each layer drawn with optional source crop and destination scale.
  2. Cross-axis matching: Width matched for vertical merges; height matched for horizontal.
  3. Center alignment: Images centered on the axis perpendicular to the merge direction.
  4. Border fill: Full canvas filled with border color; gap thickness between panels.
  5. Input limits: 15 MB per upload; 8192 px max edge per image and merged output.
  6. Browser support: Chromium, Firefox, Safari with Canvas 2D.

Frequently Asked Questions

Have questions? We have answers.

More tools from Image & Conversion.