# LDtk

Open\-source 2D level editor with integer\-grid rules, entities and versioned JSON output\.

ID: Q712 · Revision: 760

Type: software · License: MIT\-licensed editor; free use including commercial output[^ldtk-repo][^ldtk-download] · Status: active

Website: https://ldtk.io/



LDtk, short for Level Designer Toolkit, is an open\-source 2D level editor\. It separates authored level data from the game that consumes it and can use integer\-grid rules to place visual tiles automatically\. The project distributes desktop versions for Windows, macOS and Linux, with free access and optional financial support\.[^ldtk-repo][^ldtk-auto][^ldtk-download]

## Integer grids and automatic tiles

An IntGrid layer stores values that rules can interpret as tile\-placement patterns\. Attaching a tileset lets the editor paint corresponding artwork, while a separate auto\-layer can derive its appearance from another grid\. This allows foreground and background visuals to share layout data without making the rendered pixels the only representation of the level\.[^ldtk-auto]

## Native and simplified output

The native project uses documented JSON, with versioned fields and announced deprecations\. Runtime importers need to follow the supported schema rather than assume that every editor\-internal value is stable\. Retaining the working project and matching loader version matters when upgrading a game pipeline\.[^ldtk-json]

Super Simple Export supplies composite and per\-layer PNG images, optional entity/level JSON and CSV for integer\-grid layers\. A game can display a composite image without implementing the full native format, but drawing that image alone does not implement collision, entities or gameplay represented by the separate data\.[^ldtk-simple]

## Tiled compatibility

The TMX exporter is documented as a fallback for frameworks limited to Tiled files, not the preferred integration path\. Stacked tiles can become multiple layers, integer grids become tile representations, and some entity fields are rewritten into simpler properties\. Those exporter limitations should not be generalized into claims about every capability of current Tiled releases\.[^ldtk-tmx]

## Licensing and substitution

LDtk is MIT\-licensed and its download page permits commercial creations\. It can substitute for [Tiled](/tiled) for 2D layouts and entity placement when its JSON\-oriented workflow and automatic tile rules are suitable\. This concerns the authoring task, not native project round\-tripping\. A team using TMX\-specific integrations should evaluate the fallback conversion or adopt an LDtk\-aware loader\.[^ldtk-download][^ldtk-repo][^ldtk-tmx][^tiled-home]

## Capabilities and substitutions

### Automatic visual tiles — supported

Rules derive tile placement from authored integer\-grid values\.[^ldtk-auto]

Use case: 2D level layout · Platforms: Desktop editor; game/runtime compatibility varies · Region: Game assets, runtime dependencies and distribution rights are separate

### TMX interchange — limited

Fallback export changes stacked layers and some field representations; native JSON is preferred\.[^ldtk-tmx]

Use case: Existing Tiled\-based runtimes · Platforms: Desktop editor; game/runtime compatibility varies · Region: Game assets, runtime dependencies and distribution rights are separate

### [Substitute for Tiled](/tiled) — limited

Native JSON and grid\-based rules cover level design; TMX fallback is qualified rather than lossless project conversion\.[^ldtk-auto][^ldtk-tmx][^tiled-home]

Use case: 2D tile and entity authoring · Platforms: Desktop editor; game/runtime compatibility varies · Region: Game assets, runtime dependencies and distribution rights are separate

## References

[^ldtk-repo]: [LDtk source repository](<https://github.com/deepnight/ldtk>) — MIT\-licensed Level Designer Toolkit and development\-build cautions (vendor; retrieved 2026-10-06T23:00:36Z)

[^ldtk-download]: [LDtk downloads](<https://ldtk.io/download/>) — Indexed official listing: free commercial use and Windows/Linux/macOS packages (vendor; retrieved 2026-10-06T23:00:36Z)

[^ldtk-auto]: [LDtk auto layers](<https://ldtk.io/docs/general/auto-layers/>) — Integer grids as tile\-placement rule input; independent visual layers (vendor; retrieved 2026-10-06T23:00:36Z)

[^ldtk-json]: [LDtk JSON specification](<https://ldtk.io/json/>) — Versioned project JSON and planned field deprecations (vendor; retrieved 2026-10-06T23:00:36Z)

[^ldtk-simple]: [LDtk simplified export](<https://ldtk.io/docs/game-dev/super-simple-export/>) — Composite/layer images, entity JSON and integer\-grid CSV (vendor; retrieved 2026-10-06T23:00:36Z)

[^ldtk-tmx]: [LDtk TMX export limitations](<https://ldtk.io/docs/game-dev/exporting-tiled-tmx/>) — Fallback exporter changes layer/field representation; native JSON preferred (vendor; retrieved 2026-10-06T23:00:36Z)

[^tiled-home]: [Tiled level editor](<https://www.mapeditor.org/>) — Tile/object layers, terrains, map orientations, worlds and scripting (vendor; retrieved 2026-10-06T23:00:36Z)

Source revision: https://substitutefor.net/entities/Q712?revision=760
