Add two images to merge them.
- Image 1 — not added yet
- Image 2 — not added yet
Help Us Improve
—
(—)
Merge two images online
Merge two photos horizontally or vertically into one image. Border option, preview, PNG download.
What is merge two images?
Merge controls
Merge two images into one PNG: Put two images together—stack vertically or join horizontally with an optional colored gap between panels.
Combine images online: Upload a first and second file without install—preview the stitched result, then download PNG.
Four size modes: Do not adjust, magnify smallest, reduce biggest, or crop biggest so widths or heights align.
Side by side photos: Horizontal layout for comparison shots; match heights with size modes and add a colored gap.
Border thickness and color: Gap between images from 0 to 100 px with hex color for the fill.
PNG download: Save the merged result as merge-images.png.
How to combine two photos online
Upload both images
Add a first and second file (15 MB max each).
Choose layout
Pick vertical stack or horizontal row for side-by-side photos.
Match sizes
Use magnify smallest for most collages; crop biggest to avoid scaling.
Download PNG
Save when the preview looks correct.
Tips for merging images
- 01
Start with magnify smallest
Usually the best default when image sizes differ.
- 02
Use crop for screenshots
Crop biggest avoids soft scaling on sharp UI captures.
- 03
Horizontal for comparisons
Side-by-side layout works well for before/after width.
- 04
White borders for print
A few pixels of white separate panels cleanly.
- 05
Check output size
Very large merges may hit the 8192 px output limit.
- 06
PNG for transparency
Use PNG uploads when either layer needs alpha.
- 07
Layouts vs true layering
Merge Images lays panels edge to edge. If you need one image placed on top of another with position, scale, rotation, and opacity, use Overlay Images.
Image Merge Tools Compared — Which One Fits Your Workflow
PineTools.com
Merge images horizontally or vertically. Simple alignment modes. Requires Apply button.
Imagy.app
Merge images with positioning, gap, and border options. Batch processing available. More configuration needed.
PhotoFunny.com
Photo combiner with fun layouts. Less suited for serious image merging.
OnlineConvert.com
Basic image merging with format selection. Server upload required.
Merge Images
Merge two images horizontally or vertically with adjustable alignment, gap size, and border. Color picker for gap fill. Real-time preview.
When to merge two images
Before and after
Stack or place edits side by side for social proof.
Comparison shots
Line up two product or design variants horizontally.
Side by side photos
Join two pictures in one frame for posts or slides.
Tutorials
Combine step screenshots into one tall reference image.
Simple collages
Merge two photos with a white or brand-colored border.
Quick mockups
Put two images together before importing into Figma or decks.
Why use this merge tool
Two uploads
Dedicated panels for first and second images.
Private
Images stay on your device—no server upload.
Live preview
See layout and border changes before download.
Flexible sizing
Four alignment modes like classic online merge tools.
No install
Works in any modern browser with Canvas 2D.
Free
Unlimited previews and downloads.
Technical details
- Canvas compositing
- Each layer drawn with optional source crop and destination scale.
- Cross-axis matching
- Width matched for vertical merges; height matched for horizontal.
- Center alignment
- Images centered on the axis perpendicular to the merge direction.
- Border fill
- Full canvas filled with border color; gap thickness between panels.
- Input limits
- 15 MB per upload; 8192 px max edge per image and merged output.
- Browser support
- Chromium, Firefox, Safari with Canvas 2D.
Sources & References
“Compositing is the combining of visual elements from separate sources into single images, often to create the illusion that all those elements are parts of the same scene.”
Image compositing fundamentals: This tool composites two images edge-to-edge into a single PNG, applying the core compositing concept of combining separate visual elements — whether side-by-side or stacked vertically. en.wikipedia.org/wiki/Compositing
“The Canvas API provides a means for drawing graphics via JavaScript and the HTML canvas element.”
Canvas API (client-side compositing): This tool uses Canvas 2D drawImage operations to composite two source images onto a single output canvas with precise positioning, scaling, and border fills — all locally in your browser. developer.mozilla.org/en-US/docs/Web/API/Canvas_API
“PNG supports lossless data compression, making it useful for storing graphics that need to be edited repeatedly without losing quality.”
PNG image format: Downloading the merged result as PNG preserves the full quality of both source images and any transparency. PNG's lossless compression is ideal for edge-to-edge composites. w3.org/TR/PNG/
“Photomontage is the process and the result of making a composite photograph by cutting, gluing, rearranging and overlapping two or more photographs into a new image.”
Photomontage techniques: Image merging combines multiple source images into a single composite — this tool overlays or stacks photos, with options for alignment and blend mode control. en.wikipedia.org/wiki/Photomontage