Skip to content
UniKit

Free collage layout

Calculate multi-image collage geometry, rotation, and SVG placeholders without pixel processing.

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

Collage layout

Geometry data plus a placeholder SVG; the page only draws coordinates and never touches pixels.

Paste image sizes (one per line, up to 60 lines) to see the layout

What this tool does

  • Work out the sizes and positions of a collage before posting: type each image size and see whether anything leaves the canvas and how much it covers.
  • Compare the grid, scatter and free arrangements for a poster or slide deck using the same batch of images.
  • Hand a developer an exact coordinate list: every image comes with its centre, scaled size, rotation and index, ready to draw.

Example

Input

1600 1200
1080 1080
800 600

Output

Canvas 1200 × 1200 · layout grid · gap 16px · 2 per row
Images 3 · texts 0 · coverage 57.6%
Every image fits inside the canvas.

1. 1600×1200 @scale 0.36 centre(304, 304) size 576×432 rotate 0°
2. 1080×1080 @scale 0.533 centre(896, 304) size 576×576 rotate 0°
3. 800×600 @scale 0.72 centre(304, 896) size 576×432 rotate 0°

Real output with the defaults (1200×1200 canvas, grid layout, 16px gap, 2 columns). Each image is contain-fitted into its cell (three images become a 2×2 grid) and then multiplied by the scale factor, which is 1 here.

Frequently asked questions

Does it read or upload my images?

No. It only works on the width and height numbers you type: there is no file picker, no canvas and no network request, and the preview is an SVG of placeholder rectangles — no colour or content is read.

What is the difference between the three layouts?

grid splits the canvas into equal cells based on the per-row count and contain-fits each image into its cell. scatter adds a seeded random offset inside each cell (the same seed always gives the same result), for a more casual look. free uses the centre coordinates you supply: every line must end with x y, and offsets are added on top.

How is the coverage percentage computed?

Each image becomes the bounding box of its rotated rectangle; the areas are summed and divided by the canvas area. Overlapping images count twice, so a coverage above 100% is expected — it measures the magnitude of covered area, not a pixel-accurate footprint.

How is out-of-bounds decided with rotation?

If the rotated bounding box leaves the canvas (0.5px tolerance), the image is flagged, counted in the out-of-bounds figure and outlined in red in the preview. Rotation never crops the image; it only enlarges the rectangle used for the check.

What are the hard limits?

Canvas 200–4000px per side; at most 60 lines (images plus text); scale 0.05–8; rotation −180–180 degrees; gap 0–200px; at most 8 images per row. Going past a limit throws an error naming the option instead of silently clamping it.

Keywords:collageSVG

Related tools