• Skip to main content

RPG town & kingdom generator

Build towns, cities, kingdoms, and entire campaign settings with generated factions, NPCs, quest hooks, and location descriptions. Start at any scale — a single tavern or an entire realm — and drill down into sub-locations, each with their own factions and characters. Works with D&D 5e, Pathfinder, sci-fi settings, or anything homebrew. Export everything as plain text, Homebrewery markdown, or structured HTML.

Unlike map generators, this tool builds the narrative content DMs actually need at the table: who runs this place, what factions are competing for power, which NPCs the party will meet, and what quests are waiting. Part of a suite of game master tools including a statblock generator, encounter generator, magic item generator, NPC generator, and dungeon generator.

Frequently asked questions

Is this worldbuilding generator free?

Yes. All generation features are free with no daily limits. Premium ($5/month) adds save/load to file for cross-device access.

What can it generate?

Kingdoms, cities, towns, villages, dungeons, buildings, wilderness regions, islands, ships, and planes. Each setting includes an overview with history and atmosphere, plus generated sub-locations, factions, NPCs, and quest hooks.

Can I nest locations inside each other?

Yes. Settings can be nested as deeply as you need — a kingdom containing a city, containing a market district, containing an adventurer's guild hall. Each level gets its own factions, NPCs, and quest hooks.

Does it only work for D&D?

No. The generator supports a wide range of setting types and works with any tabletop RPG. You can build a fantasy kingdom, a space station, a post-apocalyptic settlement, or anything else your campaign needs.

Does it generate maps?

No. This tool focuses on narrative content — the descriptions, factions, NPCs, and quest hooks that bring a location to life at the table. For maps, tools like Donjon or Azgaar's Fantasy Map Generator pair well with the content this tool produces.

Kenji's Game Master Tools
What's new • Blog • Discord • Patreon
This content uses the D&D 5e SRD under the Open Gaming License