Sprite Sheet Maker & SplitterCombine frames into a sheet or slice a sheet into frames, with JSON export and animation preview

Pack animation frames into one sprite sheet and get the frame coordinates as JSON, or cut an existing sheet back into separate images.

Your input is never sent anywhere.

Details

Pack PNG Frames Into a Sprite Sheet, or Slice One Apart

Use Combine frames to arrange a set of images in a grid on one canvas and download the result as a PNG together with a JSON file that lists where each frame sits. Use Split sheet to cut a single sheet image into separate frame images, by frame size or by number of columns and rows.

You control spacing between frames, the outer margin, cell size, column count, transparent-edge trimming, and power-of-two rounding. In Split mode, dashed lines over the sheet show where each cut will fall. In both modes you can play the frames back as an animation before you export.

The output works with 2D engines and libraries such as Phaser, Pixi.js, Unity and Godot. Everything runs in your browser, so nothing you load leaves your device.

Common Uses: Game Animations, Asset Packs, Texture Atlases

Pack a walk or attack cycle into one image

Add your numbered frames, reorder them if needed, and export one PNG plus a JSON file with each frame's x, y, width and height.

Take apart a sheet you downloaded or bought

Load an asset-pack sheet, enter the frame size (or the number of columns and rows), and download every frame as its own PNG in a ZIP.

Check animation timing before it goes in the engine

Play the frames at 1 to 30 FPS in loop, play-once or ping-pong mode to spot a jump in the motion or a missing frame.

Prepare an atlas for Phaser or Pixi.js

Choose the atlas JSON format in Combine mode and load the PNG and JSON together with the engine's atlas or spritesheet loader.

Teach or learn how sprite sheet coordinates work

Change spacing, margin and columns and watch the sheet size and the JSON values change. Handy for game jams, classes and practice projects.

How to Pack PNG Frames or Slice an Image Into Frames

  1. Pick Combine frames to build a sheet, or Split sheet to cut one apart.
  2. In Combine mode, drop in your frame images and put them in order. In Split mode, drop in the sheet image.
  3. Set cell size, columns, spacing and margin (Combine), or frame size or columns and rows, margin and spacing (Split). Check the preview.
  4. Play the animation preview, then download the sheet PNG and JSON (Combine) or the frames ZIP and JSON (Split).

Note: In Split mode the dashed lines show the exact cut positions, so you can adjust the numbers until they line up with the frame edges.

Limits and Things to Check

  • Frames are never scaled. If a fixed cell size is smaller than a frame, that frame will overlap its neighbors on the sheet.
  • With Auto cell size, every cell is as large as the largest frame (after trimming, if trimming is on). Smaller frames sit in the top-left corner of their cell.
  • Very large images or hundreds of frames can make the preview slow, since everything is drawn in your browser.
  • In Split mode, "Skip empty frames" only skips frames where every pixel is fully transparent. A frame with a solid background is never treated as empty.
  • With "Skip empty frames" on, the ZIP and JSON number the remaining frames from frame_001.png without gaps.
  • Your images are processed in your browser and are not uploaded to our servers.

Common Pixel Art Frame Sizes

Frame sizes that show up often in 2D games, and what they are usually used for.

Frame size (px)Typical useNotes
16×16Retro-style characters, items and tilesVery little room for detail
32×32Platformer and RPG charactersA common default for pixel art
48×48Larger characters and bossesMore room for faces and gear
64×64Top-down characters, detailed spritesSheets grow quickly with many frames
128×128 and upHigh-resolution, illustrated animationLarge files; check your target platform's limits

Sheet size adds up quickly. The preview shows an estimate of the uncompressed RGBA size (width × height × 4 bytes). For example, a 1024×1024 sheet is about 4 MB and a 2048×2048 sheet is about 16 MB in memory, before any texture compression.

These sizes are common conventions, not requirements. Use whatever your art style needs.

Texture Atlas Basics for 2D Game Developers

How sprite sheets, atlas JSON, spacing and trimming fit together.

A sheet is an image plus a map of rectangles

A sprite sheet is only useful together with a description of where each frame is. That map is a list of x, y, width and height values, one rectangle per frame. If your frames sit on an even grid, the engine can compute the rectangles from the frame size alone. If frames are trimmed or differ in size, you need the JSON.

Simple JSON vs. atlas JSON

The simple format is easy to read and to convert with your own script. The atlas format follows the JSON array layout used by TexturePacker, which Phaser (load.atlas) and Pixi.js can load directly. In the atlas file, frame is the rectangle on the sheet, spriteSourceSize is where the trimmed pixels belong inside the original frame, and sourceSize is the original frame size.

Why add spacing between frames

When a sprite is drawn scaled, rotated or at a fractional position with smooth (linear) filtering, the GPU can sample pixels just outside the frame. If frames touch, the color of the neighbor bleeds into the edge. A gap of a few transparent pixels (this tool defaults to 2) keeps those samples from picking up a neighbor's color. Pixel art drawn at whole-number scales with nearest-neighbor filtering is much less prone to it.

Loading a sheet in common engines

