Sprite Sheet Maker

Pack your animation frames, or any small images, into one sprite sheet PNG with a JSON file of frame positions and durations for your game engine.

  • Frames from your project or your own images
  • Rows, padding, scale, background
  • PNG + JSON in one click

Loading the editor…

How to make a sprite sheet

  1. Open your frames. Your current project’s frames are listed automatically. Add more images if you need them.
  2. Order and choose frames. Move frames earlier or later, and remove any you do not need from the sheet.
  3. Set the layout. Choose frames per row, padding, scale (1×, 2× or 4×) and a transparent or solid background.
  4. Check the preview. The preview shows the exact sheet that will be downloaded, with its size in pixels.
  5. Download PNG and JSON. Download both files together, or only the PNG or only the JSON.

Example: a four-frame sheet and its JSON

This is the exact output for the bouncy slime with four frames per row, no padding and 1× scale. Download the pair to test your engine's importer.

A sprite sheet with four 16×16 slime frames in one row, shown enlarged
Shown at 8× here; the real sheet is 64×16 pixels.
{
  "meta": { "image": "bouncy-slime-sheet.png", "size": { "w": 64, "h": 16 }, "frameCount": 4 },
  "frames": [
    { "name": "slime_01", "x": 0, "y": 0, "w": 16, "h": 16, "duration": 180 },
    { "name": "slime_02", "x": 16, "y": 0, "w": 16, "h": 16, "duration": 120 },
    …
  ]
}

Excerpt. Open the downloaded JSON for every field.

Using a sprite sheet in a game engine

Most engines can slice a sheet by cell size alone: if every frame is 16×16 with no padding, tell the engine the cell size and it finds the frames. The JSON is useful when frames differ in size, when you added padding, or when you want the engine to use each frame's duration.

  • Filtering: set the texture filter to nearest (also called point or “no filter”) so pixels stay sharp.
  • Scale in the engine, not the file: export at 1× and scale the sprite by whole numbers in the game. Use 2× or 4× sheets only for tools that cannot scale without smoothing.
  • Baseline: keep feet on the bottom row of every frame so the character does not jitter up and down.

Read the lesson exporting a sprite sheet for a step-by-step walkthrough, or animate frames first in the Pixel Animation Maker.

Frequently asked questions

What is a sprite sheet?

A sprite sheet is one image that contains many frames or sprites arranged in a grid. Games load one file instead of many, and a small JSON file tells the engine where each frame is and how long it lasts.

What does the JSON file contain?

For every frame: its name, its x and y position and size in the sheet, and its duration in milliseconds, plus the sheet size and image file name. The format is plain and documented in the file itself, so it is easy to read from any engine or script.

Can I combine images I made elsewhere?

Yes. Add PNG, WebP or GIF images (up to 512 pixels per side each) next to the frames of your current project, reorder them, and pack them into one sheet.

Should I use padding between frames?

Add 1 or 2 pixels of padding if your engine filters or scales textures, which can make neighboring frames bleed into each other at the edges. With nearest-neighbour filtering, zero padding is fine.

What if my frames are different sizes?

With Normalize on, every cell becomes as large as the largest frame and smaller frames are centered at the bottom, so characters keep the same baseline. Turn it off to pack each image at its own size.