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.
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
- Choose the size. Small dungeons fit one evening; large ones can carry a whole level of play.
- Choose a theme and the party level, or leave the theme on random.
- Generate until the layout looks good. Use Restock rooms to keep the map and roll new contents.
- 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.
- Copy or print the key. The printout puts the map on the first page and the room key after it.
Reading the map
| Symbol | Meaning |
|---|---|
| Grid square | 5 × 5 feet. A 30 × 20 ft room is 6 by 4 squares. |
| Open rectangle | An ordinary door, closed but not locked. |
| Filled rectangle | A locked or barred door. Picking the lock with thieves’ tools is usually DC 15. |
| S on a wall | A secret door, only on the DM map. Finding it usually takes a Wisdom (Perception) or Intelligence (Investigation) check, around DC 15. |
| Two short lines | An archway or open passage. |
| Striped square | Stairs: the way in and out. |
| Black dots | Pillars, useful for cover in a fight. |
| X / small chest | A 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?
Can I get the same dungeon again?
Can I print the dungeon map?
How big is each square?
Do the math
From our sister site DnD Calculator, free D&D 5e and 2024 calculators:
- Encounter difficulty calculator — Balance the fights in each room for your party.
- XP calculator — Share out the XP when the party clears the dungeon.