Countries Database

We're proud to offer a simple, accurate, and up-to-date database of the world's countries. We've compiled it from authoritative sources such as the CIA's World Factbook, government websites, and other authoritative sources.

Our database is:

  • Up-to-date: Last updated on March 3, 2025.
  • Comprehensive: Includes data on 253 countries recognized by the US government.
  • Accurate: Cleaned and aggregated from official sources. Includes useful codes, demographics and economic indicators.
  • Simple: Provided as a single CSV file with clear field names.

Databases

Basic Comprehensive
Commercial use Allowed Allowed
File format CSV, Excel CSV, Excel, SQL
Number of entries 253 countries 253 countries
Number of fields 18 79
Future updates Not guaranteed Included for 12 months
Data last updated 2025 2025
LicenseCreative Commons Attribution 4.0Permissive, no redistribution
Refund policy N/A 30-day guarantee
One-time fee Free $99
Buy Now!

Sample Preview

Here is a sample of rows from the database with some commonly used fields:

country
id
population
gdp
area
language
median_age
life_expectancy
currency
United StatesUS339665118257441009833517English38.580.8United States Dollar
ChinaCN1413142846179631709596960Chinese39.878.2Chinese Yuan
BrazilBR21868975719200958515770Portuguese34.776.1Brazilian Real
NorwayNO5597924579422323802Norwegian40.683Norwegian Krone
AntarcticaAQ14200000
country
id
population
gdp
area
language
median_age
life_expectancy
currency


Included Fields

fieldname description Basic Comprehensive
country The commonly used name of the country.
demonym The name used to refer to natives or inhabitants of the country.
id Unique identifier for the country used by the US government.
iso2 Two-letter country code (ISO 3166-1 alpha-2).
iso3 Three-letter country code (ISO 3166-1 alpha-3).
iso_numeric Three-digit country code (ISO 3166-1 numeric).
tld Country's top-level internet domain.
currency Official currency of the country.
currency_code Three-letter currency code (ISO 4217).
population Census-based population estimate based on most recently available data..
density Population density per square kilometer.
area Total land and water areas delimited by international boundaries and coastlines.
gdp Total value of all final goods and services produced within a nation.
real_gdp_per_capita Real GDP divided by total population.
labor_force Total labor force figure.
median_age Age that divides a population into two numerically equal groups.
unemployment_rate Percent of labor force without jobs.
education_expenditures Public expenditure on education as a percent of GDP.
life_expectancy Average years expected to be lived at time of birth.
maternal_mortality_ratio Annual number of female deaths per 100,000 live births from pregnancy-related causes.
infant_mortality_rate Deaths of infants under one year old per 1,000 live births.
total_fertility_rate Average number of children born to women during their reproductive years.
obesity_rate Percent of population with BMI greater than or equal to 30.0.
alcohol_consumption_per_capita Recorded amount of alcohol consumed per person aged 15+ annually.
tobacco_use Age standardized prevalence of tobacco use among persons 15+ years.
children_underweight Percent of children under 5 with weight-for-age below WHO standards.
net_migration_rate Difference between persons entering and leaving a country per 1,000 population.
population_growth_rate Annual percent change in population, including migration.
real_gdp_ppp GDP on purchasing power parity basis divided by population.
real_gdp_growth_rate Annual percent increase in real GDP.
inflation_rate Annual percent increase in consumer prices.
youth_unemployment_rate Percent of total labor force ages 15-24 unemployed.
gini_coefficient Measure of income inequality (0 = perfect equality, 100 = perfect inequality).
budget_surplus_or_deficit Government budget balance as percent of GDP.
taxes_and_revenues Sum of all government revenue as percent of GDP.
current_account_balance Sum of net trade in goods and services, net earnings, and net transfer payments.
birth_rate Annual births per 1,000 persons, main factor in population growth.
exports Total value of goods and services sold to other countries.
imports Total value of goods and services bought from other countries.
reserves Total reserves of foreign exchange and gold.
debt_external Total public and private debt owed to nonresidents repayable in foreign currency.
railways Total length of railway network in kilometers.
roadways Total length of road network in kilometers.
waterways Total length of navigable waterways in kilometers.
military_expenditures Annual military spending as a percent of GDP.
electricity_installed Total installed electricity generating capacity in kilowatts.
death_rate Annual deaths per 1,000 persons, indicating mortality impact.
education_expenditures Public expenditure on education as percent of GDP.
public_debt Total government borrowings less repayments in home currency.
internet_users Number of individuals who can access Internet at home.
airports Total number of active airports including civilian and military facilities.
electricity_consumption Total electricity generated annually plus imports minus exports in kWh.
electricity_exports Total amount of exported electricity in kWh.
electricity_imports Total amount of imported electricity in kWh.
energy_consumption_per_capita Total energy consumption per capita in British thermal Units per person.
cellular_per_100 Mobile cellular telephone subscriptions per 100 inhabitants.
broadband_subscriptions Total number of fixed-broadband subscriptions.
country_formal The formal name of the country.
country_abbrev The abbreviated name of the country. Useful for maps.
country_zh The country name in Chinese.
country_es The country name in Spanish.
country_ar The country name in Arabic.
country_hi The country name in Hindi.
country_bn The country name in Bengali.
country_pt The country name in Portuguese.
country_ru The country name in Russian.
country_ja The country name in Japanese.
country_ko The country name in Korean.
country_de The country name in German.
country_it The country name in Italian.
country_fr The country name in French.
language The primary language spoken in the country. First item in language_all.
language_all The primary languages spoken in the country. Delimited by |.
language_code The ISO language code for language.
language_code_all The ISO language code for language_all. Delimited by |
website The official government website of the country.
calling_code The international calling code for the country.
driving_side The side of the road on which vehicles drive (right or left).
continent The continent where the country is located.
un_member Whether the country is a member of the United Nations (TRUE or FALSE).
religion The most practiced religions in the country in order. Delimted by |. Limit of 3. Lower threshold 10%. "No Religion" included.

