How to Slice a Sprite Sheet for Unity (Editor vs Online Tool)

Unity can slice sprite sheets on its own, and for most projects that’s exactly what you should use. But there are times when splitting the sheet before it ever reaches Unity is easier: when you only need a few sprites, when the sheet is messy, or when you want the frames as separate files for other tools too.

In this guide I’ll walk through slicing a sprite sheet in Unity’s Sprite Editor step by step, then show when it makes sense to split a sprite sheet online first instead. I’ll also cover the import settings that keep pixel art sharp.

Method 1: Slice the Sprite Sheet in Unity

Step 1: Set the import settings

  1. Drag the sprite sheet PNG into your Project window.
  2. Select it and, in the Inspector, set Texture Type to Sprite (2D and UI).
  3. Set Sprite Mode to Multiple.
  4. Set Pixels Per Unit to your sprite size if you want one sprite to equal one world unit (for example 32 for 32 × 32 sprites).
  5. For pixel art, set Filter Mode to Point (no filter) and Compression to None.
  6. Click Apply.

Step 2: Open the Sprite Editor

Click Sprite Editor in the Inspector. If Unity says the editor isn’t installed, add the 2D Sprite package from the Package Manager.

Step 3: Choose a slicing type

Slice typeHow it worksUse it when
AutomaticFinds sprites by looking at transparent gapsSprites have clear gaps and different sizes
Grid By Cell SizeYou enter the pixel size of each cellYou know the sprite size, e.g. 64 × 64
Grid By Cell CountYou enter the number of columns and rowsYou know how many frames there are

Step 4: Set offset, padding and pivot

For grid slicing, Offset skips a border at the top-left, and Padding handles gaps between cells. Set the Pivot to where the sprite should anchor; Bottom Center is common for characters standing on the ground.

Step 5: Slice and apply

Click Slice, check the boxes around each sprite, then click Apply. Your sheet now expands into individual sprites in the Project window.

Step 6: Make an animation

Select the frames of one animation (for example walk_0 to walk_7) and drag them into the Scene. Unity creates an Animation Clip and an Animator for you. Adjust the clip’s sample rate to set the speed.

Method 2: Split the Sheet Online First

  1. Upload the sheet to the sprite sheet splitter.
  2. Click Auto-detect cells, or enter rows × columns or the cell size.
  3. Set offset and spacing to match the sheet.
  4. Deselect any sprites you don’t need, keep Skip empty cells on, and download the PNGs.
  5. Import the individual PNGs into Unity with Sprite Mode: Single.

Editor or Online Tool: Which Should You Use?

SituationBest choice
Clean grid sheet for one Unity projectUnity Sprite Editor
You only need 3 sprites from a 200-sprite packOnline splitter
Sharing frames with artists or other enginesOnline splitter
Large sheet that Automatic slicing gets wrongOnline splitter with manual grid, or Unity Grid By Cell Size
You want to keep one optimized texture in the buildUnity Sprite Editor

In short: slice in Unity when the sheet will live in your Unity project; split online when you need separate files. Using one sheet in Unity is generally better for performance, because Unity can batch sprites from the same texture.

Common Unity Slicing Problems

  • Blurry pixel art: Filter Mode is set to Bilinear. Change it to Point (no filter).
  • Thin lines at sprite edges (“bleeding”): add padding when packing, or disable compression.
  • Automatic slicing merges sprites: sprites touch each other. Use Grid By Cell Size instead.
  • Sprites jitter during animation: pivots are inconsistent. Set the same pivot for every frame.

If your source is an animated GIF rather than a sheet, turn the GIF into a sprite sheet first; the GIF splitter extracts clean PNG frames you can pack or import directly.

Pixels Per Unit, Explained Simply

Pixels Per Unit (PPU) tells Unity how many pixels of your sprite fit into one unit of game world space. If your tiles are 32 × 32 and you set PPU to 32, one tile is exactly one unit wide, which makes positioning, physics and tilemaps much simpler. If you leave the default of 100 with 32-pixel sprites, each sprite is only 0.32 units wide, and you’ll find yourself scaling everything.

Pick one PPU value for your whole project and use it for every sprite sheet. Mixing values is one of the most common reasons characters and tiles appear at slightly different sizes.

Naming Sliced Sprites

Unity names the slices after the texture with a number, such as hero_0, hero_1 and so on, in reading order. Rename them in the Sprite Editor if your sheet has several animations, for example hero_walk_0 to hero_walk_7. Clear names make building Animation Clips much faster later.

Frequently Asked Questions

How do I slice a sprite sheet in Unity?

Set Texture Type to Sprite (2D and UI) and Sprite Mode to Multiple, open the Sprite Editor, choose a slice type, click Slice and then Apply.

What is the difference between Grid By Cell Size and Grid By Cell Count?

Cell Size uses the pixel dimensions of each sprite; Cell Count uses the number of columns and rows.

Why is my pixel art blurry in Unity?

Set Filter Mode to Point (no filter) and Compression to None in the texture import settings.

Can I split a sprite sheet before importing it into Unity?

Yes. Split it online into individual PNGs and import them with Sprite Mode set to Single.

Where is the Sprite Editor in Unity?

Select the texture and click the Sprite Editor button in the Inspector. Install the 2D Sprite package if it is missing.

Pick the Right Tool for the Job

Unity’s Sprite Editor is the best home for sheets that belong to your project, while an online splitter is faster for picking a few sprites or sharing frames. When you need separate files, the free sprite sheet splitter exports clean transparent PNGs in seconds.

Keep Reading

Leave a Comment