Tilemap and 2D Level Editor
Paint tile layers from a built-in or your own tileset, draw object rectangles, let terrains auto-tile and export a Tiled JSON map for your game engine.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose a tileset
Keep the built-in tiles or press Load tileset image and enter the tile size.
- 2Set the map size
In Map size type the width and height in tiles; content in the top-left is kept when you resize.
- 3Paint the ground
Select a tile or drag a block in the palette, pick Stamp or Fill and paint on the Ground layer.
- 4Add terrains
Pick the Terrain tool, choose Water or Wall and draw; edges and corners appear automatically.
- 5Mark collisions
Tick Tile is solid for blocking tiles and switch on the Collision view to check paths.
- 6Place objects
Select an object layer, use the Object tool to drag rectangles and name them spawn, enemy or exit.
- 7Export
Press Export Tiled JSON plus tileset, or save a map PNG, a layer CSV or the collision grid.
About this tool
A 2D game level is a grid of small square images called tiles, stacked in layers, plus invisible shapes that mark where the player starts, where enemies spawn and which walls block movement. This editor lets you build such levels without installing anything. Start with the built-in 16 pixel tileset (water and wall terrains, ground fills and props) or load your own PNG tileset with any tile size. Paint with a stamp that can place a whole block of tiles at once, fill areas, draw rectangles, pick tiles from the map and erase with the right mouse button. Terrain brushes choose the correct edge and corner tile automatically, so a lake or a castle wall joins up cleanly while you draw. Object layers hold named rectangles for spawns, triggers and collision zones. When the level is ready, export a Tiled map file with the tileset image and load it in Tiled, Godot, Phaser, Defold or any engine with a Tiled importer.
Who this is for
Game jam teams who need a level in an afternoon, students learning how tile engines work, hobby developers making a first platformer or top-down RPG, and teachers who want pupils to design levels on school laptops where installing software is not allowed. Projects stay in this browser and can be saved as a JSON backup file.
Layers and tools
Each map has tile layers and object layers. Tile layers store one tile number per cell; 0 means empty. You can hide a layer, change its opacity and move it up or down, which is how you put decorations over the ground and roofs over the player. The Stamp tool paints the tile block you selected in the palette: drag across several tiles in the palette to paint a tree made of four tiles in one click. Rectangle fills a box, Fill replaces a connected area of the same tile, Pick copies a tile from the map, and right-dragging always erases. Every stroke is one undo step.
How auto-tiling works
A terrain is a run of tiles in your tileset arranged by a bitmask. In a 16-tile set each neighbour adds a value when it is the same terrain: north 1, east 2, south 4 and west 8, so tile 0 is an island and tile 15 is fully surrounded. A 47-tile blob set also looks at the four diagonal corners, but only when both touching sides match, which gives 47 different shapes. When you paint or erase with the terrain brush, the editor recalculates the painted cell and its eight neighbours. Map edges count as the same terrain so coastlines do not show a seam at the border.
Collision and objects
Mark any tile as solid in the palette and it is exported with a collides property that most Tiled importers read. The Collision view tints solid cells red so you can check walkable paths. For shapes that do not follow the grid, draw rectangles on an object layer and give them a name and type such as spawn, enemy, trigger or exit.
Worked example
A 24 × 16 map with 16 pixel tiles is 384 × 256 pixels. Paint a lake with the Water terrain: a single cell becomes tile 1 (mask 0); adding a cell to its right turns the first into tile 1 + 2 = 3 and the second into tile 1 + 8 = 9, because each now has one neighbour. Fill the middle of a 3 × 3 block and the centre becomes tile 16, mask 15.
Limits
The editor makes orthogonal maps only; isometric and hexagonal maps, animated tiles and several tilesets per map are not supported. Tiled files with base64 or compressed layer data must be saved with CSV layer format before import. Large tileset images can exceed the browser storage limit of about 5 MB, so keep a saved project file.
Worked example
Water terrain, first tile 1: an isolated cell is tile 1, a cell with neighbours east and west is 1 + 2 + 8 = tile 11.
Quick facts
- Category: Games & Fun
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Tiled Map Editor documentation: JSON map format 1.10, tilesets, layers, objects and Wang sets
Frequently asked questions
Which game engines can use the exported map?
Any engine that reads Tiled JSON maps: Godot (with a Tiled importer add-on), Phaser, Defold, MonoGame, Bevy and many others. Export the map and keep tileset.png in the same folder.
Can I use my own tileset?
Yes. Load a PNG, enter the tile size in pixels and the palette shows every tile. Spacing and margins between tiles are not supported, so use a tightly packed sheet.
How do I set up a terrain for auto-tiling?
Arrange 16 tiles in bitmask order (or 47 for a blob set), select the first one in the palette and press Terrain from selected tile. The brush then picks the right tile for each cell.
Does right-click work on a touch screen?
On phones and tablets choose the Erase tool instead of right-dragging. Pinch zoom is replaced by the Zoom menu so painting does not scroll the page.
How do I mark walls the player cannot cross?
Select the wall tile in the palette and tick Tile is solid, or draw rectangles of type collision on an object layer. The Collision grid export lists solid cells as 1 and free cells as 0.
Can I open a map I made in Tiled?
Yes, if its layers use CSV or plain array data. Import the JSON, then pick the tileset image; the first tileset and its collides properties are read.
