Export Tiled maps for Godot, Unity and other engines

Updated 2026-11-28 · Tiled MCP Pro 1.1.0

Tiled MCP Pro saves and exports through Tiled's own writers, so the files are exactly what Tiled would write if you used its menus. This guide covers which tool to call for each engine and what to check before importing. Export tools are in full mode.

1. See what your Tiled can write

Formats come from Tiled and its plugins, so the list depends on your install. Ask for it first:

Call get_export_formats and list the map formats that can write.

Then export with export_map, passing the output path and the format name from that list (default tmx). Shortcuts exist for the common ones: export_map_to_json, export_map_to_lua, export_map_to_csv.

FormatTypical use
tmx (XML)The native format. Read by most importers and libraries.
json (.tmj)Web and JavaScript engines, custom loaders.
luaLÖVE (with a loader such as STI), Defold-style Lua pipelines.
csvOne layer of tile IDs as plain numbers; simple custom loaders.
Plugin formatsGodot 4 scene, GameMaker, Defold and others, when the plugin is enabled.

If a format you expect is missing, enable its plugin in Tiled under Edit > Preferences > Plugins and ask again.

2. Keep paths portable

Maps refer to tilesets and images by relative path. Before exporting for an engine, keep the map, its .tsx files and the images inside the engine project (or copy them in together), and save there with save_map. Then the relative paths still resolve after import.

Godot 4

Save the map as C:/games/mygame/levels/level1.tmx, then export it
to C:/games/mygame/levels/level1.tscn using the Godot format from
get_export_formats.

Pair it with Godot MCP Pro to have the AI wire the imported level into your scenes.

Unity

Unity has no Tiled importer built in. The usual route is an importer package such as SuperTiled2Unity, which reads .tmx and .tsx directly. Keep tilesets external (.tsx) and inside the Unity project's Assets folder, and save the map as .tmx. Custom properties and object classes come through as data you can read in scripts, so set them in Tiled (set_property, add_object with class_name).

Other engines and frameworks

Tilesets and preview images

Export checklist

  1. validate_map: no missing images, no empty or unused layers you did not intend.
  2. Layer and object class names match what your import code expects.
  3. Map, tilesets and images live inside the engine project.
  4. save_map as .tmx first, then export the engine format.
  5. Commit both, so you can re-export after the next round of edits.

Get Tiled MCP Pro
$10 once on itch.io, free updates.

itch.io · $10

More guides