How to Split a Sprite Sheet into Individual Frames

You’ve downloaded an asset pack, and every animation is a single sprite sheet. That’s perfect for some engines, but sometimes you need the frames as separate files: to edit one pose, to rebuild an animation in another tool, to make a GIF, or to repack the sprites into a different layout.

This guide shows you how to split a sprite sheet into individual frames with a free sprite sheet cutter that runs in your browser. I’ll explain every setting, including offset and spacing, which trip up most people, and how to fix the usual problems.

Before You Start: Check the Sheet

  • Is it a grid? If every sprite sits in an equal cell, splitting is straightforward. If sprites are packed at different sizes (a texture atlas), look for an accompanying JSON or XML file, or rely on gap detection.
  • Does it have transparency? PNG sheets usually do. JPG sheets have a solid background, which you’d need to remove separately.
  • Are there labels or borders? Some sheets have a title area or a frame around them; you’ll skip those with the offset setting.

How to Split a Sprite Sheet into Individual Frames

  1. Upload the sheet. PNG, WEBP, JPG or GIF up to 25 MB.
  2. Click Auto-detect cells. The tool looks for transparent or empty gaps between sprites and reports what it found, for example “Detected 8 × 4 cells of 64 × 64 px”.
  3. Check the preview. Dashed lines show where each cell will be cut. If they line up with the sprites, you’re done.
  4. Adjust manually if needed. Switch “Define cells by” to Rows × columns or Cell size and enter the values. Add an offset or spacing if the grid is shifted (see below).
  5. Skip empty cells. Leave this on so blank slots at the end of a row don’t become empty PNGs.
  6. Select and export. Click sprites to include or exclude them, then download PNGs individually or in one ZIP.

Understanding Offset and Spacing

SettingWhat it meansTypical value
Offset left / topPixels before the first cell starts0, or the width of a border
Horizontal spacingGap between cells left to right0, 1 or 2 px
Vertical spacingGap between rows0, 1 or 2 px

Here’s a quick way to check your numbers. Suppose the sheet is 135 pixels wide, with 4 columns of 32-pixel sprites, a 1-pixel gap between them and a 2-pixel border on each side: 2 + (4 × 32) + (3 × 1) + 2 = 135. The sum matches the width, so set offset left to 2 and horizontal spacing to 1. If your sum doesn’t match the sheet width, one of the guesses is off; adjust it and watch the dashed lines in the preview until they sit exactly between sprites.

Rows × Columns or Cell Size?

Use Rows × columns when you know how many frames there are, for example an 8-frame walk cycle in one row. Use Cell size when you know the sprite dimensions, such as 48 × 48, which is common in asset pack descriptions. Both produce the same result on a clean grid.

Troubleshooting Auto-Detect

  • “No gaps between sprites were found”: the sprites touch each other. Enter the rows and columns or the cell size manually.
  • “Detected … with irregular spacing”: check the preview carefully; packed sheets may need manual cells or the original atlas data.
  • “The sheet is too large for automatic detection”: very big sheets are slow to analyse in the browser. Set the grid manually.
  • “The cell size is larger than the image”: reduce the cell size or offset.
  • Sprites are cut off at the edges: increase the cell size or reduce the spacing.

After Splitting: What Next?

  • Import the frames into your engine as a sequence.
  • Edit individual poses, then repack the sheet.
  • Turn the frames into a GIF for a preview or a devlog post.
  • Organize sprites into folders per animation.

If you have several sheets that use the same grid, for example a whole character pack, splitting them together saves time. The batch image splitter applies one grid to up to 20 images at once; how to split multiple images at once explains the workflow.

Naming Your Frames

Exported frames are numbered in reading order: left to right, then top to bottom. That’s what most engines expect when you import a sequence. If your sheet has one animation per row, rename or sort the files into folders by row after exporting, for example “walk”, “run” and “jump”, so each animation can be imported on its own.

Keep the original sheet too. If you later edit a few frames and want to rebuild the sheet, you’ll need to know its exact cell size, offset and spacing, and the easiest way to remember them is to keep the source file alongside a short note of the settings you used.

A final check before you close the tool: open two or three of the exported frames and look at their edges. If you see a sliver of the neighbouring sprite, the spacing or offset is off by a pixel. Adjust it, export again, and you’ll have perfectly clean frames.

Frequently Asked Questions

How do I split a sprite sheet into frames?

Upload it to a sprite sheet splitter, auto-detect the cells or enter the grid, adjust offset and spacing if needed, and export each cell as a PNG.

Will the frames keep their transparency?

Yes. Frames are exported as PNG with the original transparency.

What if my sprites have no gap between them?

Auto-detection needs gaps. Enter the rows and columns or the cell size manually instead.

Can I export only some sprites?

Yes. Click sprites in the preview to select or deselect them before downloading.

Does splitting change pixel art?

No. Cells are cut on exact pixel boundaries, so pixel art stays crisp.

Get Your Frames Back in Seconds

Splitting a sprite sheet is quick once the grid lines up: auto-detect, check the preview, adjust offset and spacing, export. The free sprite sheet splitter gives you transparent PNG frames without installing anything.

Keep Reading

Leave a Comment