In Phaser 3, a plain grid sheet loads with frameWidth, frameHeight, margin and spacing, which are the same ideas as the Split mode fields. Pixi.js reads atlas JSON into a spritesheet with named frames. Unity lets you slice a sheet in the Sprite Editor by cell size. Godot can build animation frames from a grid in its SpriteFrames editor. Menu names vary between versions, so check your engine's documentation.

Common Problems: Bleeding Edges, Wrong Frame Order, Misaligned Slices

Colors from a neighboring frame show at the edges in the game

You packed frames with no gap, and when the sprite is scaled or moved by fractions of a pixel, a thin line of the next frame's color appears along one edge.

💡 See the solution▼
Set Spacing between frames to 2 or more before you export. If your engine lets you choose texture filtering, nearest-neighbor filtering also helps for pixel art. The tool's default spacing is 2 px.

Frames are in the wrong order after adding files in several batches

You added walk_1 to walk_8 first and then dropped in a few more files, and the new ones landed at the end of the list instead of in the middle.

💡 See the solution▼
Files are sorted by name only within the batch you add at once. Use the up and down arrows in the Frame order list to move frames, or remove all and add every file in one batch.

You saved the PNG but not the JSON

A week later the engine needs each frame's position, and you only have the image.

💡 See the solution▼
Use Download ZIP (PNG + JSON) to get both files together. If you only have the PNG, load it in Split mode and enter the grid values to get the coordinates again, as long as the layout is an even grid.

Slices include a strip of the next frame

You cut a downloaded sheet and each frame has an extra column or row of pixels from its neighbor.

💡 See the solution▼
Check the dashed lines over the sheet before you export. Adjust the outer margin and the spacing until each dashed box lines up with exactly one frame. In Columns and rows mode, the frame size is calculated from the sheet size, so wrong counts shift every cut.

Frames overlap on the exported sheet

You set a fixed cell size, and some frames are drawn on top of each other.

💡 See the solution▼
Frames are not scaled, so each cell must be at least as big as the biggest frame. Use Auto (largest frame), raise the fixed width and height, or turn on Trim transparent edges so the frames take up less space.

FAQ: Atlas JSON, Frame Order, Privacy

Q.What is a sprite sheet, and why combine frames into one image?

Q.

A. A sprite sheet is a single image that holds every frame of an animation, such as a walk cycle or an attack. The game then draws one rectangle of that image at a time instead of loading a separate file for each frame. Fewer files means fewer texture loads, and engines can batch draw calls more easily when sprites share a texture. Unity, Phaser, Pixi.js and Godot all work with sprite sheets.

Q.What does the exported JSON look like?

Q.

A. You can pick one of two layouts in Combine mode. "Simple" lists the sheet size, column and row counts, and for each frame its file name, x, y, width, height, original size and trim offset. "Phaser / Pixi.js atlas" uses the JSON array layout that TexturePacker calls "JSON (Array)": a frames list with filename, frame, spriteSourceSize and sourceSize, plus a meta block with the image name and sheet size. Phaser's atlas loader and Pixi.js spritesheet loader read that layout.

Q.How do I slice a sprite sheet that has margins or gaps between frames?

Q.

A. In Split mode, enter the outer margin (the border around the whole sheet) and the spacing (the gap between neighboring frames) separately, for horizontal and vertical. Dashed blue lines are drawn over the sheet to show exactly where each frame will be cut, so you can adjust the numbers until the lines sit on the frame edges.

Q.Can I use the settings with Phaser, Unity or Godot?

Q.

A. Yes, the numbers carry over. Phaser 3's spritesheet loader takes frameWidth, frameHeight, margin and spacing, which match the frame size, margin and spacing fields in Split mode. For sheets you build here, choose the atlas JSON and load it with Phaser's atlas loader or in Pixi.js. In Unity's Sprite Editor you can slice by cell size and enter the same frame size, and Godot's SpriteFrames editor can slice a sheet by grid. This tool does not write engine-specific files such as Unity .meta files.

Q.In what order are my frames placed on the sheet?

Q.

A. Files you add in one batch are sorted by name with numeric ordering, so frame2.png comes before frame10.png even without leading zeros. Each new batch is added after the frames already in the list and is not re-sorted with them. You can move any frame up or down, or remove it, before exporting. Frames are placed left to right, then top to bottom.

Q.What do "Trim transparent edges" and "Round sheet to power of two" do?

Q.

A. Trim finds the smallest box around the visible (non-transparent) pixels of each frame and packs only that box. The JSON records each frame's original size and the offset of the trimmed box so you can put it back in the right place. Power of two rounds the final sheet width and height up to 2, 4, 8 ... 256, 512, 1024 and so on by adding empty space. Frames are not scaled. Some engines and older graphics hardware work best with power-of-two textures; many current engines do not require it.

Q.How does the animation preview work?

Q.

A. It plays your frames in the current order at a speed from 1 to 30 FPS (8 by default). You can loop, play once, or ping-pong (forward, then backward). A slider lets you step to any frame. In Combine mode it plays the images you uploaded; in Split mode it plays the frames cut from the sheet, minus empty ones if that option is on.

Q.Are my images uploaded to a server?

Q.

A. No. Combining, slicing, coordinate math and previews all run in your browser with the Canvas API, and the files you choose are not sent to our servers. Unreleased game art stays on your device.

User Feedback & Request

Your feedback
makes this tool better.

Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.

Send feedback