Skip to content

World cities database

Download FREE sample:
World Cities Database .XLSX

Buy FULL city database:

The world cities database is an original product “Made by Teoalida” that you will NOT find elsewhere on internet, compiled by me since 2003 and gradually expanded over years, based on Microsoft Encarta Encyclopedia, having all data from a single source guarantee a harmonized database of cities from every country of the world.

I also offer a 3-million city database given by a friend with permission to sell via my website. Don’t forget to check other databases made by me (100+ databases).

Source of data: Microsoft Encarta Encyclopedia

I started compiling this list in 2003, independently from internet world, based on Microsoft Encarta Encyclopedia 2002. When I connected to internet in 2005 I abandoned this database because the internet was already providing information about city population, but seeing that other databases made by me attracted attention from businesses and web developers, I revived city database in 2015, updated existing countries and added remaining countries using Encarta 2009 and I published on my website for sale to professional use, and afterwards I gradually expanded it to include more smaller cities.

I finalized adding all cities over 20,000 people in May 2021 update. At same time I made a script to input city and country name in gps-coordinates.net to automatically add latitude and longitude (may sound LAME but I didn’t knew other way to do faster, do you know?). Some cities don’t have exact location because city name was not recognized and coordinates were added on center of country, having to correct coordinates manually.

Encarta is the best encyclopedia I ever seen. I like its World Atlas, dynamic maps generated with the same engine that powered Microsoft MapPoint software, you can change map format: comprehensive, political, physical features, statistical, Earth by day, Earth at night, Tectonic, Ecoregions, Climate, temperature (January, July), precipitation (January, July, annual), population density, languages, religions, timezones, outline, the moon. There is NO other map service able to do this.

Microsoft discontinued Encarta in 2009, both CD / DVD and online version, but there are many third-party websites where you can download Microsoft Student & Encarta Encyclopedia.

I classified cities according population icons used by Encarta Encyclopedia 2009, irrespective of legal status (city, town, unincorporated community), which vary from country to country so making a single worldwide database of official “cities” excluding towns, communes, villages and other places pose major troubles, especially since few countries does not have any “city”. Having all data from a single source guarantee a harmonized database of major cities for all countries of the world.

Consequently, number of cities in each country is nearly proportional with country urban population, in average for every 800,000 people living in urban areas, there is 1 city with population over 100,000.

Database include 16948 cities classified by 7 categories according Encarta population icons:

  • 295 cities over 1,000,000
  • 308 cities 500,000 – 999,999
  • 3101 cities 100,000 – 499,999
  • 12810 cities 20,000 – 99,999
  • 374 cities 5,000 – 19,999
  • 46 cities 1 – 4,999
  • 14 other cities

Database contain every city over 20,000 people (first 4 categories), for the next 3 categories I included only if they are capital of country or first-level administrative divisions, or if they have an article.

Exact population is sourced from Encarta articles for each individual city (if available), or from country facts and figures at largest cities, or from dictionary. A column next to population indicate source. Year of population is also indicated, the letter after year means C = census, E = estimate. Encarta Encyclopedia 2009 provide 2007 estimates for most cities over 500,000 people, while for smaller cities it usually indicate population from last census.

Population icons do not always reflect population indicated in city article. For example some cities with icon of 1,000,000+ have population around 900,000, some cities with icon of 500,000 – 999,999 have population over 1 million. Outside Europe, Australia, Canada and United States, most cities under 100,000 do not even have article to indicate exact population.

Based on feedback from customers, I realized that most purchased city database for web development, making drop-down boxes for country > state / province / region / county > city… thus population figures are not required, but classifying cities by population is helpful to shortlist database to major cities if you need.

How many cities do you need?

Country capitals only
Country capitals and state/region capitals (note: 33 of 50 US states capitals are NOT largest city in state)
All cities/towns/places over 100,000 people, regardless of legal status
All cities/towns/places over 20,000 people, regardless of legal status
Top 5-10 most populous cities/towns/places from each country, regardless of population group
All and only cities that have legal status of “city”, regardless of population group (note: Italy do not have any “city”, instead it have 7954 “communes”)
As many places is possible regardless of their legal status (cities, towns, neighborhoods, communes, villages, etc)
Other
Please Specify:
 
 
 
 
 
 
Created with Poll Maker

