Random City Generator

Press New city for a random world city with its country, population, elevation and time zone. 716 cities: every city of a million or more people, plus every capital.

Flag of Portugal

Lisbon

Portugal

Country or territory
Portugal
Continent
Europe
Capital
Yes
Population
517,802
Elevation
68 m
Coordinates
38.73° N, 9.15° W
Time zone
Europe/Lisbon

Sources: GeoNames (CC BY 4.0)

716 cities in the library

Favourites (this browser only)

    Press ♡ on a card to keep it here.

    Shown so far (this visit only)

    Nothing yet. Results appear here.

      Quick answer: each press picks one of 716 cities with an equal chance. That includes 241 capitals. Tick Capitals only for a capital-city quiz, or filter by continent or country.

      Examples

      Flag of Kenya

      Nairobi

      Kenya

      Country or territory
      Kenya
      Continent
      Africa
      Capital
      Yes
      Population
      4,397,073
      Elevation
      1,684 m
      Coordinates
      1.28° S, 36.82° E
      Time zone
      Africa/Nairobi

      Sources: GeoNames (CC BY 4.0)

      Flag of Uruguay

      Montevideo

      Uruguay

      Country or territory
      Uruguay
      Continent
      South America
      Capital
      Yes
      Population
      1,270,737
      Elevation
      34 m
      Coordinates
      34.90° S, 56.19° W
      Time zone
      America/Montevideo

      Sources: GeoNames (CC BY 4.0)

      Flag of Japan

      Osaka

      Japan

      Country or territory
      Japan
      Continent
      Asia
      Population
      2,753,862
      Elevation
      4 m
      Coordinates
      34.69° N, 135.50° E
      Time zone
      Asia/Tokyo

      Sources: GeoNames (CC BY 4.0)

      Flag of Canada

      Toronto

      Canada

      Country or territory
      Canada
      Continent
      North America
      Population
      2,794,356
      Elevation
      92 m
      Coordinates
      43.65° N, 79.38° W
      Time zone
      America/Toronto

      Sources: GeoNames (CC BY 4.0)

      Cities per continent

      Because the list covers every city of a million people or more, continents with many large cities, especially Asia, come up more often. Filter by continent to even it out.

      ContinentCities
      Asia393
      Africa99
      North America75
      Europe74
      South America41
      Oceania32
      Antarctica2

      Ideas

      • Capital quiz: tick Capitals only and name the country before revealing the card.
      • Travel dreaming: pick a city and find three things to do there.
      • Time zone maths: work out what time it is in a random city right now.

      What’s included

      Every city with a population of at least 1,000,000 in GeoNames, plus every capital (of a country or territory) whatever its size. Countries and territories are named as GeoNames names them, with no other political judgement. The library currently holds 716 cities.

      Where the facts come from

      Before publishing, the imported data goes through these review rules:

      • Cities are shown with the country or territory GeoNames assigns them to.

      Deliberately left out:

      • Population year: GeoNames does not record the year of each population figure; figures are for the city itself, not the wider metropolitan area.

      Data version cities-2026-12-01, imported 1 December 2026. Figures such as population change over time, so the year is shown where it matters. Each card links to its sources.

      Questions

      Why does a population look low?

      GeoNames gives the population of the city itself, not the wider metropolitan area, which can be several times larger. It doesn’t record the year of each figure.

      Why are there so many cities in China and India?

      They have far more cities of a million or more people than anywhere else. Use the continent or country filters to focus elsewhere.

      How do you decide which country a city is in?

      We use the country or territory GeoNames assigns. That’s why places such as Hong Kong are listed under their own name.

      Page reviewed 1 December 2026.