A playable layout in seconds

Random Dungeon Map Generator

Generate a connected room-and-corridor dungeon with a repeatable seed, marked entrance and reachable exit. Export a grid map as SVG.

✦ Free to use↗ Export your result○ No account required
01

Make it yours

Extra connections can offer alternate routes; overlaps may merge passages.

Your inputs are processed locally in this browser.

02

Your result

Ready when you are

A little input.
A useful starting point.

The Lantern Vault: seed lantern-vault, 48 × 32 cells, 10 rooms and two extra connections. Use room 1 as the entry and put the main objective in the marked exit room.

Example · customize the fields to begin
UNDER THE HOOD

The generator packs non-overlapping rectangular rooms, connects every room through a nearest-edge spanning tree and adds optional extra links. Orthogonal corridors become walkable grid cells. A breadth-first search measures actual grid travel and places the exit at the farthest room center. Extra links may overlap existing passages; requested room counts are limited by available space.

01

Choose the size around your session

A small map with six rooms suits a short expedition: an entrance, a clue, a hazard, a choice, a confrontation and a payoff. Larger grids create longer walks and more preparation work. Start with the number of…

02

Make connections matter

Every generated room is reachable from the entrance. Extra connections can create alternate routes, although a corridor may overlap another route. Examine the layout before adding locked doors or one-way…

03

Prepare a readable grid handout

The SVG contains individual grid cells and room markers. Decide whether a cell represents five feet, two meters or another unit for your ruleset; the generator deliberately does not assign one. Remove room…

GOOD TO KNOW

A few useful answers.

Can the exit be unreachable?

The generator checks walking distance through the actual floor grid and chooses a reachable room. Later edits such as locked doors can change that.

Why are there fewer rooms than requested?

Rooms require a border and separation. The chosen grid may be full before the target count is reached. Increase the dimensions or request fewer rooms.

Does the map include encounters or balanced combat?

No. It generates geometry and a room list. Add creatures, rewards and difficulty appropriate to your game and players.

How are extra connections different from rooms?

A connection carves another corridor between existing rooms. It can offer a loop without adding a new room, and may merge with passages already present.