Country Info Lookup
指导
Country Info Lookup
Look up authoritative metadata for every country in the ISO 3166-1 standard — names, codes, dialing prefixes, currencies, capitals, and TLDs — in one place. The tool ships with a bundled dataset of 249 countries and dependent territories, so every search is instant, accurate, and works fully offline in your browser.
Unlike asking a chatbot — which often hallucinates ISO codes, swaps similar dialing prefixes, or invents currency symbols — this lookup returns canonical values you can copy directly into forms, code, or spreadsheets.
如何使用
- Type any of the following into the search box: a country name (“Germany”), an ISO alpha-2 code (“DE”), an alpha-3 code (“DEU”), a numeric code (“276”), a dialing code (“+49”), a currency code (“EUR”), or a top-level domain (“.de”).
- The matching country card appears immediately. If your query is ambiguous, you’ll see a row of suggestion chips — click any chip to switch the displayed country.
- Click the copy icon next to any field (alpha-2, dialing code, currency, capital, etc.) to copy that single value to your clipboard.
- Try the reverse lookups: enter “+1-264” to find Anguilla, or “.io” to find the British Indian Ocean Territory.
特征
- 249 ISO 3166-1 entries — every country and recognised dependent territory, including Antarctica, the Vatican, and remote islands.
- Multi-field search — matches against name, official name, ISO alpha-2, alpha-3, numeric code, dialing code, capital, currency code, currency name, and TLD in a single query.
- Reverse dialing lookup — enter a phone code like “+33” or “44” and the tool finds the matching country, including NANP regional codes such as “+1-876”.
- Per-field copy buttons — grab just the alpha-2 or just the currency symbol without selecting text manually.
- Flag emoji rendering — each country card shows the regional indicator flag derived directly from its alpha-2 code.
- Suggestion chips — when several countries match, switch between them with one click instead of refining the query.
- 100% 客户端 — the dataset is bundled with the page, so no network requests are made and no input ever leaves your browser.
用例
- Form and database design — grab the correct ISO alpha-2 code for a country dropdown without copy-pasting from Wikipedia.
- International phone validation — confirm that a +677 prefix really points at the Solomon Islands before allow-listing it.
- Invoicing and tax — verify the right currency code and symbol when issuing cross-border invoices.
- Domain research — figure out which country a ccTLD belongs to (.io, .ai, .tv, .me) before registering or buying.
- Travel and logistics — capital city, dialing code, and currency in a single glance for any destination.
常问问题
-
What is the difference between ISO 3166-1 alpha-2 and alpha-3 codes?
Alpha-2 codes are two-letter abbreviations (US, DE, JP) and are the most widely used in URLs, locale tags, and country dropdowns. Alpha-3 codes are three-letter abbreviations (USA, DEU, JPN) and are favoured in contexts where readability matters or where alpha-2 collisions could be confusing, such as international sports broadcasts. Both are defined by the same ISO 3166-1 standard and refer to the same set of countries.
-
Why do some countries share the same dialing code?
The North American Numbering Plan (NANP) assigns the +1 dialing code to the United States, Canada, and twenty-plus Caribbean nations including the Bahamas, Jamaica, and Trinidad and Tobago. Dialers distinguish between them using the three-digit area code that follows. Russia and Kazakhstan share +7 for similar historical telecom-integration reasons.
-
What is an ISO 3166-1 numeric country code used for?
The three-digit numeric code is language-agnostic, so it survives transliteration and is used in international shipping, statistical databases (notably UN data), and machine-readable travel documents. For example, 840 always means the United States regardless of the language in which the document is written.
-
How are flag emojis encoded?
A flag emoji is a sequence of two regional indicator symbols, one per letter of the country's ISO alpha-2 code. The character set starts at code point U+1F1E6 (regional indicator A), so the United States flag is U+1F1FA followed by U+1F1F8. Renderers that recognise the pair display a flag; those that don't fall back to showing the two letters.
-
Why does this tool include territories that are not sovereign countries?
ISO 3166-1 covers more than independent states: it also assigns codes to dependent territories such as Greenland (GL), Puerto Rico (PR), and the Cayman Islands (KY). These codes are widely used in software systems, postal addressing, and customs paperwork, so a complete lookup tool needs to include them even though the territories are not UN member states.