Countries included

191 independent countries: Afghanistan, Albania, Algeria, Andorra, Angola, Antigua and Barbuda, Argentina, Armenia, Australia, Austria, Azerbaijan, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bhutan, Bolivia, Bosnia, Botswana, Brazil, Brunei, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Central African Republic, Chad, Chile, China, Colombia, Comoros, Congo, Costa Rica, Côte d’Ivoire, Croatia, Cuba, Cyprus, Czech, Democratic Republic of the Congo, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Federal Republic of Yugoslavia, Federated States of Micronesia, Federation of Saint Kitts and Nevis, Fiji Islands, Finland, Former Yugoslav Republic of Macedonia, France, Gabon, Georgia, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Mauritania, Mauritius, Mexico, Moldova, Monaco, Mongolia, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, New Zealand, Nicaragua, Niger, Nigeria, North Korea, Norway, Oman, Pakistan, Palau, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Poland, Portugal, Qatar, Romania, Russia, Rwanda, Saint Lucia, Saint Vincent and The Grenadines, Samoa, San Marino, Sao Tomé and Príncipe, Saudi Arabia, Senegal, Seychelles, Sierra Leone, Singapore, Syria, Slovakia, Slovenia, Solomon Islands, Somalia, South Africa, South Korea, Spain, Sri Lanka, Sudan, Suriname, Swaziland, Sweden, Switzerland, Tajikistan, Tanzania, Thailand, The Bahamas, The Gambia, Togo, Tonga, Trinidad Tobago, Tunisia, Turkey, Turkmenistan, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom, United States, Uruguay, Uzbekistan, Vanuatu, Vatican City, Venezuela, Vietnam, Yemen, Zambia, Zimbabwe.

Plus dependent territories.

Administrative divisions (states, regions, provinces, etc) are included for 56 of the 73 possible countries, second-level administrative divisions are included for Belgium, France, Greece, Italy, Spain, United Kingdom, United States.

World cities database history

Geography fascinated me since kindergarten years, studying the geographic atlases I had at home, at 6 years old I already knew all countries, capitals and other major cities. Since 1998 been writing in Microsoft Word few things such as list of countries, lists of natural features, seas, rivers, etc, and astronomy-related stuff. Sourcing data from atlases and typing on computer, but resulted database was outdated because atlases were bought when my parents were school age (1970s).

In 2003 I got from a friend a CD-ROM with Encarta Encyclopedia 2002, it was the ONLY recent geography encyclopedia I could obtain, and started in Microsoft Word what was planned to become a list of cities from all countries.

2003-2005 – I compiled list of cities of Europe, former USSR countries, Middle East and Africa. Encarta 2002 (standard version?) world atlas show only principal cities (over 20.000 people) and I wanted to include ALL them in my Excel, but to speed up work, in first stage I included only cities over 100.000 people for the big countries of Western Europe.

I connected to internet in 2005, moment in which I abandoned many childhood projects because the internet (especially Wikipedia) provided up-to-date population numbers. I migrated to other hobbies such as architecture, without finishing World Cities project as intended (to include all cities over 20,000 people from EVERY country). I still continued few childhood projects such as Car Database because it had no equivalent on internet.

2006-2007 – I added cities from China, Japan, Mexico, etc, using Encarta 2006 Premium version with World Atlas having a lot more entries, so I decided to stick on cities over 100,000+ people for the remaining countries. Then I let the city database abandoned.

In 2012 I discovered that I can make business from selling car databases to companies in automobile industry and web developers, and started publishing other databases on website. I was wondering if Word Cities (Word file) if converted to Excel, may be useful for web developers.

In 2015 I published on website a SAMPLE in Word (only Italy), with a message invited people to contact me if they wants the Word file for FREE, or Excel conversion as paid service.

