Random City Generator

Draw up to ten real cities at a time from 326 across six regions. Each card shows the country, ISO code, population, and map coordinates, ready to copy as a list, CSV, or JSON.

Region

5 of 326 · Anywhere · Any size

  1. CN

    Chongqing

    also Chungking

    China Asia

    Population
    32.1M
  2. FRCapital

    Paris

    France Europe

    Population
    2.1M
    Lat, Lng
    48.86, 2.35
  3. PHCapital

    Manila

    Philippines Asia

    Population
    1.8M
  4. CACapital

    Ottawa

    Canada North America

    Population
    1.02M
  5. ISCapital

    Reykjavík

    also Reykjavik

    Iceland Europe

    Population
    140K

No repeats inside one draw.

Why the first five look odd

The page opens on a fixed set of five cities, picked because each one breaks an assumption about city data. Press Generate cities and they give way to a random draw.

  1. Chongqing, 32.1M. Bigger than Tokyo on this list. The number covers the whole municipality, about 82,000 km² of towns and farmland, close to the area of Austria. The built-up core holds a fraction of those people.
  2. Paris, 2.1M. France counts the commune inside the ring road. The wider metro area runs to about 13 million, six times as many.
  3. Manila, 1.8M. The capital is one of 16 cities in Metro Manila, and Quezon City next door is bigger.
  4. Ottawa, 1.02M. Canada's capital trails Toronto, Montreal, and Calgary.
  5. Reykjavík, 140K. The northernmost capital of a sovereign state, at 64.15° N, with an accented í most keyboards lack.

City proper, metro, and the number you want

Ask three sources for the population of one city and you get three answers. None is wrong. Each draws the border in a different place.

Every row here uses the headline figure the country's own statistics office publishes. For most cities, the city proper. For Australia, the Greater Capital City area. For Beijing, Shanghai, and Chongqing, the whole municipality.

For a ranking, pull every number from one source with one definition, such as the UN World Urbanization Prospects. Mixing sources gives tables where Paris looks smaller than Lima.

Figure on this page vs the wider area
CityHereWider area
Paris2.1Mabout 13M metro
Manila1.8Mabout 13.5M Metro Manila
New York City8.3Mabout 19.5M metro
Tokyo14Mabout 37M Greater Tokyo
Sydney5.4Mthe City of Sydney council: about 210K

23 capitals outgrown by a city at home

Tick Capitals only and the results skew small, because many countries put the government somewhere other than the biggest city. In this pool, these capitals trail a larger city in the same country:

CapitalBigger citySize gap
New Delhi 250KDelhi 16.8M67×
Yamoussoukro 360KAbidjan 5.6M16×
Islamabad 1.2MKarachi 16M13×
Abuja 1.2MLagos 15.4M13×
Washington 690KNew York City 8.3M12×
Canberra 470KSydney 5.4M11×
Wellington 215KAuckland 1.7M7.9×
Dodoma 770KDar es Salaam 5.4M7×

Countries with two capitals, or none

Using the cities as test data

Copy CSV and Download CSV both give a header row plus one line per city, in this order:

name,aka,country,iso2,region,lat,lng,population,capital

Copy JSON gives an array of objects with the same nine keys. Population is a plain integer and capital is true or false, so neither needs parsing.

Key on name plus country, never name alone

Hyderabad (IN) / Hyderabad (PK) and San Jose (US) / San José (CR) share a name inside this pool alone. Beyond the pool, Springfield names a city or town in dozens of US states. A lookup table keyed on the city name breaks on the first collision.

Rows worth forcing into a test run

What sits in each region

The pool holds 326 cities from 154 countries and territories. 71 of them lie south of the equator. Regions follow the UN M49 scheme, so Istanbul, Baku, and Tbilisi count as Asia, and Central America with the Caribbean counts as North America.

RegionCitiesCapitalsLargestSmallest
Africa4733Kinshasa 15.6MVictoria 26K
Asia8837Chongqing 32.1MSri Jayawardenepura Kotte 110K
Europe7741Moscow 13.1MVatican City 800
North America5617Mexico City 9.2MBelmopan 25K
South America3512São Paulo 11.5MUshuaia 82K
Oceania2311Sydney 5.4MFunafuti 6,300

Filter combinations worth a try

Oceania, capitals only, under 1M 11 cities
Capitals from Canberra down to Funafuti, population about 6,300. A good round for anyone who thinks they know their capitals.
Asia, 10M and up 18 cities
Chinese municipalities take most of the slots, for the reason covered above. Swap to 5M to 10M for a more mixed list.
Europe, capitals only 41 cities
Every European capital in the pool, Vatican City included. Set the count to 10 and read the list aloud as a quiz.

Where the data falls short

Random city questions

How many cities does the generator pick from?

326 cities in 154 countries and territories, spread over six regions. 151 of them are national capitals. The rest are the largest non-capital cities of their countries, plus a few small ones kept for contrast, such as Ushuaia and Queenstown.

Are bigger cities more likely to come up?

No. Every city in the filtered pool has the same odds, so Funafuti, population about 6,300, comes up as often as Tokyo. Use the size band to tilt the draw toward large or small places.

Why is Chongqing bigger than Tokyo here?

The figure for Chongqing covers the whole municipality, an area close to the size of Austria with large rural districts. Tokyo is counted as Tokyo Metropolis, 14 million, not the 37 million of Greater Tokyo. Each row uses the headline number its own statistics office publishes, and those borders differ.

Is there a filter for one country?

No. Most countries in the pool have one to three cities, so a country filter would return the same handful every time. Use the region chips, or a country-level tool such as the random US state or address generators for deeper lists.

Will the same city appear twice in one draw?

Not within one draw. Each batch of up to 10 is drawn without repeats. Across separate draws, repeats are normal because every press starts from the full filtered pool again.

What format are the coordinates in?

Decimal degrees, latitude first, rounded to two places. Two decimals put the point within about a kilometer of the city center. The map link opens the point on OpenStreetMap.