Skip to content
UniKit

Merge images into one

Join several images end to end into one long image (or side by side): unify the width proportionally, keep original sizes or force them to match, with adjustable gap and background colour, exported as PNG or JPEG.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Images are processed locally in your browser with Canvas and never uploaded.

Keeping original sizes leaves ragged edges (filled with the background); proportional scaling crops nothing and never distorts, which is the usual choice.

0 px

Pick two or more images first (PNG / JPEG / WebP / GIF all work).

Result details

Result details

Pick images and they are joined end to end into one long image right away.

What this tool does

  • Stitch chat logs: stack several phone screenshots vertically into one long image that is easy to send in one go.
  • Comics and long documents: join page screenshots end to end and pick proportional scaling so the edges line up.
  • Horizontal mode: put two images side by side for a before/after comparison.
  • Different from the collage tool: that one lays images on a 2-D grid and crops each photo, while this one joins them along one axis and keeps every image whole.

Example

Input

Two 2×2 images merged vertically with no gap and original sizes kept

Output

A 2×4 image with the first on top and the second below, each row keeping its own colours

Sizes from the pure mergeImages logic: vertical joining adds heights and takes the maximum width. With proportional scaling enabled, images of different widths are scaled first and the scaled flag becomes true.

Frequently asked questions

Which "unify the cross axis" mode should I use?

Keep original sizes: nothing is cropped or scaled, and differing widths leave background on the sides. Proportional scaling: everything is scaled to the widest image with no distortion or cropping, which is the usual choice. Force to match: stretches the cross axis and distorts, so only use it when the aspect ratios already match.

How do the gap and background colour relate?

The gap is blank pixels inserted between images and takes the background colour. With no background it stays transparent (so the PNG can sit on anything), while #ffffff gives a white gutter. The gap ranges from 0 to 512.

Is a very long image limited?

The output is capped at 16 million pixels. For tall images, shrink the width to around 1080 with the resize tool first, otherwise the limit is easy to hit — and oversized results report an error.

Does merging reduce quality?

In "keep original sizes" mode nothing is resampled — pixels are copied verbatim. Proportional scaling uses area averaging, which is smoother when shrinking. Only force-to-match introduces distortion. PNG export is lossless.

Are my images uploaded?

No. Pixels are read through the canvas and processed entirely in the browser; there is no upload endpoint on the page.

Keywords:merge imagesjoin images

Related tools