Libraries and Frameworks
There are many libraries available for reading and/or writing Tiled maps (either stored in the TMX Map Format or the JSON Map Format) as well as many development frameworks that include support for Tiled maps. This list is divided into two sections:
The first list is for developers who plan on implementing their own renderer. The second list is for developers already using (or considering) a particular game engine / graphics library who would rather pass on having to write their own tile map renderer.
For updates to this page please open a pull request or issue on GitHub, thanks!
Support by Language
These libraries typically include only a TMX parser, but no rendering support. They can be used universally and should not require a specific game engine or graphics library.
C++/Qt based libtiled, used by Tiled itself and included at src/libtiled (BSD)
C++11x/TinyXml2 libtmx-parser by halsafar. (zlib/tinyxml2)
TMXParser General *.tmx tileset data loader. Intended to be used with TSXParser for external tileset loading. (No internal tileset support)
TSXParser General *.tsx tileset data loader. Intended to be used with TMXParser.
tmxlite C++14 map parser with compressed map support but no external linking required. Includes examples for SFML and SDL2 rendering. Currently has full tmx support up to 0.16. (Zlib/libpng)
tinytmx A C++17 library to parse maps generated by Tiled Map Editor. Requires no external linking, all dependencies are included.
Tileson - A Tiled JSON parser for modern C++ (C++17) by Robin Berg Pettersen (BSD)
TiledCS: A dotnet library for loading Tiled tilesets and maps (TMX/TSX or JSON).
MonoGame.Extended has a Tiled map loader and renderer that works with MonoGame on all platforms that support portable class libraries.
tile-soup: Parses and validates a TMX file into a map. Automatically decodes Base64 and CSV formatted data and coerces numbers when necessary. Works on both the JVM and in browsers via ClojureScript.
A library for loading TMX files is included with Tiled at util/java/libtiled-java.
TiledReader is a simple TMX reader that conveys the information in Tiled files via a hand-crafted class structure, but does not load image data.
PHP TMX Viewer by sebbu : render the map as an image (allow some modifications as well)
TMX parser: a simple loader for TMX maps (CSV format only).
linux-man/ptmx: Add Tiled maps to your Processing sketch.
tmx gem by erisdiscord
librpg A library to load and handle spritesets (own format) and orthogonal TMX maps.
Support by Framework
Following entries are integrated solutions for specific game engines. They are typically of little to no use if you’re not using said game engine.
Castle Game Engine (Object Pascal)
TilemapKit is a tilemapping framework for Cocos2D. It supports all TMX tilemap types, including staggered iso and all hex variations. No longer in development.
Construct 2 - Scirra
Lithander demonstrated his Flash TMX parser combined with Flixel rendering
Planimeter’s Grid Engine supports Tiled Lua-exported maps.
HTML5 (multiple engines)
Canvas Engine A framework to create video games in HTML5 Canvas
chesterGL A simple WebGL/canvas game library
KineticJs-Ext A multi-canvas based game rendering library
melonJS A lightweight HTML5 game engine
Platypus Engine A robust orthogonal tile game engine with game entity library.
sprite.js A game framework for image sprites.
LITIengine is a 2D Java Game Engine that supports loading, saving and rendering maps in the .tmx format.
Simple Tiled Implementation Lua loader for the LÖVE (Love2d) game framework.
Oak Nut Engine (onut)
Orx Portable Game Engine
TMX to ORX Converter Tutorial and converter download for Orx.
PyTMX by Leif Theden (bitcraft)
RPG Maker MV
C++/TinyXML/SDL based loader example by Rohin Knight (limited functionality)
Solar2D (formerly Corona SDK)
Dusk Engine is a fully featured Tiled map game engine for Solar2D (no longer maintained, but may still be useful)
Berry is a simple Tiled Map Loader for Solar2D.
Qiso is an isometric engine for Solar2D that supports loading Tiled maps, and also handles things like path-finding for you.
Sprite Kit Framework
SKTilemap is built from the ground up in Swift. It’s up to date, full of features and easy to integrate into any Sprite Kit project. Supports iOS and OSX.
SKTiled - A Swift framework for working with Tiled assets in SpriteKit.
JSTileMap is a lightweight SpriteKit implementation of the TMX format supporting iOS 7 and OS X 10.9 and above.
TERRA Engine (Delphi/Pascal)
TERRA Engine supports loading and rendering of TMX maps.
SuperTiled2Unity is a collection of C# Unity scripts that can automatically import Tiled map editor files directly into your Unity projects.
Tiled TMX Importer, imports into Unity 2017.2’s new native Tilemap system.
Tiled to Unity is a 3D pipeline for Tiled maps. It uses prefabs as tiles, and can place decorations dynamically on tiles. Supports multiple layers (including object layers).
Tuesday: A generic C# serializer and deserializer plus a set of Unity editor scripts that allow you to drag and drop TMX files into your scene, make edits, and save back out as TMX files. MIT license.
UniTiled, a native TMX importer for Unity.
X-UniTMX supports almost all Tiled 0.11 features. Imports TMX/XML files into Sprite Objects or Meshes.
Unreal Engine 4
Paper2D provides built-in support for tile maps and tile sets, importing JSON exported from Tiled.
XTiled by Michael C. Neel and Dylan Wolf, XNA library for loading and rendering TMX maps
XNA map loader by Kevin Gadd, extended by Stephen Belanger and Zach Musgrave