Over next months I completed remaining countries from Asia, North and South America, including cities over 100,000 people, using Encarta 2009 (last Encarta).

August 2016 – first person contact me to ask for city database. An Indian wanted list of cities in Excel, I offered him to convert the Word to Excel but he was not patient and asked me to give what I currently have (the Word file).

However, I started converting it to Excel to be ready for sale when next customer is coming. I created 2 Word files, both containing all countries, LITE one containing cities over 100,000 and BIG one contain cities over 20,000 by province, plus an Excel file similar with Word BIG file, and put them for sale so people can make payment and get database emailed instantly. Also expanded the article to get more traffic from Google.

By November 2017, 5 people purchased it, and I published an update with more cities, I was planning to add even more cities if sales improve, but they remained low.

Since late 2019 traffic on this particular page (and sales) started rising, reviving my interest in this project. In October 2019 I added a 3-million city database from a friend. The 3-million city database did not got a single sale as May 2020, while the original Encarta-based database with 8000 cities got 6 sales during 1 month of May 2020. Conclusion: more cities does NOT mean more sales. In March 2020 also I added a poll so people can vote what they needs.

Despite of customers’ lack of interest in more cities, I published a new update in June 2020 with 2000 more cities, completing Western Europe in terms of 20,000 – 100,000 cities. It looked awful to have 369 cities from Poland (all cities over 20,000) and only 39 cities from France (only cities over 100,000). I added 1 more column beside population that indicate where I sourced population from, previously the cities having population taken from other source than city article had a note in ( ) in city name column (may have posed a problem for programmers who bought this database for web development), I also added 4 columns that allow easy filtering of database and show country capitals only, capitals of states / regions / provinces, top 5 cities by country, etc, so I can sell multiple Excel packages at various prices.

By end-2020 over 30 people purchased. Strangely 90% customers just made payment and downloaded file without any communication with me, while 90% people contacting me did not turned into customers. Along people who contacted me, were some asking for free databases (disrespecting my efforts) or some willing to pay but wanted additional data that I could not offer (example: few wanted neighborhoods, or even list of streets in each city, or asked things completely offtopic: one idiot asked for phone numbers from a particular CITY) but also people who wanted a simple database of cities sorted by country and state, which is exactly what I offer but for unknown reasons they never purchased. Without feedback from actual customers who purchased, I risk to not take right decisions at future database updates. I only suspect that most of my customers were programmers and web developers.

Depending by number of sales and feedback from customers, I may add 20,000 – 100,000 cities for remaining countries too.

A new update started in March 2021, added ~1000 more cities from Latin America, reached 12,700+ cities, next week did the same for China, India, etc.

May 2021, added ~1600 cities from United States, reaching final figure of 16948 cities.

3 million cities, towns and villages, all with latitude and longitude

Download FREE sample:

3 million cities, towns, villages SAMPLE.xlsx.

Buy FULL database:

One of my programmer partners has shared with me a HUGE world city database with over 3 million rows in CSV format, with permission to sell via my website.

The database include 3,173,958 lines from 234 countries. Each row include GPS coordinates. 47980 lines include also city population. The remaining lines we can assume that are towns, villages or other insignificant places so that is why population is not known.

There is a column “Region” that shows a number, I believe that this was relational with another file Region ID + Region Name but my programmer don’t have that other file. How he obtained this file without other file remains a mystery. I counted about 3700 countries / region combinations, in theory I can region IDs with actual names myself, is just a matter of time.

Excel can display max 1,048,576 rows, consequently I had to split CSV file into 4 sheets to be displayed in Excel, where I added borders and colors to match the style of other databases “Made by Teoalida” and made a statistics sheet with formulas to count number of cities by country. Feel free to combine them, or I can give original CSV file if you want to import in a SQL database or whatever…

Another world city database

In November 2017 one customer gave me his world city database in exchange of a database made by me, with permission to resell it on my website.

This world city database contains 76,799 cities, sorted by 212 countries, 51 US states, 13 Canadian provinces, 4 UK countries. For other countries it do not contain administrative divisions. The database focus primarily on United States, as it contains 43,299 cities from US compared with 33,500 cities from rest of world. Price: 1 dollar per 1000 cities.

Download FREE sample:

WorldCitiesDatabase-SAMPLE.xlsx

Buy FULL database:

Other geography stuff made by me

In 1998-2003 I also wrote lists of natural features, seas, rivers, etc, and astronomy-related stuff…. all in Word. I started using Excel more than Word in 2003. Today I consider them useless because such info exist for FREE on Wikipedia and is not necessary to make my own databases.

Does anyone know where I can find a complete list of US counties and cities? I do not really need download-able format, you can tell me a website where I can extract data from using an automated script.

Free data from government

Most countries provide open data for free download on their government / census websites, example:

https://www.istat.it/it/archivio/156224 – list of communes in Italy.

https://www.destatis.de/DE/Themen/Laender-Regionen/Regionales/Gemeindeverzeichnis/Administrativ/05-staedte.html Deutchland Städte nach Fläche, Bevölkerung – list of 2058 cities in Germany.

http://censusindia.gov.in/Tables_Published/Admin_Units/admin.html – List of Towns in India – 5161 towns.

Some governments may provide also ZIP codes or PIN codes for free. geodatasource

Now, my plan is to take open data from government websites (or scrap from Wikipedia for countries where there is no data available from government), compile all countries into a single database and offer it as paid download for efforts of compiling. With ~200 countries in the world, this may be a huge effort. Census year vary from country to country so I will probably not include city population. Next problem is that, if I stick database to cities only, Romania would have 320 cities but Italy will have 0. If I include 7954 communes of Italy, I will probably need to include also the 2861 communes of Romania and not just 320 cities. If anyone is interested in this project, or have suggestions how to make it better, please contact me!

For example: Romania have officially 103 municipalities and 217 towns, but my database include 116 cities that have icon of 20,000+ population in Encarta Encyclopedia. Germany have 2058 “towns”, Italy have 7954 “communes”, Spain have 8122 “municipalities”. Italy and Spain do not have “city” or “town” designation. If I would source data from census websites of each country, or Wikipedia, harmonizing all countries into a single database would be a HELL.

