Random/Generator
Geography Tool

Random City Generator

Discover cities from around the world with population data and continent filtering.

Choose your options and press Generate to discover random cities.

What is a Random City Generator?

Created & reviewed by Chad Solomon

Last reviewed 12 June 2026

A random city generator picks cities from around the world. It pulls them from our large database. The tool includes major cities from every continent. Each city comes with population data. Use it for travel ideas, geography lessons, and creative projects.

How to use this random city generator

  1. Choose your continent preference: any continent or specific regions
  2. Set how many cities you want to generate (1-10)
  3. Click "Generate" to discover random cities instantly
  4. View city details including country, continent, and population data
  5. Copy results to clipboard with one click

Common Uses for Random City Generation

Travel & Exploration

  • Travel destination inspiration
  • Bucket list creation
  • Random trip planning
  • Cultural exploration ideas

Education & Learning

  • Geography education and quizzes
  • World awareness activities
  • Cultural studies research
  • Population and urbanisation studies

Creative Projects

  • Story and novel settings
  • World-building for games
  • Photography project ideas
  • Virtual travel experiences

Games & Activities

  • Geography trivia games
  • Travel-themed party games
  • Educational icebreakers
  • Random challenge generators

City Database by Continent

Asia & Middle East

Includes major cities like Tokyo, Delhi, Shanghai, Singapore, and Bangkok. Each one has its own culture and fast-growing cities.

Europe

Historic cities such as London, Paris, Rome, and Berlin. Each one has rich history and famous buildings.

Americas

Cities like New York, Los Angeles, São Paulo, and Buenos Aires. They show off many cultures across North and South America.

Africa & Oceania

Includes lively African cities like Lagos and Cairo. It also covers Australian and New Zealand cities.

Related Tools

Explore more geography and creative generation tools:

How the Random City Generator Works

When you press Generate, the tool calls JavaScript's Math.random() to pick a position in the city list at random. If you have chosen a continent filter, the full 75-city pool is narrowed to that continent first — then one city is drawn from those results. Because the index is chosen with a uniform distribution, every city within the active filter has exactly the same probability of appearing; large cities like Tokyo are no more likely to appear than smaller ones like Montevideo.

Generation runs entirely in your browser — nothing is sent to a server, and no result is logged or stored. For a plain-language explanation of how uniform random sampling works, the Wikipedia article on the discrete uniform distribution is a useful starting point.

Example Cities This Tool Can Produce

To give you a sense of the variety on offer, here are three real entries drawn from different continents:

  • Jakarta, Indonesia — the largest city in the database by population (35.4 million), drawn from the Asia pool. Selecting "Asia" as your continent makes results like this more likely.
  • Buenos Aires, Argentina — a South American capital with a population of 15.4 million. A good example of the kind of major regional hub the tool surfaces when "South America" is chosen.
  • Wellington, New Zealand — one of the smaller cities in the database at 420,000 people, showing that the tool is not biased toward megacities; every Oceania city shares equal selection weight.

City Database at a Glance

The table below shows how many cities are available per continent and highlights the population range within each region:

City counts and population range by continent
ContinentCitiesSmallest populationLargest population
Asia151.5 million (Kathmandu)37.4 million (Tokyo)
Europe151.2 million (Brussels)11.0 million (Paris)
North America15650,000 (Las Vegas)22.5 million (Mexico City)
South America101.7 million (Montevideo)22.6 million (São Paulo)
Africa102.3 million (Tunis)21.8 million (Cairo)
Oceania10178,000 (Suva)5.4 million (Sydney)

Frequently Asked Questions

Q.How many cities are in the database?

The database holds 75 cities spread across six continents — 15 each in Asia, Europe, and North America, and 10 each in South America, Africa, and Oceania. Every city has a country and population figure attached.

Q.Can I filter cities by continent?

Yes. Use the continent option to restrict results to Asia, Europe, North America, South America, Africa, or Oceania. Leave it on 'Any Continent' to draw from the full 75-city pool.

Q.Does every city have an equal chance of being picked?

Within the selected continent filter, yes — every city has an equal chance. The tool uses JavaScript's Math.random() to index into the filtered list, so no city is weighted above any other.

Q.How many cities can I generate at once?

You can generate between 1 and 10 cities per click. Use the count option before pressing Generate to set the batch size.

Q.What information does each city result show?

Each result displays the city name, country, continent, and population figure (where available). You can copy the city name to your clipboard with one click.

Q.Is the population data current?

Population figures are approximate and based on recent urban-area estimates. They are intended as reference context rather than precise census counts. For the latest figures, check a source such as the United Nations World Urbanization Prospects.

Q.Does the tool save or track the cities I generate?

No. All generation runs in your browser and nothing is sent to or stored on a server. Your results stay entirely private.

Q.Can I use the generated cities in a commercial project?

Yes. City names are geographic facts and carry no copyright. You are free to use any results in games, stories, apps, educational materials, or any other commercial or personal project.