# Sprite Sheet Slicer

> Cut a sprite sheet into frames by columns and rows or cell size, with margin and spacing. Get a zip of numbered PNGs and a hash atlas JSON, all in your browser.

- URL: https://tyrbo.ai/sprite-sheet-slicer
- Title: Sprite Sheet Slicer: Cut a Sheet Into PNG Frames
- Language: English (en)
- Updated: 2026-11-26

Drop a sprite sheet on the page, tell the slicer how the grid is laid out, and it outlines every cell so you can check the cut before you save. One button gives a zip of numbered PNG frames together with an atlas JSON; another gives the atlas on its own, for engines that read the whole sheet plus a map of where each frame sits.

The sheet never leaves your computer. The cutting happens in the browser, it is free and there is nothing to sign up for.

Runs in your browser: nothing is uploaded.

## How to use it

1. **Add the sheet.** Pick or drop a PNG, WebP, GIF or JPEG sprite sheet; the preview shows it with the grid drawn over it.
2. **Describe the grid.** Cut by columns and rows when you know how many frames sit across and down, or by cell size when you know each frame's width and height in pixels.
3. **Allow for margin and spacing.** Margin is the empty border around the whole grid and spacing is the gap between cells; set both so the outlines sit on the art.
4. **Name the frames.** The frame name becomes the start of every file, so walk gives walk-01.png, walk-02.png and so on, padded so they sort in order.
5. **Save.** Download the frames as a zip with the atlas inside, or download the atlas JSON alone.

## Frames or a sheet plus an atlas

Separate PNGs are the simplest thing to hand around: any engine or editor opens them and you can reorder or delete one without touching the rest. A single sheet with an atlas is lighter at run time, since the game loads one texture and draws parts of it, which matters on phones.

The atlas this tool writes uses the common hash layout: an object called frames, keyed by file name, where each entry has a frame box with x, y, w and h, plus rotated, trimmed and sourceSize, and a meta block with the image name and the sheet size. Many packers and importers read that layout, so the slicer works as a quick way to give an old sheet a map.

## Getting sliced frames into an engine

Engines handle sheets in a few common ways:

- **Godot** can build an animation from a grid in the SpriteFrames editor, or you can make an AtlasTexture per region; the loose PNGs also drop straight into a SpriteFrames resource.
- **Unity** slices a single texture in the Sprite Editor by grid or cell size, which mirrors the settings here; importing the loose frames instead gives one sprite asset per file.
- **Phaser** and other web frameworks load an image plus a JSON hash atlas and look frames up by name.

Whatever the engine, check pivot points after import. A grid cut keeps every frame the same size, so characters stay anchored where the artist drew them.

## When the grid does not line up

If the outlines drift further off the art the further they go, the cell size or spacing is off by a pixel or two. Count the pixels of the first frame, set the margin to the distance from the sheet edge to that frame, and try cell size mode.

Sheets packed tightly with frames of different sizes do not sit on a grid at all; they need their original atlas. For new sheets, the [AI sprite sheet generator](https://tyrbo.ai/ai-sprite-sheet-generator) draws frames on an even grid from the start. To play the cut frames as a loop, use [sprite sheet to GIF](https://tyrbo.ai/sprite-sheet-to-gif).

## Questions people ask

### What happens to cells that run past the edge of the sheet?

They are dropped. Only cells that fit wholly inside the image become frames, so a half cell at the edge never turns into a broken frame.

### Is there a limit on frames?

The slicer stops at 4096 frames, which keeps a one pixel cell size from locking up the tab.

### Does it trim empty space around each frame?

No. Every frame keeps the full cell size, and the atlas marks frames as untrimmed. That keeps animation frames aligned with one another.

### Is my sheet uploaded?

No. The image is read and cut inside your browser and the files are built there too.

## More free tools for game files

- [XP Curve Calculator](https://tyrbo.ai/xp-curve-calculator)
- [Loot Table Calculator](https://tyrbo.ai/loot-table-calculator)
- [GIF to Sprite Sheet](https://tyrbo.ai/gif-to-sprite-sheet)
- [Sprite Sheet to GIF](https://tyrbo.ai/sprite-sheet-to-gif)
- [Color Palette From Image](https://tyrbo.ai/color-palette-from-image)
- [Google Play Feature Graphic Maker](https://tyrbo.ai/google-play-feature-graphic-maker)
- [App Icon Generator](https://tyrbo.ai/app-icon-generator)

## Make the rest of the game

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Free game assets](https://tyrbo.ai/free-game-assets)
- [Game templates](https://tyrbo.ai/templates)
- [Game planner](https://tyrbo.ai/game-planner)

## Free game assets

- [Free sprites](https://tyrbo.ai/free-sprites-for-games)

## Have the game too? Describe it.

[Make your game](https://tyrbo.ai/#prompt)

---

This is the Markdown version of https://tyrbo.ai/sprite-sheet-slicer, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt