Drop numbered frames or one animated GIF and get a single sprite sheet, an atlas JSON that Phaser and PixiJS load, and a CSS animation snippet. Everything is built in this browser tab.
Frames or animated GIF
JSON Hash for Phaser & PixiJS
Nothing uploaded
Updated
Drop frames or a GIF
PNG frames are sorted by name (walk_2 before walk_10). An animated GIF is split into frames.
Processed in your browser. Nothing is uploaded.
0 frames
12
To use this sprite sheet maker, drop your numbered frames or one animated GIF, leave columns on automatic or set a count, add a little padding, and download sheet.png with sheet.json. The JSON is TexturePacker's "JSON Hash" layout, which Phaser and PixiJS load directly. A CSS snippet is included. Nothing is uploaded.
As a sprite sheet generator it suits game sprites, UI icons and CSS animations: making a sprite sheet from images where the texture atlas is a tidy grid of same-sized frames. It does not trim transparent edges, rotate frames or pack odd shapes tightly; a full packer such as TexturePacker does that. For the same grid maths inside your own build scripts, see the combine-images npm package.
How the sprite sheet maker lays out frames
Order comes from the file names, sorted naturally. Numbers are read as numbers, so walk_2.png comes before walk_10.png. A plain alphabetical sort, which is what many file pickers and shell globs give you, puts walk_10 right after walk_1 and makes the animation jump.
Columns. With Columns set to 0 the sheet maker uses ceil(√n) columns, the smallest count that makes a roughly square sheet. Type a number to override it, for example one row of 8 for a CSS strip, or one row per animation.
Automatic columns for common frame counts, and the sheet size with 64 × 64 frames
Frames
Columns (ceil √n)
Rows
Sheet, no padding
Power-of-two sheet
4
2
2
128 × 128
128 × 128
5
3
2
192 × 128
256 × 128
8
3
3
192 × 192
256 × 256
12
4
3
256 × 192
256 × 256
16
4
4
256 × 256
256 × 256
24
5
5
320 × 320
512 × 512
Arithmetic for 64 × 64 frames with zero padding and spacing. Padding and spacing add to these sizes.
Cell size. "Largest frame" makes every cell as big as the widest and tallest frame, so nothing is cut. "Fixed" takes a width and height you type. Either way, a smaller frame is centred in its cell. That keeps a character steady only if every frame was exported at the same canvas size, so export frames uncropped from your art tool.
Five frames on automatic columns. Cells share one size; padding and spacing are set separately.
GIF to sprite sheet: why frames need compositing
An animated GIF rarely stores every frame as a full picture. To save space, a frame can hold only the rectangle that changed, plus a disposal method that says what happens to that area before the next frame is drawn. Copy the stored rectangles one by one and you get fragments, not frames.
GIF disposal methods
Value
Name in the spec
What the next frame starts from
0
No disposal specified
The decoder is not required to do anything
1
Do not dispose
This frame left in place; the next one draws over it
2
Restore to background color
This frame's area cleared to the background
3
Restore to previous
This frame's area put back to how it was before it was drawn
The sprite sheet maker decodes the GIF in your browser. Where the browser has the WebCodecs ImageDecoder, it uses that, and the browser composites the frames itself. ImageDecoder is not available in every major browser — MDN lists it as limited availability (MDN, ImageDecoder, checked November 2026) — so elsewhere a built-in GIF decoder composites each patch and applies the disposal method. Both routes give one full frame per GIF frame.
A stored GIF frame is often a patch. Compositing turns it back into the frame you see.
Padding, spacing and texture bleeding
Texture bleeding is the thin line of a neighbouring frame that flickers along a sprite's edge. It happens because a GPU rarely reads exactly one texel: when the sprite is scaled, drawn at a fractional position or mipmapped, filtering blends nearby pixels, and at a cell border the nearby pixels belong to the next frame.
Empty pixels between frames fix it. TexturePacker's documentation recommends shape padding of at least 2 to avoid pulling in neighbour pixels under OpenGL rendering (CodeAndWeb, TexturePacker texture settings, checked November 2026). In this sprite sheet maker, padding is an empty margin inside each cell and spacing is a gap between cells; both are in pixels. Two pixels of either is a sensible start for a scaled or mipmapped game texture. Pixel art drawn at whole-number scales with nearest-neighbour filtering can use zero.
One honest limit: the tool does not extrude, which repeats a sprite's edge pixels outward. Extrusion helps tiles that must meet seamlessly in a tile map; padding alone leaves a transparent fringe. For seamless tiles, use a packer that extrudes.
A filtered sample at a frame edge reads its neighbours. Padding makes those neighbours transparent.
Power-of-two sheets: WebGL 1 versus WebGL 2
The sprite sheet maker's Power-of-two sheet option rounds the sheet's width and height up separately to 128, 256, 512, 1024 and so on, leaving the extra area empty. Whether you need it depends on the renderer.
A sprite sheet is almost never repeated as a tiling pattern, so the case that matters is mipmapping: if your engine generates mipmaps for the atlas and may run on WebGL 1, tick the option. On WebGL 2, Canvas 2D and CSS it only adds empty pixels to download. Note that power-of-two rounding can make the sheet much larger: 24 frames of 64 px go from 320 × 320 to 512 × 512, about 2.6 times the area.
Power-of-two rounding pads the sheet; the frame coordinates do not change.
sheet.json for Phaser and PixiJS, and the CSS snippet
sheet.json follows TexturePacker's "JSON Hash" layout: a frames object with one entry per frame, each with frame (x, y, w, h in the sheet), rotated, trimmed, spriteSourceSize and sourceSize, plus a meta block with the sheet size, the image file name and the scale. Frames are never rotated or trimmed here, so those flags are always false, and sourceSize is the cell size.
Loading the sheet
Target
How to load it
Notes
Phaser 3 and 4
this.load.atlas(key, 'sheet.png', 'sheet.json')
The loader accepts JSON Hash or JSON Array
PixiJS v8
await Assets.load('sheet.json')
The JSON's meta.image points to sheet.png; keep both files together
CSS
Paste the snippet
One class per frame; a steps() animation for single-row sheets
The CSS snippet has a .sprite base rule that sets the sheet as a background, and one .sprite.fN rule per frame with its background-position, so class="sprite f3" shows frame 3. When the sheet is a single row with zero spacing, it also adds a .sprite.play rule that animates with steps(N), a timing function that jumps between positions instead of sliding; it has worked in all major browsers since July 2015 (MDN, steps(), checked November 2026). For that rule, set Columns to the frame count and spacing to 0. Keep the element exactly one cell in size, or neighbouring frames show at the edges.
Common sprite sheet mistakes, and the command-line alternative
Most broken sheets fail in one of a few ways, whichever spritesheet generator made them. Check these before you ship output from the sprite sheet maker:
Frames in the wrong order. Name them with numbers (or zero-padded numbers) and let the natural sort work; watch one loop in the preview.
Frames cropped to their content. Each frame cropped tight sits at a different place once centred in its cell, and the sprite jitters. Export every frame at the same canvas size.
No padding on a scaled sprite. Use 2 px or more if the sprite is scaled, rotated or mipmapped.
A GIF split without compositing. Other tools that copy raw GIF frames give fragments; check frame 2 onwards.
A JPEG or coloured background by accident. Keep the background transparent unless the target cannot handle alpha.
Sheet larger than the GPU allows. Very long rows can exceed a device's maximum texture size; a squarer grid keeps both sides smaller.
The DIY route. ImageMagick can do the image part from a terminal: magick montage frames/*.png -tile 4x -geometry +0+0 -background none sheet.png builds a four-column sheet with no gaps, and -coalesce turns a GIF's patches into full frames first (ImageMagick usage, montage, checked November 2026). It is scriptable, but it writes no atlas JSON, and the shell sorts walk_10 before walk_2 unless you rename the files.
Sprite sheet maker — questions
Is the sprite sheet maker free?
Yes. There is no signup, no watermark and no daily limit, and the sheet, the JSON and the CSS are all generated in your browser.
Are my frames uploaded?
No. Frames and GIFs are decoded and drawn into the sheet inside this browser tab. Anonymous interface events are counted for analytics, but images and file names never leave the device.
Can I turn a GIF into a sprite sheet?
Yes. Drop one animated GIF and it is split into full frames, with each frame composited according to its disposal method, then laid out like any other set of frames.
Does the JSON work in Phaser and PixiJS?
Yes. sheet.json uses the TexturePacker JSON Hash layout. Phaser's atlas loader accepts JSON Hash, and PixiJS v8 loads it with Assets.load as a spritesheet. Keep sheet.png next to sheet.json.
How many columns should a sprite sheet have?
For an engine atlas, a roughly square grid is best, which is what 0 (automatic) gives: ceil(√n) columns. For a simple CSS animation, a single row is easiest to animate.
What padding should I use?
Two pixels is a common starting point for sprites that are scaled or mipmapped, matching TexturePacker's advice. Pixel art shown at whole-number scales with nearest-neighbour filtering can use zero.
Do I need a power-of-two sprite sheet?
Only for WebGL 1 when the texture uses mipmaps or repeat wrapping. WebGL 2, Canvas 2D and CSS work with any size, so leave the option off there.