Feature

PNG to Sprite Sheet

Combine PNG frames into one sprite sheet. Drop the files in, check the order, set the columns, export.

Multiple PNG files being combined into a single sprite sheet
Overview

From a folder of PNGs to one sheet

Select all your PNG frames and drop them on the canvas, or pick them from the file dialog. They land on a sprite sheet grid in the order the browser hands them over. Most of the work after that is checking three things: the frames are in the right order, they share a baseline, and the transparency came through clean.

What it does

Batch import

Drop dozens or hundreds of PNGs at once. JPG, WebP and other browser-readable images work too.

Frame order

Frames arrive in file order. Drag them between cells, or drop new files onto a specific cell.

Mixed sizes

Cells size themselves to the largest PNG, or you force a size and every frame is held to it.

Baseline alignment

Align the layer to bottom, middle or top so trimmed frames stop bobbing up and down.

Background and checkerboard

Keep it transparent, or bake in white, black, gray or a custom colour. The checkerboard shows what is really empty.

One file opens the splitter

Drop a single PNG and it is treated as an existing sheet to cut up. Choose Use as single sprite if it really is one frame.

In practice
01Chapter 01

Where a folder of PNGs comes from

Most art pipelines produce numbered PNGs at some point. Aseprite writes one file per frame when you ask it to, Blender renders an animation one file per frame, and plenty of itch.io asset packs ship as folders rather than sheets. An engine would rather load those as one texture.

Combining them by hand in a paint program means placing every frame on a canvas and getting the offset right each time. Miss by a pixel on frame nine and the character twitches in game. Letting a grid do the arithmetic is the point of dropping the folder here.

02Chapter 02

Frame order comes from the file list

Frames are placed in the order the browser receives the files, and that order depends on your operating system and file dialog. Some sort names naturally, others sort them as text, where frame10 comes before frame2. Zero-padded names (frame01 to frame12, or frame001 upward past a hundred) sort the same way everywhere, so rename before importing if you can.

If the order is still wrong, fix it in the editor. Drag frames between cells, multi-select to move a group, or use Reverse in the frame tools when the whole run came in backwards. Then play the animation preview once. A frame in the wrong place is obvious in motion and easy to miss in a static grid.

03Chapter 03

Mixed sizes and the pivot problem

A batch of PNGs rarely shares one size, because most exporters trim transparent edges. Trimmed frames are smaller, but they no longer agree on where the character stands. Drop them into cells as they are and the sprite bobs around.

Pick one cell size big enough for the largest frame, then align the layer consistently. Bottom alignment suits anything standing on ground: the feet sit on the same row in every cell. Middle suits projectiles and effects. A per-sprite X and Y offset handles the odd frame that still needs a nudge, such as a crouch that should sit lower.

Use Force Size when you know the size the art was drawn at. The automatic size follows the largest frame, so one oversized effect frame in the batch will inflate every cell in the sheet.

04Chapter 04

Keeping transparency clean

PNG alpha survives import and export here. What ruins transparency usually happens upstream: a frame saved with a white background baked in, or art scaled with a smoothing filter that left grey halos around the edges. Turn the checkerboard on once before you build the sheet and look for solid rectangles or soft fringes. The Pixel Cleanup panel fixes both on every frame: No BG clears a baked-in background, and Harden turns half-transparent edge pixels fully solid or fully clear.

The background setting is for when you want a solid colour on purpose, such as a store-page preview or a target with no alpha support. Leave it on None for anything an engine will draw over a scene.

05Chapter 05

Before you export

Pre-flight checklist

  • Order: play the preview through once instead of trusting the grid.
  • Cell size: it matches the size the art was drawn at, not a rounded-up number.
  • Alignment: the feet stay on one line across the cycle.
  • Background: set to None for engine use, with no frame carrying a baked-in white box.

Then pick the export by target: PNG if the engine slices by cell, Format for a data file your loader reads. Save the project JSON alongside it so a fix to one frame next week does not mean importing the folder again.

Frequently Asked

More questions? See the full FAQ.

Read more

Combine PNGs into a sprite sheet

Select every frame, drop them in, and check the order in the preview.

Open the editor