Free · runs locally · no account

AI Sprite Sheet Fixer

AI models rarely produce a clean grid. Load the sheet, let the tool find each sprite, merge detached parts, drop duplicate frames, and rebuild the animation with uniform cells.

PNG with transparency, or a flat-background JPG/PNG. Max 200 frames.
Joins detached parts such as a weapon or a shadow into one frame.

Useful for AI sheets that repeat an identical pose. Leave off for intentional holds.

Load a sheet to start.

Preview

Detected regions will appear here.

After rebuilding, use the SpriteFrames generator to turn the PNG + JSON into a Godot 4 .tres.

How it works

  1. Load the sheet. A transparent PNG is easiest; a flat background also works.
  2. Detect. Auto mode samples the corners, masks the background, finds connected regions, and merges nearby fragments. Grid mode uses the columns and rows you provide.
  3. Check the boxes. The preview shows what will become a frame. If two parts of a character are split, raise the merge gap; if specks appear, raise the minimum area.
  4. Build. Each region is trimmed, centered in one uniform cell, and packed into a clean grid.
  5. Export PNG + JSON, then import into your engine.

Auto vs grid

ModeBest forWatch out for
Auto-detectUneven AI grids, transparent PNGs, flat backgroundsBusy scenes; detached parts need a merge gap
GridKnown columns/rows, consistent cellsWrong counts cut sprites in half
Not a matte tool. Auto-detect separates foreground from a flat color or alpha, not from a painted scene. If the background is complex, remove it first, then fix the grid here.

FAQ

Does this upload my sheet?

No. The image is decoded in the browser and processed on a canvas. Nothing is sent to a server.

What does Auto-detect do?

It samples the background color, builds a foreground mask, finds connected regions, merges nearby fragments, and turns each region into one frame. It works best on a flat or transparent background.

Why did it find too many or too few frames?

Increase the minimum area to ignore specks, increase the merge gap to join detached parts (a sword, a shadow), or switch to Grid mode and set the columns and rows yourself.

Can it remove duplicate frames?

Yes. Turn on “Drop near-duplicate frames” before building. It compares a small grayscale signature of each cropped frame and keeps the first of a near-identical pair.

Can it handle a busy background?

Not well. Auto-detect assumes a flat or transparent background. For a painted scene, remove the background with a matte tool first, then bring the transparent PNG here.