Random City Generator
Generate fictional cities with realistic names, populations, climates, landmarks, and heraldry. Supports 8 cultural styles and batch generation.
About
Worldbuilding demands internal consistency. A city named Kharzhul should not sit on a tropical coast with a population of 200. This generator produces fictional cities with correlated attributes: name phonetics match the selected cultural profile, population follows a log-normal distribution (realistic for human settlements), and features like ports, universities, or fortifications are conditionally assigned based on terrain, climate, and era. The algorithm chains weighted syllables rather than concatenating random letters, preventing unpronounceable results. Population P is computed as 10 raised to a normally distributed exponent, producing the heavy-tailed distribution observed in real urban hierarchies where most settlements are small and megacities are rare.
Limitations apply. Names approximate cultural phonetics but are not linguistically validated. The generator does not enforce geopolitical plausibility (two generated cities may share incompatible traits if placed on the same fictional map). For tabletop RPG prep, novel writing, or game design, treat each output as a starting scaffold. Pro tip: generate in batches of 5 - 10 and curate the best fits for your world rather than forcing a single roll.
Formulas
City population follows a log-normal distribution to mirror real-world urban hierarchies (Zipf's law approximation). The core generation formula:
where P = generated population, ΞΌ = log-mean (set per size class, e.g., 3.5 for towns), Ο = log-standard-deviation (0.4), and Z = standard normal variate.
The Box-Muller transform produces Z from two uniform random values U1 and U2:
Name generation uses weighted syllable chains. Each cultural profile defines onset consonants C, vowel nuclei V, and coda consonants Cf. A syllable S is assembled as:
The probability of appending a coda consonant is 0.4, and name length ranges from 2 - 4 syllables. A suffix from the culture's dictionary is appended with probability 0.7. Elevation E in meters is terrain-dependent: coastal E β [0, 50], plains [50, 400], mountain [800, 3500].
Reference Data
| Cultural Profile | Phonetic Style | Example Prefix | Example Suffix | Typical Terrain | Historical Era Feel |
|---|---|---|---|---|---|
| Anglo-Saxon | Germanic, hard consonants | Ash-, Bram-, Wester- | -bury, -ford, -minster | Temperate plains, rolling hills | Medieval - Early Modern |
| Mediterranean | Romance vowels, soft flow | Val-, Monte-, Porto- | -enza, -oria, -ello | Coastal, sun-baked hills | Classical - Renaissance |
| Nordic | Long vowels, hard stops | Stor-, Heim-, Skog- | -heim, -vik, -fjord | Fjords, tundra, boreal forest | Viking - Early Medieval |
| East Asian | Tonal syllables, open vowels | Shin-, Hana-, Yun- | -zhou, -mura, -cheon | River valleys, mountains | Imperial Dynastic |
| Slavic | Consonant clusters, palatals | Novo-, Belo-, Kras- | -grad, -ovsk, -opolye | Steppe, dense forest | Medieval - Industrial |
| Arabic | Guttural, emphatic consonants | Al-, Bab-, Qasr- | -abad, -iyya, -stan | Desert, oasis, coast | Golden Age - Ottoman |
| Latin American | Spanish/Portuguese cadence | San-, Villa-, Puerto- | -ares, -Γ³polis, -agua | Jungle, highlands, coast | Colonial - Modern |
| Fantasy | Invented, mixed phonemes | Zyr-, Thal-, Ael- | -rion, -dara, -morath | Any (magical landscapes) | Mythic - Timeless |
| Population Distribution Parameters | |||||
| Village | P < 1,000 | Agricultural, single trade route | |||
| Town | 1,000 β€ P < 25,000 | Market center, basic fortification | |||
| City | 25,000 β€ P < 500,000 | University, cathedral, multiple gates | |||
| Metropolis | 500,000 β€ P < 5,000,000 | Industrial hub, international port | |||
| Megacity | P β₯ 5,000,000 | Sprawl, multiple districts, metro system | |||
| Climate & Terrain Correlations | |||||
| Tropical | Dense jungle, river delta | High biodiversity, monsoon risk, port likely | |||
| Arid | Desert, canyon, mesa | Oasis-dependent, caravan routes, low density | |||
| Temperate | Forest, plains, river valley | Agriculture-rich, moderate population | |||
| Continental | Steppe, mixed forest | Harsh winters, fortified settlements | |||
| Polar | Tundra, ice shelf | Sparse population, resource extraction | |||
| Oceanic | Coastal cliffs, archipelago | Maritime economy, naval tradition | |||
| Mediterranean | Sun-baked coast, olive groves | Trade hub, cultural crossroads | |||
| Mountain | Alpine peaks, highland plateau | Defensible, isolated, mining economy | |||