Dungeon Map Generator

Generate a dungeon map in a second: rooms joined by corridors and doors on a grid, with every room numbered and stocked with monsters, traps, treasure or features to match the theme. Change the size and style, print it or download a PNG, and use the seed to get the same dungeon again.

1 square = 5 feet · seeded and shareable
Map for
Options
door locked door secret door (DM map) archway stairs / entrance

A random dungeon generator for D&D

This DnD dungeon generator builds a complete, playable dungeon in one click. It draws the dungeon map on a 5-foot grid, with rooms, corridors, doors, locked doors, secret doors, archways and an entrance, then writes a numbered room key: what each room is, what the characters see and smell, and what waits inside. A boss sits in the deepest room, and a wandering monster table keeps the players moving.

Pick a theme such as a crypt, a goblin warren or a sunken temple, and the room names, monsters and details follow it. Pick the party level, and the monsters, trap DCs and treasure scale with it.

How to use the dungeon map maker

  1. Choose the size. Small dungeons fit one evening; large ones can carry a whole level of play.
  2. Choose a theme and the party level, or leave the theme on random.
  3. Generate until the layout looks good. Use Restock rooms to keep the map and roll new contents.
  4. Download the map. Switch Map for to Players to hide room numbers and secret doors, then download a clean PNG for your virtual tabletop. Keep the DM version for yourself.
  5. Copy or print the key. The printout puts the map on the first page and the room key after it.

Reading the map

SymbolMeaning
Grid square5 × 5 feet. A 30 × 20 ft room is 6 by 4 squares.
Open rectangleAn ordinary door, closed but not locked.
Filled rectangleA locked or barred door. Picking the lock with thieves’ tools is usually DC 15.
S on a wallA secret door, only on the DM map. Finding it usually takes a Wisdom (Perception) or Intelligence (Investigation) check, around DC 15.
Two short linesAn archway or open passage.
Striped squareStairs: the way in and out.
Black dotsPillars, useful for cover in a fight.
X / small chestA trap or a treasure (DM map only).

How the generator builds a dungeon

Rooms are placed at random on the grid with a gap between them. Corridors then join the rooms in the shortest network that reaches every room, so no room is ever cut off. A few extra corridors add loops, because dungeons with more than one route are more fun: the players can sneak around a guard post or flee by another way. Secret doors only appear on those extra loops, so the party can always reach the boss without finding one. Each room is then stocked from tables for its theme: roughly a third hold monsters, and the rest are traps, treasure, strange features or empty rooms with something to look at.

Tips for running a generated dungeon

  • Read the sense line first. A smell or a sound is the fastest way to set the mood when the party opens a door.
  • Connect the rooms. If room 3 holds goblins and room 7 holds wolves, maybe the goblins keep the wolves. Small links like this turn a list into a place.
  • Telegraph the traps. Scorch marks, bones or a suspicious flagstone give careful players a fair chance.
  • Use the wandering table when the players rest too long or argue for twenty minutes about a door.
  • Give the boss a reason. The monster maker lets you build a custom stat block for the creature in the deepest room, and the NPC generator can give a bandit captain or cult leader a name and a motive.

More map tools

For a single encounter you want to draw by hand, use the battle map maker. For the town where the adventure starts, try the town generator, and place everything on a continent with the world map generator.

Frequently asked questions

How does the dungeon generator work?
It places rooms on a grid, connects them with corridors so every room can be reached, adds doors, then fills each room from tables that match the dungeon's theme.
Can I get the same dungeon again?
Yes. Every map has a seed. Enter the same seed and settings to get the same dungeon, or share the link.
Can I print the dungeon map?
Yes. Click Print for a black-and-white version with a grid, or download a PNG to use as a battle map in a virtual tabletop.
How big is each square?
Each square on the grid is 5 feet, the usual D&D scale for battle maps.

Do the math

From our sister site DnD Calculator, free D&D 5e and 2024 calculators: