{ Country Code Lookup }

// look up ISO 3166-1 country codes instantly

Find ISO 3166-1 alpha-2 and alpha-3 country codes instantly. Look up numeric codes, phone dialcodes, TLDs, currency, and capitals for any country. Free browser-based tool.

๐Ÿ”
Search by name, ISO code (e.g. US, USA), or dial code (e.g. +1)
250 countries ยท Click any row to copy alpha-2
๐ŸŒ

Search any country above

Results will appear here instantly

HOW TO USE

  1. 01
    Search

    Type a country name, ISO alpha-2 code (US), alpha-3 code (USA), or dial code (+1) in the search box.

  2. 02
    Filter

    Use the region buttons to narrow results to Africa, Americas, Asia, Europe, or Oceania.

  3. 03
    Copy & Export

    Click any row to view details and copy codes. Use Export CSV to download all filtered results.

FEATURES

ISO 3166-1 Alpha-2 ISO 3166-1 Alpha-3 Numeric Codes Dial Codes Country TLDs Currency Codes Capital Cities CSV Export

USE CASES

  • ๐Ÿ”ง API integration requiring country codes
  • ๐Ÿ”ง Form validation and dropdown population
  • ๐Ÿ”ง Locale and i18n setup in web apps
  • ๐Ÿ”ง Database schema design with ISO fields
  • ๐Ÿ”ง Shipping and address form configuration

WHAT IS THIS?

The ISO 3166-1 standard defines internationally recognized codes for countries and territories. Alpha-2 codes (2 letters, e.g. US) are the most common; alpha-3 codes (3 letters, e.g. USA) offer more disambiguation. Numeric codes (3 digits) are used in machine-readable travel documents and financial systems.

RELATED TOOLS

FREQUENTLY ASKED QUESTIONS

What is an ISO 3166-1 alpha-2 code?

An ISO 3166-1 alpha-2 code is a two-letter country code defined by the International Organization for Standardization. For example, US for the United States, GB for the United Kingdom, and DE for Germany. These codes are widely used in internet domain names, HTML lang attributes, and API parameters.

What is the difference between alpha-2 and alpha-3?

Alpha-2 codes use 2 letters (e.g. FR for France) and alpha-3 codes use 3 letters (e.g. FRA for France). Alpha-3 is used when additional disambiguation is needed, such as in passport machine-readable zones, some financial databases, and UN systems. Alpha-2 is more common in web development.

What are ISO 3166-1 numeric codes used for?

Numeric codes are 3-digit numbers assigned to each country. They are used in machine-readable travel documents (passports, visas), UN statistical databases, some banking systems (SWIFT), and scenarios where ASCII letters aren't suitable. For example, the US is 840 and France is 250.

Why do some countries have multiple dial codes?

Some geographic regions share a dial code due to historical telephone infrastructure. For example, the North American Numbering Plan (+1) covers the US, Canada, and many Caribbean nations. The tool lists the primary dial code for each country as defined by the ITU-T E.164 standard.

Is this data up to date?

The dataset follows the ISO 3166-1 standard and covers all 249 countries and territories currently recognized. The standard is maintained by the ISO 3166 Maintenance Agency. Country names, codes, and borders occasionally change โ€” for critical applications always verify against the official ISO publication.

Can I use the exported CSV in my project?

Yes. The CSV export contains all visible columns: country name, alpha-2, alpha-3, numeric code, dial code, TLD, currency code, and capital. It can be imported directly into spreadsheet software, databases, or used as a data fixture in web applications.

What is a Country Code Lookup Tool?

A country code lookup tool lets you quickly find the standardized ISO 3166-1 codes for any country or territory in the world. Whether you need the two-letter alpha-2 code for an HTML lang attribute, the three-letter alpha-3 code for a financial API, or the numeric code for a passport scanner โ€” this tool has you covered without requiring any registration or server requests.

๐Ÿ’ก Looking for premium web development assets? MonsterONE offers unlimited downloads of templates, UI kits, and assets โ€” worth checking out.

Understanding the ISO 3166-1 Standard

ISO 3166-1 is part of the ISO 3166 international standard published by the International Organization for Standardization (ISO). It defines codes for the names of countries, dependent territories, and special areas of geographical interest. The standard is maintained by the ISO 3166 Maintenance Agency (ISO 3166/MA) and is updated when countries change names, merge, or split.

The standard defines three code systems, each serving different use cases across industries:

Common Use Cases for ISO Country Codes in Web Development

ISO 3166-1 codes appear in nearly every international web application. Here are the most common scenarios where developers need to look up these codes:

Dial Codes and the ITU-T E.164 Standard

International dial codes (also called country calling codes or international access codes) are defined by the ITU-T E.164 numbering plan. These prefix codes are used when dialing internationally โ€” for example, +1 for the United States and Canada, +44 for the United Kingdom, and +81 for Japan.

Our lookup tool includes the primary ITU-T dial code for each country, making it easy to configure international phone number fields or validate user input. Some regions share a dial code: the entire North American Numbering Plan (NANP) uses +1, covering the US, Canada, and many Caribbean nations.

Country TLDs (Country Code Top-Level Domains)

Country code top-level domains (ccTLDs) are two-letter internet domain suffixes assigned to countries and territories, directly derived from ISO 3166-1 alpha-2 codes. For example, .us for the United States, .de for Germany, and .jp for Japan. Some ccTLDs have become popular for non-geographic use โ€” .io (British Indian Ocean Territory) is widely used by tech startups, and .tv (Tuvalu) is popular for media platforms.

Currency Codes and ISO 4217

While not part of ISO 3166-1 itself, our tool also includes ISO 4217 currency codes for each country. ISO 4217 defines three-letter alphabetic codes for currencies (e.g., USD, EUR, GBP) and corresponding numeric codes. This is especially useful when building e-commerce applications, financial dashboards, or currency converters, allowing you to look up a country's primary currency code alongside its ISO 3166 codes in a single search.

How to Find a Country Code Quickly

With this tool, you can search by multiple criteria simultaneously. Type the full country name ("United States"), a partial name ("unit"), the alpha-2 code ("US"), the alpha-3 code ("USA"), or even the dial code ("+1"). Results update instantly as you type, with no page reload or API call needed โ€” all 249 country records are processed locally in your browser for maximum speed and privacy.

Use the region filter buttons (Africa, Americas, Asia, Europe, Oceania) to narrow the list when browsing. The Export CSV button downloads all currently visible results in a format compatible with Excel, Google Sheets, and most database import tools.

โ˜•