Frequently Asked Questions

How do you determine what is a "country"?

We rely on the determination of the United States' National Geospatial-Intelligence Agency and only include countries which are populated. This closely approximates the ISO 3166-1 standard. Each country has a unique two-digit id.

Where can I find the date for collected data?

When available, the date for fields is provided at the end of the comprehensive CSV file with the _date suffix.

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.

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.

Can I purchase additional updates?

Yes. After updates expire, you can purchase 12 more months of updates for $49 (Comprehensive).


Included Countries

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


{
  "AF": "Afghanistan",
  "QZ": "Akrotiri",
  "AL": "Albania",
  "DZ": "Algeria",
  "AS": "American Samoa",
  "AD": "Andorra",
  "AO": "Angola",
  "AI": "Anguilla",
  "AQ": "Antarctica",
  "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",
  "BA": "Bosnia and Herzegovina",
  "BW": "Botswana",
  "BV": "Bouvet Island",
  "BR": "Brazil",
  "IO": "British Indian Ocean Territory",
  "VG": "British Virgin Islands",
  "BN": "Brunei",
  "BG": "Bulgaria",
  "BF": "Burkina Faso",
  "BI": "Burundi",
  "KH": "Cambodia",
  "CM": "Cameroon",
  "CA": "Canada",
  "CV": "Cape Verde",
  "BQ": "Caribbean Netherlands",
  "KY": "Cayman Islands",
  "CF": "Central African Republic",
  "TD": "Chad",
  "CL": "Chile",
  "CN": "China",
  "CX": "Christmas Island",
  "CC": "Cocos (Keeling) Islands",
  "CO": "Colombia",
  "KM": "Comoros",
  "CK": "Cook Islands",
  "CR": "Costa Rica",
  "HR": "Croatia",
  "CU": "Cuba",
  "CW": "Curaçao",
  "CY": "Cyprus",
  "CZ": "Czech Republic",
  "CD": "Democratic Republic of the Congo",
  "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",
  "SZ": "Eswatini",
  "ET": "Ethiopia",
  "FK": "Falkland Islands",
  "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",
  "HM": "Heard Island and McDonald Islands",
  "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",
  "CI": "Ivory Coast",
  "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",
  "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",
  "nan": "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",
  "MK": "North Macedonia",
  "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",
  "CG": "Republic of the Congo",
  "RO": "Romania",
  "RU": "Russia",
  "RW": "Rwanda",
  "RE": "Réunion",
  "BL": "Saint Barthélemy",
  "SH": "Saint Helena, Ascension and Tristan da Cunha",
  "KN": "Saint Kitts and Nevis",
  "LC": "Saint Lucia",
  "PM": "Saint Pierre and Miquelon",
  "VC": "Saint Vincent and the Grenadines",
  "MF": "Saint-Martin",
  "WS": "Samoa",
  "SM": "San Marino",
  "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 the South Sandwich Islands",
  "KR": "South Korea",
  "SS": "South Sudan",
  "ES": "Spain",
  "LK": "Sri Lanka",
  "SD": "Sudan",
  "SR": "Suriname",
  "SJ": "Svalbard and Jan Mayen",
  "SE": "Sweden",
  "CH": "Switzerland",
  "SY": "Syria",
  "ST": "São Tomé and Príncipe",
  "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",
  "UG": "Uganda",
  "UA": "Ukraine",
  "AE": "United Arab Emirates",
  "GB": "United Kingdom",
  "US": "United States",
  "UM": "United States Minor Outlying Islands",
  "VI": "United States Virgin Islands",
  "UY": "Uruguay",
  "UZ": "Uzbekistan",
  "VU": "Vanuatu",
  "VA": "Vatican City",
  "VE": "Venezuela",
  "VN": "Vietnam",
  "WF": "Wallis and Futuna",
  "XW": "West Bank",
  "EH": "Western Sahara",
  "YE": "Yemen",
  "ZM": "Zambia",
  "ZW": "Zimbabwe",
}      
    

Home (Maps) | Database License | Privacy | Database Releases | Database Order Lookup | Resources | Contact | FAQs
SimpleMaps.com is a product of Pareto Software, LLC. © 2010-2025.