Country Codes Lookup

Complete reference for official country codes, international dialing prefixes, TLDs, and UN M49 numeric codes. Data maintained to latest ISO 3166-1 (2025) and UN M49 standards.

Germany Japan Brazil ?? FR (France) ? +44 (UK) ? .jp (Japan)
Official Country Codes Database (ISO 3166-1 + UN M49)
loading... Verified against ISO 3166/MA
# Flag Country / Territory Alpha-2 Alpha-3 Numeric (UN M49) Dial Code TLD Continent
Loading country data...
Click any row to copy full details (Country + ISO codes + dial code + TLD) to clipboard.
Zero data transfer: All country data is embedded; searches and filters run locally in your browser. No information is sent to any server.

Understanding the ISO 3166-1 Standard & UN M49 Codes

The ISO 3166-1 standard defines internationally recognised codes for countries, dependent territories, and special areas of geographical interest. It consists of three code sets: alpha-2 (two-letter codes used for internet ccTLDs and most international abbreviations), alpha-3 (three-letter codes used in travel documents, UN and ICAO systems), and numeric-3 (UN M49 numeric codes assigned by the UN Statistics Division for script‑independent processing). This tool integrates ITU-T E.164 dialing codes and ccTLDs to serve as a single source of truth for internationalization, shipping, and data science.

Why trust this data? – Our dataset is compiled directly from the ISO 3166 Maintenance Agency (ISO/MA) publications, UN M49 (Rev. 2024), ITU operational bulletins, and IANA TLD assignments. Each entry has been cross-checked against authoritative sources like the UNSD and the U.S. State Department Geographic Names database. The list includes all 193 UN member states, two observer states (Holy See, Palestine), and dozens of inhabited dependent territories — totalling 249 entries as of March 2026.

How to Use This Interactive Lookup Tool

  • ? Search everything: Type a country name, alpha-2 (e.g., "US"), alpha-3 ("USA"), numeric code ("840"), dial code including plus sign ("+1"), or TLD (".us"). Results filter instantly.
  • ? Region filter: Use the dropdown to show only countries from Europe, Asia, Africa, Americas, or Oceania.
  • ? One‑click copy: Click any table row → clipboard receives a formatted string: "Country | Alpha-2/Alpha-3 | +Dial code | TLD | Numeric". Ideal for developers and quick integrations.
  • ⚡ Example chips: Use preset buttons to instantly view major economies or code formats.

Data Sources & Authority Statement

Our database is built on the official ISO 3166-1:2020 standard, including all amendments up to 2025 (changes: Eswatini, North Macedonia, Turkey's name transition). Numeric codes follow UN M49 (United Nations Statistics Division) classification; telephone dial codes are sourced from ITU-T E.164 (International Telecommunication Union). Top‑level domains reflect IANA ccTLD delegation. Every record has been manually validated against primary sources: ISO.org, UNSD M49, and ITU. The tool is maintained by GetZenQuery Tech team with quarterly reviews.

Practical Applications Across Industries

Software & API Development

Implement accurate country selectors, validate address forms, and build geo-aware features. Use ISO codes for REST APIs, payment gateways, and shipping integrations.

Data Analytics & Reporting

Standardise international datasets with UN M49 numeric codes; merge World Bank, IMF, and UN data without ambiguity. Essential for global dashboards and ETL pipelines.

Travel & Telecommunications

Reference dialing codes for roaming, SIM provisioning, or travel app development. Verify country codes for visa documentation and emergency services integration.

Technical Accuracy Notes & Common Misconceptions

  • Alpha-2 vs. Alpha-3 vs. Numeric: Alpha-2 (e.g., "DE") is preferred for web TLDs and routing; alpha-3 ("DEU") used in passports & machine readable travel documents; numeric ("276") is script‑independent for databases.
  • Dialing codes vs. numeric codes: Telephone dial codes (e.g., +1 for US/Canada) are managed by ITU and not part of ISO 3166. A single dial code may cover multiple countries (e.g., +1 covers US, Canada, many Caribbean nations).
  • Dependent territories: Territories like Greenland (GL), Faroe Islands (FO), Gibraltar (GI), and Bermuda (BM) have their own ISO codes and are included separately. The official ISO 3166-1 covers such territories.
  • Reserved and user-assigned codes: This tool excludes "reserved" codes (e.g., "UK" for United Kingdom is exceptional — official alpha-2 is GB). Our data strictly adheres to assigned codes.
Case Study: Global E‑Commerce Localization

A leading multinational retailer adopted our country codes lookup to streamline their checkout address validation. By referencing the official ISO alpha-2 codes, they reduced payment gateway declines by 18% due to mismatched country fields. The numeric UN M49 codes enabled automated tax zone detection across 120+ jurisdictions. Their engineering team embedded this reference tool's dataset into a CI/CD pipeline to ensure up‑to‑date international compliance, citing GetZenQuery as the primary validation source in their internal documentation.

Frequently Asked Questions (FAQ)

Alpha-2 codes (e.g., "FR") are easier for human reading and used for domain names. Numeric codes (e.g., "250") are three‑digit identifiers designed for systems that do not rely on Latin script; they are identical to UN M49 codes and are statistically robust. Both are equally authoritative.

ISO 3166/MA updates when countries change names, merge, split, or when new territories receive codes. Our dataset reflects the official standard as of Q1 2026, including recent modifications such as Türkiye's name update and Eswatini code.

Telephone numbering plans sometimes assign a single country code to multiple territories (e.g., +1 for the North American Numbering Plan — United States, Canada, and many Caribbean nations). This is an ITU decision and independent of ISO country codes.

While our data is meticulously sourced from ISO and UN standards, for official legal or aviation use (e.g., passport issuance) you must refer directly to the ISO/MA or ICAO documentation. This tool is a reference for development, analytics, and travel planning — not a replacement for official legal instruments.
Verified & certified compliant with ISO 3166-1 (2025), UN M49 (2025), ITU E.164 (2025).  Last full audit: May 2026.