13 comments

  1. Do you mind if I quote a few of your articles as long as I provide credit and sources
    back to your website? My blog site is in the exact same
    niche as yours and my visitors would certainly benefit from
    some of the information you present here. Please let me know if this ok with you.

    Regards!

  2. Chat started on Monday, October 08, 2018 2:17:07 PM

    (2:17:07 PM) *** Visitor 91355061 has joined the chat ***
    (2:17:09 PM) Teoalida (site owner): Hi there… are you looking for a specific database? you are welcome for a chat!
    (2:27:33 PM) Visitor 91355061: Yes i need a complete list of cities
    (2:28:32 PM) *** Teoalida has joined the chat ***
    (2:28:36 PM) Teoalida: is my database complete enough?
    (2:28:38 PM) Teoalida: 8000+ cities
    (2:28:55 PM) Visitor 91355061: it has unwanted list.
    (2:29:07 PM) Teoalida: too many cities?
    (2:30:16 PM) Teoalida: how many cities do you need?
    (2:30:31 PM) Teoalida: do you need cities over certain population or…?
    (2:30:39 PM) Visitor 91355061: for example in italy it states that there are 460 cities
    (2:30:48 PM) Visitor 91355061: however, actually there are 160 cities only
    (2:32:17 PM) Teoalida: where did you got 160 cities figure?
    (2:32:27 PM) Teoalida: in Romania are 103 municipalities and 217 cities
    (2:32:36 PM) Teoalida: maybe similar situation is in Italy
    (2:33:08 PM) Teoalida: my database include all cities with 20.000+ icon in Encarta Encyclopedia regardless of administrative status (because status vary from country to country)
    (2:34:18 PM) Teoalida: I am thinking to make another database having only places that are officially designated as city, but because definition of city vary from country to country, it’s a hell of troubles
    (2:42:45 PM) Teoalida: https://it.wikipedia.org/wiki/Suddivisioni_dell%27Italia Alla data del 1º marzo 2017 i comuni italiani sono 7.982
    (2:54:12 PM) *** Visitor 91355061 has left ***

    I want your proofs that Italy have 160 cities because I googled and can’t find any evidence of this!

    1. Can you take a look again? Jackson is included under Mississippi, proof: https://imgur.com/a/itpxSRy

      What is missing are the 20,000 – 100,000 cities from United States, because I added American countries more recently, and the low sales of city database (compared with other databases made by me) discourage me from spending more time on this project to expand database to smaller cities as I did for Europe years ago when I was not so busy like now.

      I also don’t see any purchase on your email address, when did you purchased it? Or do you want me to create a new database just for United States by scraping data from https://population.us ?

  3. Chat started on Wednesday, September 18, 2019 3:27:53 PM

    (3:27:53 PM) *** Visitor 89571760 has joined the chat ***
    (3:27:55 PM) Teoalida (site owner): Hello visitor from India, are you looking for a specific database? Let me know if I can help you!
    (3:29:26 PM) Visitor 89571760: List of world countries, state, city database
    (3:29:39 PM) *** Teoalida has joined the chat ***
    (3:29:42 PM) Teoalida: how many cities do you need?
    (3:30:36 PM) Visitor 89571760: Europw, US, Canada till cities, rest of the world till state
    (3:31:27 PM) Teoalida: as you can see I have 2 databases, one with ~8000 cities that include states/provinces too and one with 76799 that do not include state/provinces
    (3:32:49 PM) Visitor 89571760: EUROPE, US, CANADA TILL CITIES (COutry, state, city) and rest of the world country, state
    (3:34:28 PM) Teoalida: can you check my samples to see if my databases suit your needs?
    (3:35:24 PM) Teoalida: https://www.teoalida.com/database/World-Cities-Database-by-Teoalida-SAMPLE.xls
    (3:35:59 PM) Visitor 89571760: You do not have pincode
    (3:36:35 PM) *** Visitor 89571760 has left ***

    You quit too fast before allowing me to reply that pincode is ONLY in India so that’s why I don’t have it in my WORLDWIDE database. Pin code is provided FREE by http://censusindia.gov.in/Tables_Published/Admin_Units/admin.html and https://data.gov.in/catalog/all-india-pincode-directory?filters%5Bfield_catalog_reference%5D=85840&format=json&offset=0&limit=6&sort%5Bcreated%5D=desc

    1. You are not the first person who ask this. First time someone asked me for a database with countries and states/regions WITHOUT CITIES I sold him as custom package for $20 extracted from full city database, and now seeing YOU I think that there might be other people needing same thing… I posted today on website just below city database.

      Note: state/region database do not have visual enhancements and because I wrote up database focusing on CITIES, administrative divisions aren’t included for some countries (example: in Central America I added 20-100k cities and administrative divisions in May 2020 update, while at the time I added South American 100k+ cities in 2016, I considered only Brazil to be big enough to split up cities by administrative division), I will do another update in a week or two to complete South America 20-100k cities and give free update to all past customers… right now busy with more expensive projects: https://www.teoalida.com/cardatabase/updates/

      1. Today I bought the Country & States/Region without cities database. Thank you for adding this as an option to download.
        Can you please confirm to me when this was last updated. I noticed that the new regions of Denmark are not in the list.

        1. Last update is June 2020, but whole database been based on Microsoft Encarta 2009, and I wasn’t aware of https://en.wikipedia.org/wiki/Municipalities_of_Denmark#Municipal_reform_of_2007 until you told me. Looks that Microsoft wasn’t aware of it either.

          On 5-7 March 2021 I did an update adding another 2000 cities. There are 5 countries left to complete cities between 20.000 – 99.999 people and I will publish update after completing them (including GPS coordinates). Probably the final update for this project started 17 years ago.

Leave a comment

Your email address will not be published. Required fields are marked *