World cities database

An original product “Made by Teoalida” that you will NOT find elsewhere on internet, compiled by me since 2003 and 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, from a friend, with permission to sell via my website. Don’t forget to check other databases made by me (100+ databases).

Download FREE samples:

World Cities Database .XLSX

Buy FULL city database:

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.

June 2020 update contains ALL cities indicated by Encarta 2009 to have population 100,000+ (3695 cities) plus 20,000 – 100,000 cities from most countries.

Sales of city database been in 2017-2019 far lower than other databases made by me, but they rose in 2020 and if more people continue to buy $60 package AND require more cities, I will expand database including cities with population 20,000 – 100,000 from remaining countries: Canada, United States, Mexico, all South America, China, India, Pakistan, Bangladesh (20 big countries that already have over 30 cities over 100,000 people so I left 20,000 – 100,000 cities for later time), once complete cities over 20,000 people from ALL countries I estimate that database will have about 15,000-20,000 cities.

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)
Please Specify:
Created with Poll Maker

Download FREE samples (2017 edition):
World Cities Database simple version .DOC
World Cities Database detailed version .DOC
World Cities Database detailed version .XLS

Buy FULL city database (2017 edition):

Note for city classification and population

Cities are classified according icons used by Encarta Encyclopedia 2009, the icons do not always reflect population indicated in city article. For example there are cities with icon of 1,000,000+ but having population around 900,000, as well as cities with icon of 500,000 – 1,000,000 but having population over 1 million. Most cities under 100,000 do not even have article to indicate exact population. This was Encarta Encyclopedia, the only resource of information I had at the moment I started this database in 2003.

Even after connecting to internet in 2005 I kept expanding my database using Encarta because it is best encyclopedia ever. 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.

I sourced city population 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.

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

The database does NOT take in consideration legal status of city, 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”.

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.

Classifying cities according Encarta Encyclopedia helped me to make a harmonized database all over 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.

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, while for United States I will add in a future update.

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 have a limited amount of cities shown on map so I was planning to include ALL cities shown on map, meaning cities over 20.000 people, but for biggest countries of Europe would have been too many so I have included only cities over 100.000 people.

I connected to internet in 2005, moment in which I abandoned many self-made projects, the internet (especially Wikipedia) provided up-to-date population numbers and updating my table constantly is a waste of effort. I left geography and migrated to other hobbies such as architecture, without finishing the list of World Cities as intended (to include all cities over 20,000 people from EVERY country). I still continued few projects such as Car Database because I could not find anything equivalent on internet.

2006-2007 – I included few more countries: China, Japan, Mexico, etc, using Encarta 2006 Premium version having a lot more cities shown on map, would take a lifetime to include all, 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. Following the success with car database, I published other databases made by me on this website. Been wondering if World Cities project (Word file), if converted to Excel, may be useful for web developers for CSV and MySQL databases. I published for the first time the incomplete city database on my website, one-country SAMPLE, inviting people to contact me if they wants the Word file for free, or Excel conversion as paid service.

I published the incomplete city database in 2015 and in 2016 I updated all countries to Encarta 2009 and offer an Excel version beside Word file.

2015 – given by the success of one of my other hobbies: Car Database which turned into a business by selling Excel databases to companies and web developers, I started questioning whenever the World Cities hobby, if converted to Excel, may be useful for web developers for CSV and MySQL databases. I published for the first time the incomplete city database on my website, one-country SAMPLE, inviting 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). I created 2 Word files, one for all countries including cities over 100,000 (60 pages) and one for 20 biggest countries, including cities by province over 20,000 or 100,000 depending by case (70 pages).

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 the Excel file similar with Word BIG file, and put them for sale so people can buy directly (instead of contacting me to get complete database). Also expanded the article to get more traffic from Google.

By November 2017, 5 people purchased it, reason for which in November I published an update adding more cities from specific countries. Poor sales of city database made me to abandon this project and focus on other databases with higher sales volume.

In October 2019 I added a 3-million city database from a friend.

Traffic on this particular page rose greatly starting from late 2019 and this revived my interest for this project.

In May 2020 alone, 6 people purchased my 8000-city database based on Encarta Encyclopedia while 3-million city database did not got a single sale since I published it in October 2019. In conclusion: offering databases with more number of cities does NOT mean more sales. Strangely 90% customers just made payment and downloaded file without any communication with me, while people who contacted me usually 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 far more data that I could offer myself. Without feedback from customers who actually bought my database, I risk to not take right decisions at future updates of this database. I only suspect that most of my customers were programmers and web developers.

In March 2020 I added a poll so people can vote what they needs.

In June 2020 I launched an update, 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.

Despite that nobody demanded more cities, I decided to complete 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). Depending by number of sales and feedback from customers, I may add 20,000 – 100,000 cities for remaining countries too (North and South America, China, India, Australia, etc).

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

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…

Download FREE sample:

3 million cities, towns, villages SAMPLE.xlsx.

Buy FULL database:

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:


Buy FULL database:

Other geography stuff

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.

Romania city population .XLS – I made this originally in 1999 in Word sourcing data from books then remade in 2006 in Excel format sourcing data from Wikipedia pages of each city (hours of work!). It does contains all 320 cities of Romania with their population at every census from 1912 to 2011 (next census probably in 2020) except when they did not had city status at the census year. I offered it for free download until 2018 when I updated-expanded file to include 2861 communes beside cities, but without population, and GPS coordinates for both cities and communes, now selling at 20 euro for this effort. Why Romania? Because here I was born.

United States city population .XLS – including 304 cities with over 100.000 inhabitants. Source of data: Wikipedia, copy-pasted in Excel and enhanced visually. Contains population at 2010 census, 2015 estimate, as well as area, density and GPS coordinates, latitude and longitude.

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: – list of communes in Italy. Deutchland Städte nach Fläche, Bevölkerung – list of 2058 cities in Germany. – 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!

12 thoughts on “World cities database

Leave a Reply

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