Sprite Sheet Tool
  • Sprite Sheet Maker
  • GIF to Sprite Sheet
  • Splitter
  • Texture Atlas
  • Pricing
2026/10/16

PNG Sprite Sheet or JSON Atlas? Choose the Export Your Game Needs

If your engine slices equal-sized cells, a PNG grid may be all you need. If it loads frames by name and rectangle, export the PNG with matching JSON. Check the importer before choosing: JSON formats differ, and you will still set timing and pivots in the engine.

This guide covers existing artwork you want to bring into a game.

When a PNG grid is enough

A regular grid can be read from a small set of known values: cell width and height, frame count, columns, rows, margins and gaps. It is useful when every cell has the same dimensions and the importer can reconstruct the frame rectangles correctly.

For example, six 32 × 48 cells in three columns with no gaps or outer padding make a 96 × 96 image. Reading cell (column 1, row 0), counted from zero, gives rectangle x=32, y=0, width=32, height=48. The coordinates follow from the grid; you still need to check the import in your game.

If the importer assumes no gaps but your export includes them, it will read the wrong pixels. Keep the layout settings with the image. Use the frame-size guide to check cell alignment and the spacing and texture-bleeding guide when margins or sampling matter.

When named rectangle metadata is useful

JSON is useful when the consumer needs explicit frame names and coordinates rather than reconstructing rectangles from a grid. Check the field names and structure your loader reads. Similar-looking JSON files are not necessarily interchangeable.

ExportSuitable starting pointStill your responsibility
PNG gridAn importer configured for uniform cellsCorrect cell size, count, gaps, order and timing
PNG plus generic JSONA custom importer you can adapt to documented rectangle fieldsParsing that schema and mapping frames into your engine
PNG plus Phaser-style JSONA Phaser workflow expecting a compatible JSON atlasCorrect loading, texture keys, frame names and animation configuration

Phaser's official LoaderPlugin documentation describes loading an atlas image with its JSON data. It is the destination loader's expected format that matters. A generic JSON export is not automatically interchangeable with a Phaser atlas or an engine-native resource.

What Sprite Sheet Tool exports

The texture atlas workflow offers generic and Phaser-style JSON with the PNG image. Generic output includes the image name, sheet dimensions and a list of named rectangles with source dimensions. Phaser output uses a named-frame map, rectangle coordinates, source-size fields and image metadata.

The current exporter sets the Phaser rotated and trimmed flags to false. It does not perform rotated packing or artwork trimming. Set pivots yourself in the art or engine. Check a mixed-size or unusually named input against your destination's expectations before adopting it for a whole project.

A small illustrative geometry record looks like this:

{"name":"walk-02","x":32,"y":0,"w":32,"h":48,"sourceW":32,"sourceH":48}

This record identifies a rectangle and its source dimensions. It says nothing about how long walk-02 should play, what gameplay state uses it, or where its foot should be anchored.

Keep animation data separate

The export contains artwork and rectangles. Add the animation clip, frame durations and pivots in your engine; it does not include a native Unity or Godot project. The animation timing guide explains why a correct sheet can still play with the wrong rhythm.

For Unity or Godot, follow the importer you actually use. Do not select Phaser JSON simply because all three engines can render sprites. If a regular grid matches the engine's slicing workflow, the PNG and recorded layout values may be enough.

Validate one small asset before exporting a library

Use a few clearly named frames with visible differences. Check that the importer finds the image, reads the expected rectangles, resolves the names and displays each frame without clipping. Then define the intended timing and pivot in the engine and inspect the loop at real game scale.

If frames are missing, first check filenames, image references and the schema expected by the loader. If the wrong pixels appear, check coordinates and gaps. If the pixels are correct but the action jumps or runs too quickly, investigate pivot and timing instead of repacking the image blindly.

Start in the browser sprite sheet editor when you need to arrange existing frames, or choose the atlas export workflow when your consumer needs named rectangle metadata. Preserve the source artwork and record the export settings; check the import before packing the rest of your library.

All Posts

Table of Contents

  • When a PNG grid is enough
  • When named rectangle metadata is useful
  • What Sprite Sheet Tool exports
  • Keep animation data separate
  • Validate one small asset before exporting a library

Author

S
Sprite Sheet Tool TeamThe product team that builds and documents Sprite Sheet Tool.

Categories

Sprite Sheet Fundamentals

Tags

Export FormatsTexture Atlas

More Posts

Sprite Animation Timing: Choose FPS Without Losing Holds
Sprite Sheet Fundamentals

Sprite Animation Timing: Choose FPS Without Losing Holds

Plan sprite animation FPS, loop duration, and per-frame holds with simple timing math, then carry those choices into your game engine.

Sprite Sheet Tool Team
2026/09/11
Sprite Sheet Padding and Spacing: A Texture Bleeding Guide
Sprite Sheet Fundamentals

Sprite Sheet Padding and Spacing: A Texture Bleeding Guide

Understand outer padding, gaps, edge extrusion, and sampler settings so you can diagnose texture bleeding without breaking sprite sheet slicing.

Sprite Sheet Tool Team
2026/09/11
Sprite Frame Size: How to Choose a Consistent Cell
Sprite Sheet Fundamentals

Sprite Frame Size: How to Choose a Consistent Cell

Learn how canvas size, visible artwork, pivots, and grid math affect sprite frame dimensions before you pack an animation sheet.

Sprite Sheet Tool Team
2026/09/11
Sprite Sheet Tool

Free browser-based sprite sheet workspace for 2D game developers.

Email

© 2026 Sprite Sheet Tool All Rights Reserved.

Links
  • Pricing
  • Sprite Sheet Maker
  • Sprite Sheet Splitter
  • Texture Atlas Generator
  • GIF to Sprite Sheet
  • Unity Sprite Sheet Maker
  • Godot Sprite Sheet Maker
  • Contact
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
Resources
  • Blog