Random Dungeon Map Generator

Excavate a named, ready-to-run dungeon -- chambers, corridors, entrance, and treasure -- reproducible from the seed on its card.

About this generator

Every press excavates a new named dungeon -- the Crypt of the Ashen King, the Warrens of the Sunless Wyrm -- as an old-school grid map: up to seven chambers joined by corridors, an entrance marked in the first and treasure in the last. The whole layout unfolds from the seed on the card, so a map worth running can always be dug up again.

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

Game masters grab a map and a name in one press when the party goes somewhere unplanned; solo players and writers use the name plus layout as an adventure prompt. The SVG copy button drops it straight into a virtual tabletop or handout, and the seed lets the whole table regenerate the same map.

How it works

Each press draws a 32-bit seed from the site's cryptographically secure randomness, then digs: rectangular chambers are placed at random wherever they don't collide, chained together with L-shaped corridors, and usually given one extra connecting loop so the map isn't a straight line. The entrance triangle sits in the first chamber placed, the treasure cross in the last, and the name is assembled from crypt-flavored parts by the same seed -- name and map always match.

Common questions

Are the maps playable?

Yes -- every chamber is reachable (they're chained in placement order, usually with an extra loop), and the grid is standard dungeon scale: treat each square as five feet and it drops straight into most tabletop systems.

What do the purple marks mean?

The triangle is the entrance -- stairs down into the first chamber. The X is whatever the dungeon guards, in the last.

Can my whole table get the same map?

Yes -- the layout and name are fully determined by the seed stamped on the card. Share the seed and everyone can regenerate it.

Can I use the map in my game or VTT?

Freely -- the SVG button in the card's corner copies it as a vector file that imports into virtual tabletops and image editors and rescales cleanly.

Related Generators

Quest Hook · Magic Item · Monster · NPC · Tavern Name · Spell Name

All Fantasy & RPG generators

Browse all generators