Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Country Name List in Excel: 10 Best Sources

This article covers the best downloadable country name lists for Excel, from simple name-only spreadsheets to full datasets with ISO codes, continents, and population figures. It’s for spreadsheet users, data analysts, marketers, and developers who need a reliable, ready-to-use country reference without building one from scratch.

1. UN Member States List (Official)

The United Nations publishes an official list of 193 member states, plus observer states like the Holy See and Palestine. This is the most authoritative source for diplomatic and legal contexts. The list is available as a PDF, but you can copy it into Excel; some UN data portals offer CSV exports. It includes the official country names, which differ from common short names (e.g., “Republic of Moldova” vs. “Moldova”).

2. ISO 3166-1 Alpha-2 Code List

This is the international standard for country codes, maintained by the International Organization for Standardization. The list includes 249 countries, territories, and areas of interest, each with a two-letter code (e.g., US, DE, JP). Many free Excel files online compile this data, often with columns for Alpha-3 codes and numeric codes. It’s essential for any database that needs to link countries to international systems.

3. World Bank Country and Lending Groups

The World Bank provides a downloadable Excel file with all countries and economies, sorted by region and income group (low, lower-middle, upper-middle, high). This is ideal for economic analysis, grant applications, or any project requiring income classification. The file also includes historical data on lending categories, which is useful for tracking changes over time. It updates annually, so check the version year.

4. Wikipedia’s List of Sovereign States (CSV Export)

Wikipedia hosts a comprehensive table of sovereign states, including flags, capitals, and membership in international organizations. You can copy the table directly into Excel, or use the “Export to CSV” feature on the edit page. This list is community-maintained and updated frequently, but always verify critical data against official sources. It’s a quick, free way to get a broad dataset with many attributes.

5. FreeCodeCamp’s Country List (JSON/CSV)

FreeCodeCamp offers a popular GitHub repository with a JSON file of countries, including name, alpha-2, alpha-3, numeric code, and calling code. You can convert the JSON to CSV using online tools or Excel’s Power Query. This is a developer-friendly source that’s often used in coding tutorials. It’s clean, well-structured, and includes territories like Puerto Rico and Hong Kong, which some lists omit.

6. DataHub.io’s Country List (Multiple Formats)

DataHub.io hosts a curated dataset called “Country List” that includes ISO codes, UN codes, and FIPS codes, plus continent and region names. It’s available in CSV, JSON, and Excel formats, making it easy to download directly. The dataset is based on public domain sources and is updated periodically. It’s a solid choice if you need multiple code systems in one file.

7. US Census Bureau’s International Data Base

The US Census Bureau provides country-level demographic data, including a list of countries with population estimates and projections. You can download the entire database as an Excel file, though it’s large and requires filtering. This is useful for demographers, market researchers, and anyone needing population figures alongside country names. The data is reliable and updated annually.

8. Simple Excel Template from Vertex42

Vertex42 offers a free, simple Excel template with a list of countries, their capitals, and ISO codes. It’s designed for quick reference and personal use, not for heavy data processing. The template is clean and easy to modify, with no macros. It’s a good option if you just need a basic list without extra columns.

9. GitHub’s “countries” Repository (mledoze)

This open-source repository (mledoze/countries) contains a comprehensive JSON dataset with over 250 countries and territories, including translations in multiple languages, currency, and flag emoji. You can download the JSON and import it into Excel using Power Query. It’s maintained by the community and updated frequently. This is the go-to for multilingual applications.

10. UN M49 Standard (Statistical Use)

The UN M49 classification assigns numeric codes to countries and regions for statistical purposes. The UN Statistics Division provides a downloadable Excel file with the full M49 list, including sub-regions and intermediate regions. This is essential for anyone working with UN data or needing a hierarchical structure (e.g., “Western Europe” as a sub-region of “Europe”). It’s the most precise for geographic grouping.

How to Choose

First, decide what you need the list for. If it’s for a database, use the ISO 3166-1 list to ensure standard codes. If it’s for economic analysis, the World Bank list is best due to income classifications. For general reference, the UN member states list is authoritative. Also consider the file format: CSV is easiest to import, but Excel templates may have formatting. Check the update date—some lists are static, others change with geopolitical shifts. Finally, verify that the list includes the territories you need (e.g., Greenland, Taiwan, or disputed regions) because coverage varies.

Frequently Asked Questions

Q: How many countries are there in the world? The UN recognizes 193 member states, but if you include observer states and territories, the number can exceed 250 depending on the source. For Excel lists, you’ll often see 249 entries in ISO 3166.

Q: Can I get a country list with flags in Excel? Yes, some lists include flag emoji or image URLs, but emojis may not render in older Excel versions. For actual flag images, you’d need to download them separately and use formulas to insert them.

Q: Are these lists free to use commercially? Most are, but check the license. ISO standards are copyrighted, but the list of country codes is freely available for use. World Bank and UN data are open. GitHub repos often use open licenses like MIT or CC BY.

Q: How do I import a JSON country list into Excel? Use Excel’s Power Query (Data > Get Data > From File > From JSON). Then expand the columns. Alternatively, convert JSON to CSV using an online converter or Python script.

Q: Why do some lists include Taiwan and others don’t? Political recognition varies. UN lists omit Taiwan, but ISO and many commercial lists include it as a separate entry. Choose based on your audience and compliance needs.

Q: Which list is best for a dropdown menu in Excel? A simple name-only list from any source works. For data validation, use a named range with the list. Ensure there are no duplicates or blank cells.

Final Thoughts

Having a reliable country name list in Excel saves hours of manual data entry and reduces errors. Start with the ISO 3166-1 list for codes, and supplement with the World Bank for economic data or the UN M49 for regional groupings. Always verify the source’s update date and coverage. With the right list, you can build dashboards, reports, and applications with confidence.

Country Name List in Excel: 10 Best Sources
Scroll to top