Free sprite sheet maker: pack PNG frames, a folder, or a GIF
Combine separate images into one sprite sheet PNG with JSON frame data. Drop PNG, WebP, or JPEG frames, a whole folder, or a GIF, put them in order, set the columns and spacing, and download. The sprite sheet generator runs in your browser, so nothing is uploaded and no account is needed.
- Runs in your browser
- Nothing is uploaded
- No account needed
Drop your frames to make a sprite sheet
Several PNG, WebP, or JPEG images, a whole folder, or a GIF, processed on this device
Your file stays on this device.
How to make a sprite sheet from images
- 1
Add your frames
Drop PNG, WebP, or JPEG images, a whole folder, or one GIF, or try the sample walk cycle. Files are sorted by name, so frame_2 comes before frame_10.
- 2
Put them in order
Drag a frame to move it, sort by name, reverse the order, or remove single frames. The preview plays the frames in the order of the sheet.
- 3
Set the grid
Choose the columns and the spacing between cells. Trim empty space, pick how frames line up, scale pixel art 2× to 4×, or round the sheet up to power-of-two sizes.
- 4
Download
Save the sprite sheet PNG, the JSON with every frame's rectangle and duration, or an animated GIF of the same frames.
How the sprite sheet generator packs your frames
- Frames fill an even grid row by row, left to right and then top to bottom. Every cell is the same size, so any engine can slice the sheet by cell size or by columns and rows.
- Frames of different sizes share the size of the largest one. Smaller frames are placed by the alignment you choose and are never stretched.
- Trim crops each frame to its visible pixels first, which removes empty margins and makes every cell smaller.
- Transparent pixels stay transparent. Frames are never rotated, and the sheet is a PNG, a lossless format.
- Scaling copies each pixel into a 2×, 3×, or 4× block, so pixel art keeps its hard edges.
- The speed you set drives the preview, the frame durations in the JSON, and the GIF.
Sprite sheet layout options
Every option redraws the sheet as you change it. The line under the sheet shows the frame count, the grid, the frame size, the sheet size, and the PNG's file size.
| Option | What it does | Values |
|---|---|---|
| Columns | How many frames sit in one row. Rows are added as needed, and the last row may be partly empty. | 1 to the number of frames; starts near a square grid |
| Spacing | Empty pixels between neighbouring cells, often called padding. They keep colours from bleeding between frames when the sheet is scaled or filtered. None is added at the outer edge. | 0 to 64 px |
| Trim empty space | Crops each frame to the pixels that are at least half opaque, then lines the frames up again in cells the size of the largest one. | Off by default |
| Align frames | Where a smaller frame sits inside its cell. Bottom centre keeps a character's feet on one line. | Bottom centre, centre, or top left; shown when sizes differ or trim is on |
| Scale | Enlarges every frame by a whole multiple with hard pixel edges. | 1× (original), 2×, 3×, or 4× |
| Power-of-two sizes | Rounds the sheet's width and height up to the next power of two, such as 512 or 1024. The added area stays empty at the right and bottom. | Off by default |
| Speed | The frame rate of the preview, of the durations in the JSON, and of the GIF. | 1 to 60 fps; 12 by default, or the GIF's own rate |
A sheet can be up to 16,384 px on each side. If yours would be larger, change the number of columns, lower the scale, or use fewer frames.
Sprite sheet or PNG sequence? See the measured comparisonWhat you download: PNG, JSON, and GIF
File names come from your first frame's name with its number removed, so walk_01.png gives walk-spritesheet.png.
Sprite sheet PNG
All frames in one image, such as walk-spritesheet.png, with transparency kept.
JSON frame data
walk-spritesheet.json in the Aseprite hash layout: every frame's x, y, width, and height, its duration in milliseconds, the sheet size, and one tag for the whole sequence.
Animated GIF
walk.gif, the same frames at the speed you set, looping, for a quick check or a post.
{
"frames": {
"frame_0000.png": {
"frame": {
"x": 0,
"y": 0,
"w": 64,
"h": 64
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 64,
"h": 64
},
"sourceSize": {
"w": 64,
"h": 64
},
"duration": 100
},
"frame_0001.png": {
"frame": {
"x": 64,
"y": 0,
"w": 64,
"h": 64
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 64,
"h": 64
},
"sourceSize": {
"w": 64,
"h": 64
},
"duration": 100
}
},
"meta": {
"app": "AnimGen",
"version": "1.0",
"image": "walk-spritesheet.png",
"format": "RGBA8888",
"size": {
"w": 128,
"h": 64
},
"scale": "1",
"frameTags": [
{
"name": "walk",
"from": 0,
"to": 1,
"direction": "forward"
}
],
"slices": [],
"animgen": {
"frameCount": 2,
"frameWidth": 64,
"frameHeight": 64,
"frameDurationMs": 100,
"durationMs": 200,
"fps": 10,
"loop": true,
"pivot": {
"x": 0.5,
"y": 0,
"origin": "bottom_left"
}
}
}
}Slice the sprite sheet in your game engine
Every cell is the same size, so an engine needs only two numbers: the frame size, or the columns and rows. Both are shown under the finished sheet.
Unity
Set the texture's Sprite Mode to Multiple and open the Sprite Editor. In the Slice menu, choose Grid By Cell Size with the frame size, or Grid By Cell Count with the columns and rows.
Godot 4
On an AnimatedSprite2D, create a SpriteFrames resource and choose Add frames from a Sprite Sheet, then enter the horizontal and vertical counts. A Sprite2D takes the same counts as Hframes and Vframes.
GameMaker
Make one row with no spacing: set Columns to the number of frames and leave power-of-two off. Rename the PNG so it ends in _stripN, where N is the frame count, such as walk_strip8.png, and GameMaker splits it on import.
Phaser 3
Load the PNG with this.load.spritesheet and pass frameWidth and frameHeight. If you added spacing, pass the same value as spacing.
Construct 3
In the Animations Editor, choose Import frames, then From sheet, and set how the image is sliced.
Other engines
Slice by the frame size, reading left to right and then top to bottom. If you added spacing, enter the same number of pixels as the gap between cells.
Sprite sheet maker questions
Can I make a sprite sheet from my own PNG frames for free?
Yes. Drop the frames, a folder of them, or a GIF into the sprite sheet maker at the top of this page. It runs in your browser, so nothing is uploaded and no account is needed. Reorder the frames, trim and align them, set the columns and spacing, then download the sprite sheet PNG, Aseprite-format JSON, or an animated GIF.
How do I combine several images into one sprite sheet?
Drop all the images at once, or drop the folder that holds them. They are sorted by file name and packed into a grid with one image per cell. Set the columns to choose the shape: as many columns as frames gives a single strip, and fewer columns give a squarer sheet.
In what order are the frames packed?
By file name when you add them, with numbers counted the natural way, so frame_2 comes before frame_10. Drag a frame to move it, or use Sort by name and Reverse. The sheet is filled left to right and then top to bottom, and the JSON lists the frames in the same order.
What if my frames are different sizes?
Every cell takes the size of the largest frame, and nothing is stretched. Align frames sets where a smaller frame sits: bottom centre keeps a character's feet on one line, centre suits effects, and top left keeps each frame's own corner.
Is this a sprite sheet packer or a texture packer?
It is a grid packer: every frame gets a cell of the same size, in order, which is what animation sheets need. A texture packer fits sprites of different sizes together as tightly as it can and may rotate them, so the engine needs a data file to find each one. This tool does not do that.
Should I trim the frames?
Trim removes the empty space around each frame, which makes the cells and the sheet smaller. Each frame is trimmed on its own and then lined up again, so movement inside the original canvas, such as the height of a jump, is lost. Leave trim off when all frames share one canvas and the position matters.
Can I turn a GIF into a sprite sheet here?
Yes. Drop the GIF and every frame becomes a cell, in playback order, and the speed is taken from the GIF. To choose a range of frames or keep each frame's own timing, use the GIF to sprite sheet converter in the free tools.
How many frames can one sprite sheet hold?
Up to 512 frames, within about 96 million pixels in total, which is 366 frames at 512 × 512. The sheet can be at most 16,384 pixels on each side. Engines and graphics hardware often accept less, so check your target's maximum texture size.
Which engines can read the JSON?
The JSON follows the Aseprite hash format that Phaser, PixiJS, and many engine importers read, and it is the same layout AnimGen's own exports use. Engines that slice by grid, such as Unity and Godot, need only the PNG and the frame size.
Is this an AI sprite sheet generator?
The tool at the top of this page does not use AI: it arranges frames you already have. If you have a character but no animation yet, AnimGen can generate the motion from one image and export it as a sprite sheet with the same JSON. That part runs in the AnimGen studio and needs an account.
More free tools
All free toolsNo frames yet? Generate the animation with AI
Upload one character image and describe a walk, a run, or an attack. AnimGen generates the motion, you choose the frames, and the export is a sprite sheet with the same JSON, PNG frames, or a pack for Unity, Godot 4, Unreal Paper2D, Cocos Creator, or Construct 3.
Animate a character with AI90 welcome credits after verification
