Sprite Sheet Merger
Work out the combined sheet size and every frame's destination cell for merging frames into one grid.
The grid a merge writes into
The page multiplies the frame width by the column count for the sheet width, and the frame height by ceil(frames ÷ columns) for the sheet height. Each frame then prints the x and y of its own cell, computed as (i mod columns) × frame width and floor(i ÷ columns) × frame height.
Frame size must be 1 to 2048 pixels on each side, the frame count 1 to 256 and the column count 1 to 32; a value outside those ranges is refused. The page does not read or write images: it prints the layout arithmetic, so the merge itself is done by a canvas or an image tool. A last row with fewer frames than columns is normal and is not padded in the arithmetic.
The same dimensions and frame count always print the same layout, because this is multiplication and division with no draw. Nothing is uploaded and no frame is stored.
Computes the combined sheet size and each frame's destination cell for a fixed frame size and column count.
It is layout arithmetic only: the page reads no images and writes no file.
How to use it
Enter the frame size, how many frames there are and how many columns to use, then press Run. The first line gives the sheet size; each frame follows with its destination x and y.
Choosing more columns makes a wider, shorter sheet; the row count is derived with ceil, so eight frames in three columns need three rows and the last row holds two.
What to Expect
Best for
- planning a sprite merge
- checking atlas dimensions
- writing a merge script
What this tool keeps
- the exact sheet size
- a destination cell per frame
- the derived row count
Frequently asked questions
How do I use the sprite sheet merger?
Enter the frame width and height, the frame count and the column count, then press Run. The first line is the sheet size and every frame follows with its destination cell.
Is anything uploaded or stored when I press Run?
No. The draw happens in this tab with JavaScript: no request leaves the page, nothing is stored and a reload clears the form.
What are the limits and bounds?
Frame sides must be 1 to 2048 pixels, the frame count 1 to 256 and the column count 1 to 32; a value outside those ranges is refused rather than clamped.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.