World Cities Database | Simplemaps.com (2024)

We're proud to offer a simple, accurate and up-to-date database of the world's cities and towns. We've built it from the ground up using authoritative sources such as the NGIA, US Geological Survey, US Census Bureau, and NASA.

World Cities Database | Simplemaps.com (1) World Cities Database | Simplemaps.com (2) World Cities Database | Simplemaps.com (3) World Cities Database | Simplemaps.com (4)

Our database is:

  • Up-to-date: It was last refreshed on March 31, 2023.
  • Comprehensive: Over 4 million unique cities and towns from every country in the world.
  • Accurate: Cleaned and aggregated from official sources. Includes latitude and longitude coordinates.
  • Simple: A single CSV file, concise field names, only one entry per city.

Basic Database
~41 thousand places

Pro Database
~1.7 million places

Comprehensive Database
~4.3 million places

I work for a company that provides technical solutions for travel agents. Recently, one particular project called for the inclusion of the latitude and longitude of over 1,000 worldwide cities. The thought of having to look up each one of these cities was overwhelming, to say the least. After doing a few internet searches, I came across Simplemaps.com, and within minutes, I had access to exactly what I needed. The savings in time (and migraine medicine) was enormous. Thank you again, Chris and team, for making this valuable information available!

Alan Winn - Dallas, Texas

Due to space constraints, not all fields are shown. For an exact representation, download this sample (Excel, CSV) of France.

What counts as a city/town?

Any populated place in the world as determined by U.S. government agencies. Neighborhoods within listed cities are not included.

Were does your data come from?

Cities for all non-U.S. countries comes from the National Geospatial-Intelligence Agency. US cities data comes from the U.S. Census Bureau and the U.S. Geological Survey. Population data comes from various sources. Population density data comes from the Center for International Earth Science Information Network at Columbia University in partnership with NASA's Socioeconomic Data and Applications Center. We've made a concerted effort to source our data from public domain and permissively-licensed sources that will not restrict the rights of our customers.

How do you address border conflicts and territorial disputes?

We simply use the determination of our primary source which is a U.S. government agency.

Since most of this data is in the public-domain, what value are you adding?

We've spent countless hours: downloading, merging, cleaning, formatting, and aggregating this data into an accurate and concise product.

What am I allowed to do if I purchase the Comprehensive Database license?

A license allows you to use the database internally or to query the database for public-facing applications that you or your organization owns or develops. Attribution is not required. You are not allowed to publicly redistribute the database without prior permission. You can make copies of the database for internal and backup purposes. To learn more, read the full license terms.

Why should I trust this data?

This database was aggregated from authoritative sources and carefully processed by SimpleMaps. We've been developing and selling interactive maps to Fortune 500 companies and prominent international organizations for over 14 years. Over this time, we've learned a lot about geographic data. Our data products have been used in production by well-regarded organizations such as The Guardian. To get a sense of the expertise, check out some of the testimonials from our happy customers.

How do I calculate the distance between two cities?

We've published free formulas in popular programming languages. Check them out.

Can I get the Pro or Comprehensive Database in Excel or SQL server?

The Comprehensive Database can be downloaded in CSV or SQL (MySQL) format upon purchase. The database has too many rows to fit in a single Excel worksheet, but we can provide the data in Excel format, broken out by country, upon request. We can also provide the data as a .bak file for SQL server. Please contact us to receive the data in one of these formats.

What's the fastest way to import the comprehensive database into MySQL?

We recommend using the CSV file and following our tutorial on importing a CSV into MySQL.

Can I purchase additional updates?

Yes. After updates expire, you can purchase 12 more months of updates for $99 (Pro) or $199 (Comprehensive).

What is the difference between the Pro and Comprehensive databases?

The main difference between the two is that the Pro database generally only includes cities and towns that either have a ranking of 1, 2, or 3 while the Comprehensive database includes all cities and towns for which we have data. For most users, the Pro database is sufficient and will be faster to query.

