TiledMetadata export

Tileset Generator for Tiled

Pack your tiles into one image and export a JSON tileset. Tiled opens the .tsj with the tile size, column count, and tile count already set.

A sprite sheet exported as a JSON tileset, next to the settings it needs in Tiled
What you export

Format menu

Tiled

JSON tileset (.tsj)

The Tiled export writes a JSON tileset describing the sheet: tile width and height, column count, tile count, image dimensions, and the image file name. Open the .tsj in Tiled or add it as an external tileset to a map, and the grid is already correct. Margin and spacing are written as 0, so export the tileset with no gutter.

Step by step

Getting the sheet into Tiled

  1. 1

    Export with zero gutter

    Tilesets want tiles edge to edge. Set spacing to 0 and keep every cell the same size, then export the PNG.

  2. 2

    Export the .tsj

    Use Format > Tiled to write the JSON tileset next to the PNG. It references the image by file name, so keep them together.

  3. 3

    Open it in Tiled

    File > Open in Tiled, or from a map use Map > Add External Tileset and pick the .tsj.

  4. 4

    Paint

    The tileset panel shows every tile at the right size. Terrain, Wang sets, and tile properties can be layered on from here.

Cheat sheet
SettingTiled value
FormatJSON tileset (.tsj)
Tile sizetilewidth / tileheight, from your cell size
Layoutcolumns and tilecount, filled in
Guttermargin and spacing written as 0
Use in a mapMap > Add External Tileset
Built for the workflow

Ready-made .tsj

No New Tileset wizard, no retyping tile size. The file already describes the grid it came from.

External tileset

A standalone .tsj can be shared across many maps, so edits to the tileset propagate everywhere.

Uniform cells

Tiled needs a regular grid. The packer keeps cells identical, which is exactly what a tileset needs.

Split then rebuild

Got an existing tileset? Split it into tiles, rearrange or recolour, and export a fresh sheet with a matching .tsj.

Tiled FAQ

Want the long version? Read the engine import guide, or see every export format.

Other engines

Export for Tiled

Pack your frames in the browser. What you walk away with: JSON tileset (.tsj), ready for Tiled.