Image

Runs in your browser. No file uploads for processing.

Split a Sprite Sheet into Individual PNGs

Split a PNG sprite sheet into separate transparent PNGs. Set grid dimensions, margins and gaps, then download the tiles and a coordinate manifest as a ZIP.

Loading tool...

Making Roblox UI? Try the original six-icon example. Calculate Luau rectangles for keeping one atlas.

Only need to remove empty PNG margins? Trim transparent PNG edges in a batch.

Need a common canvas for differently sized PNGs? Add transparent padding without scaling.

How to split a PNG sprite sheet

  1. Open a static PNG file

    Choose a local PNG or load the demo. The file is decoded in your browser.

  2. Set the grid

    Specify the number of columns and rows or the exact tile width and height. Set horizontal and vertical margins and gaps, or open sprite-sheet.json exported by PNG Sprite Sheet Maker. Check the overlay before exporting.

  3. Download separate PNGs

    Export a ZIP with row/column names. Optionally skip fully transparent tiles or trim transparent edges. The JSON manifest records original rectangles and trim offsets so you can put the sprites back in place.

Use cases

  • Break a pixel-art tileset into numbered PNGs without manually cropping each sprite.
  • Prepare individual icons from an evenly spaced game sprite atlas while keeping transparent padding or recording its trim offset.

Limits and privacy

  • For regular rectangular grids, not irregularly packed atlases, rotated sprites or animated PNGs.
  • Up to one 10 MiB PNG, 16 million source pixels, 8,192 pixels on either side and 512 tiles. The PNG file is not uploaded.
  • PNG alpha is preserved. Browsers may normalize color profiles or RGB values in transparent pixels.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

How do I split a sprite sheet with transparent tiles and margins?

Enter each axis’s outside margin and gap and choose tile size or counts. Check the grid overlay, then export numbered transparent PNGs and their pixel coordinates in a ZIP without uploading the sheet.

Can I reuse a PNG Sprite Sheet Maker grid?

Yes. Open its exported sprite-sheet.json in the optional grid field and open the matching PNG. This checks matching dimensions and consistent cell coordinates, not whether two equal-size PNGs contain the same image.

How do I split the example sheet?

The example is 70 × 45 pixels. Set 3 columns, 2 rows, a 5-pixel margin on each edge and 3-pixel gaps in both directions. The overlay shows six 18 × 16 sprites: 5 + 18 + 3 + 18 + 3 + 18 + 5 = 70 pixels across.

What is the difference between a margin and a gap?

A margin is padding on the outside of the grid. A gap is space between neighboring sprites. The horizontal margin applies on both left and right; the vertical margin applies on both top and bottom.

Can I preserve transparency or trim empty borders?

Yes. PNG alpha remains transparent. The optional trim removes fully transparent edges and records the pixel shift from the original tile. Fully empty tiles keep their size unless you choose to skip them.

Does this work with an irregular or rotated atlas?

No. Each tile must follow the same rectangular grid. Use a packed atlas’s own data file if it stores rotated sprites or varying rectangles.

Are my sprite images uploaded?

No. The PNG is opened, sliced and zipped in your browser. The resulting archive contains image tiles and a JSON manifest of their coordinates.

Related tools