2D Tilemap & Level Maker by PixLab ↗

Free Online Tilemap Editor for 2D Game Levels

Paint 2D game levels in your browser with your own tilesets, layers, and brush, fill, line and rectangle tools. Export a PNG, or a Tiled map (.tmx and .tmj) for Godot, Unity, Phaser and other engines. Free, no sign-up, and your projects never leave your browser.

Your projects
  • Free, no sign-up
  • Godot, Unity & Phaser export
  • Projects stay in your browser
The PixLab tilemap editor: a pixel-art platformer level on the canvas, with the tileset and layers panels on the right The PixLab tilemap editor in dark mode: a pixel-art platformer level on the canvas, with the tileset and layers panels on the right
Built-in tiles: Pixel Adventure by Pixel Frog (public domain)

Your Tilemap Projects

Projects are saved in this browser only and are never uploaded. To keep a backup or move a project to another browser, use Export → JSON (project backup) in the editor, then Import it here. Safari can delete site data after 7 days without a visit, so keep backups.

Features

Everything You Need to Make 2D Game Maps

A tilemap is a game level built from small square images, called tiles, placed on a grid. This free tilemap editor gives you the tools to paint those levels quickly, right in your browser.

Painting tools

Brush, fill, line, rectangle and eraser. Drag across the tileset to pick a block of tiles, such as a tree or a house, and stamp it in one click. Alt+click the map to pick a tile you already placed.

Layers

Keep the background, the ground and the decorations on separate layers. Add as many as you need, rename them, drag to reorder, hide, lock, and set each layer's opacity.

Your own tilesets

Import a tileset image (PNG, JPG or any image your browser opens) with tiles from 1 to 256 px, including sprite sheets with a margin or spacing between tiles. Two free pixel-art tilesets are built in.

Maps up to 500 × 500 tiles

Zoom in for detail, pan with Space or the middle mouse button, fit the whole map to the window, and turn the grid on or off.

Undo and autosave

Up to 75 undo steps, and every change is saved automatically. Every tool has a keyboard shortcut; press ? in the editor to see them all.

Image and game engine export

Download the map as a PNG with transparency or a JPG, as a Tiled map (.tmx and .tmj) for game engines, or as a JSON backup you can import in any browser.

No account, no upload

The editor runs entirely in your browser. Your maps and tilesets stay on your computer; nothing is sent to a server.

As many projects as you like

Keep several maps side by side, duplicate a project to try a variation, and move projects between browsers with a JSON file.

Game engines

Export Your Tilemap to Godot, Unity, Phaser and More

Export → Game engine / Tiled map downloads a .zip with your map in the two formats of the Tiled map editor: .tmx (XML) and .tmj (JSON). It also contains the tileset images, one CSV file per layer and a README with import steps. Most 2D engines and frameworks can read Tiled maps, either natively or with a free plugin.

level-1-ruins.zip

  • level-1-ruins.tmx
  • level-1-ruins.tmj
  • tilesets/terrain.png
  • tilesets/background.png
  • csv/1-background.csv
  • csv/2-terrain.csv
  • README.txt

Godot 4 .tmx / .tmj

Install the free YATI add-on, then add the .tmx or .tmj file and the tileset images to your project. The map is imported as a scene with tile map layers.

Unity .tmx

Install SuperTiled2Unity and copy the .tmx file and the tileset images into your Assets folder. The map is imported as a prefab built from Unity Tilemaps.

Phaser .tmj

Load the .tmj file with this.load.tilemapTiledJSON() and the tileset image with this.load.image(), then create the layers with createLayer().

Unreal Engine .tmj → .json

Paper2D can import Tiled JSON maps: rename the .tmj file to .json. Its importer is old and doesn't support every Tiled feature, so check the result.

libGDX, MonoGame, Bevy .tmx

Load the .tmx file with libGDX's TmxMapLoader, MonoGame.Extended, bevy_ecs_tiled, or any other Tiled map loader.

Tiled and other formats .tmx

Open the .tmx file in Tiled to keep editing, or to convert the map to the other formats Tiled can export, such as GameMaker and Defold.

How it works

How to Make a Tilemap Online

  1. Create a project. Click Start a new project, give it a name, set the tile size (16 px for the built-in tilesets) and the map size in tiles, then pick a built-in tileset or import your own.
  2. Pick tiles. In the Tileset panel, click a tile, or drag to select a block of tiles.
  3. Paint your level. Use the brush for single tiles, fill for large areas, and line or rectangle for walls and platforms. Add layers to keep the background, the ground and the decorations apart.
  4. Refine it. Zoom in, hide layers to check what's underneath, erase mistakes, and undo with Ctrl+Z.
  5. Export it. Download a PNG or JPG image, a Tiled map for your game engine, or a JSON backup of the project.

Want the full tour? Read the 2D level editor feature overview on pixlab.io.

FAQ

Frequently Asked Questions

A tilemap editor is a tool for building 2D game levels from tiles: small square images such as grass, water or walls, taken from a tileset image and placed on a grid. PixLab's tilemap editor is free and runs in your browser: you paint tiles in layers, then export the map as an image or as a map file for your game engine.

It's free, with no account, no sign-up and nothing to install. Open this page, create a project and start painting. Projects are saved in your browser and are never uploaded.

When you create a project, pick a built-in tileset or import your own tileset image. In the editor, add more tilesets with Tileset → Add. Click a tile in the Tileset panel, or drag to select several, then paint them on the map. If your tileset has gaps between tiles, set its margin and spacing from the tileset's menu.

Yes. Export → Game engine / Tiled map downloads a .zip with your map in both Tiled formats (.tmx and .tmj), the tileset images and one CSV file per layer. Godot 4 imports it with the YATI add-on, Unity with the SuperTiled2Unity package (using the .tmx file), Phaser loads the .tmj file directly, and Unreal Engine's Paper2D has an importer for Tiled JSON maps (rename the .tmj file to .json). Frameworks with a Tiled loader, such as libGDX and MonoGame, use the .tmx file. A README in the .zip explains each option.

You can also download the whole map as a PNG or JPG image.

For export, yes: the game engine export contains standard .tmx and .tmj files that open in Tiled, where you can keep editing the map or convert it to the other formats Tiled supports. The PixLab editor doesn't open .tmx files; to continue a project here, use its JSON backup.

Yes. Add as many layers as you need, for example a background, the ground and decorations. Each layer can be renamed, hidden, locked, made semi-transparent and reordered by dragging, and uses one tileset.

Choose the tile size (1 to 256 px) and the map size (up to 500 × 500 tiles) when you create a project; the built-in tilesets use 16 px tiles. In the editor, the cog button in the toolbar changes the map size at any time, and the tile size as long as the map is still empty.

In your browser's storage (IndexedDB), on your computer. Nothing is uploaded, so a project is only available in the browser where you made it. To keep a backup or move a project to another browser or computer, use Export → JSON (project backup) in the editor, then Import it on this page. Safari can delete site data after 7 days without a visit, so keep backups.

The JSON backup saves everything about a project: its name, tile size, map size, the tileset images (embedded in the file) and every layer. Each layer stores its tiles as "column-row": { "x": …, "y": … }, where x and y are the column and row of the tile inside the layer's tileset image. Import the file on this page to restore the project in any browser.

Any 2D game whose levels are built on a square grid: platformers, top-down RPGs, dungeon crawlers, puzzle and strategy games. The editor makes orthogonal (square-grid) maps; it doesn't make isometric or hexagonal maps.

Ready to build your next level?

Free, in your browser, with nothing to install.

Loading