Does the data include population data for every place in the world?

No, that would not be possible to do. The database includes all named places in the world where people work and live. This includes a large number of small rural villages. In many such places population data is not collected by the government or is very difficult to source. We currently have population data for prominent places. These are typically cities and large towns. The aggregate sum of our population data is over 4.6 billion people and we continue to add to this with each release. We do provide an estimate of density for all places and an estimate of importance, ranking, that can be used or sorting purposes.

The database includes data on 249 countries. The included countries are as follows.

{{ "AF": "Afghanistan", "QZ": "Akrotiri", "AL": "Albania", "DZ": "Algeria", "AS": "American Samoa", "AD": "Andorra", "AO": "Angola", "AI": "Anguilla", "AG": "Antigua and Barbuda", "AR": "Argentina", "AM": "Armenia", "AW": "Aruba", "AU": "Australia", "AT": "Austria", "AZ": "Azerbaijan", "BH": "Bahrain", "BD": "Bangladesh", "BB": "Barbados", "BY": "Belarus", "BE": "Belgium", "BZ": "Belize", "BJ": "Benin", "BM": "Bermuda", "BT": "Bhutan", "BO": "Bolivia", "BQ": "Bonaire, Sint Eustatius, and Saba", "BA": "Bosnia and Herzegovina", "BW": "Botswana", "BR": "Brazil", "IO": "British Indian Ocean Territory", "VG": "British Virgin Islands", "BN": "Brunei", "BG": "Bulgaria", "BF": "Burkina Faso", "BI": "Burundi", "CV": "Cabo Verde", "KH": "Cambodia", "CM": "Cameroon", "CA": "Canada", "KY": "Cayman Islands", "CF": "Central African Republic", "TD": "Chad", "CL": "Chile", "CN": "China", "CX": "Christmas Island", "CC": "Cocos (Keeling) Islands", "CO": "Colombia", "KM": "Comoros", "CG": "Congo (Brazzaville)", "CD": "Congo (Kinshasa)", "CK": "Cook Islands", "CR": "Costa Rica", "CI": "Côte d'Ivoire", "HR": "Croatia", "CU": "Cuba", "CW": "Curaçao", "CY": "Cyprus", "CZ": "Czechia", "DK": "Denmark", "XD": "Dhekelia", "DJ": "Djibouti", "DM": "Dominica", "DO": "Dominican Republic", "EC": "Ecuador", "EG": "Egypt", "SV": "El Salvador", "GQ": "Equatorial Guinea", "ER": "Eritrea", "EE": "Estonia", "ET": "Ethiopia", "FK": "Falkland Islands (Islas Malvinas)", "FO": "Faroe Islands", "FM": "Federated States of Micronesia", "FJ": "Fiji", "FI": "Finland", "FR": "France", "GF": "French Guiana", "PF": "French Polynesia", "TF": "French Southern and Antarctic Lands", "GA": "Gabon", "XG": "Gaza Strip", "GE": "Georgia", "DE": "Germany", "GH": "Ghana", "GI": "Gibraltar", "GR": "Greece", "GL": "Greenland", "GD": "Grenada", "GP": "Guadeloupe", "GU": "Guam", "GT": "Guatemala", "GG": "Guernsey", "GN": "Guinea", "GW": "Guinea-Bissau", "GY": "Guyana", "HT": "Haiti", "HN": "Honduras", "HK": "Hong Kong", "HU": "Hungary", "IS": "Iceland", "IN": "India", "ID": "Indonesia", "IR": "Iran", "IQ": "Iraq", "IE": "Ireland", "IM": "Isle Of Man", "IL": "Israel", "IT": "Italy", "JM": "Jamaica", "JP": "Japan", "JE": "Jersey", "JO": "Jordan", "KZ": "Kazakhstan", "KE": "Kenya", "KI": "Kiribati", "XK": "Kosovo", "KW": "Kuwait", "KG": "Kyrgyzstan", "LA": "Laos", "LV": "Latvia", "LB": "Lebanon", "LS": "Lesotho", "LR": "Liberia", "LY": "Libya", "LI": "Liechtenstein", "LT": "Lithuania", "LU": "Luxembourg", "MO": "Macau", "MK": "Macedonia", "MG": "Madagascar", "MW": "Malawi", "MY": "Malaysia", "MV": "Maldives", "ML": "Mali", "MT": "Malta", "MH": "Marshall Islands", "MQ": "Martinique", "MR": "Mauritania", "MU": "Mauritius", "YT": "Mayotte", "MX": "Mexico", "MD": "Moldova", "MC": "Monaco", "MN": "Mongolia", "ME": "Montenegro", "MS": "Montserrat", "MA": "Morocco", "MZ": "Mozambique", "MM": "Myanmar", "NA": "Namibia", "NR": "Nauru", "NP": "Nepal", "NL": "Netherlands", "NC": "New Caledonia", "NZ": "New Zealand", "NI": "Nicaragua", "NE": "Niger", "NG": "Nigeria", "NU": "Niue", "NF": "Norfolk Island", "KP": "North Korea", "MP": "Northern Mariana Islands", "NO": "Norway", "OM": "Oman", "PK": "Pakistan", "PW": "Palau", "PA": "Panama", "PG": "Papua New Guinea", "XP": "Paracel Islands", "PY": "Paraguay", "PE": "Peru", "PH": "Philippines", "PN": "Pitcairn Islands", "PL": "Poland", "PT": "Portugal", "PR": "Puerto Rico", "QA": "Qatar", "RE": "Reunion", "RO": "Romania", "RU": "Russia", "RW": "Rwanda", "BL": "Saint Barthelemy", "SH": "Saint Helena, Ascension, and Tristan da Cunha", "KN": "Saint Kitts and Nevis", "LC": "Saint Lucia", "MF": "Saint Martin", "PM": "Saint Pierre and Miquelon", "VC": "Saint Vincent and the Grenadines", "WS": "Samoa", "SM": "San Marino", "ST": "Sao Tome and Principe", "SA": "Saudi Arabia", "SN": "Senegal", "RS": "Serbia", "SC": "Seychelles", "SL": "Sierra Leone", "SG": "Singapore", "SX": "Sint Maarten", "SK": "Slovakia", "SI": "Slovenia", "SB": "Solomon Islands", "SO": "Somalia", "ZA": "South Africa", "GS": "South Georgia and South Sandwich Islands", "KR": "South Korea", "SS": "South Sudan", "ES": "Spain", "XS": "Spratly Islands", "LK": "Sri Lanka", "SD": "Sudan", "SR": "Suriname", "XR": "Svalbard", "SZ": "Swaziland", "SE": "Sweden", "CH": "Switzerland", "SY": "Syria", "TW": "Taiwan", "TJ": "Tajikistan", "TZ": "Tanzania", "TH": "Thailand", "BS": "The Bahamas", "GM": "The Gambia", "TL": "Timor-Leste", "TG": "Togo", "TK": "Tokelau", "TO": "Tonga", "TT": "Trinidad and Tobago", "TN": "Tunisia", "TR": "Turkey", "TM": "Turkmenistan", "TC": "Turks and Caicos Islands", "TV": "Tuvalu", "VI": "U.S. Virgin Islands", "UG": "Uganda", "UA": "Ukraine", "AE": "United Arab Emirates", "GB": "United Kingdom", "US": "United States", "UY": "Uruguay", "UZ": "Uzbekistan", "VU": "Vanuatu", "VA": "Vatican City", "VE": "Venezuela", "VN": "Vietnam", "WF": "Wallis and Futuna", "XW": "West Bank", "YE": "Yemen", "ZM": "Zambia", "ZW": "Zimbabwe"} 
World Cities Database
 | Simplemaps.com (2024)
Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 6400

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.