Which country code do I need?
| Code | Example | Used in |
|---|---|---|
| Alpha-2 | US, DE, UA | IBAN, domains, Stripe/PayPal APIs, Accept-Language, most databases |
| Alpha-3 | USA, DEU, UKR | Passports (MRZ), UN and statistics, some banking formats |
| Numeric | 840, 276, 804 | Card payments (ISO 8583 / EMV terminal country), statistics; script-independent |
| Phone code | +1, +49, +380 | International dialing (ITU E.164) |
The numeric code often matches the currency's ISO 4217 number: Ukraine 804 → hryvnia UAH 980 is an exception, but USA 840 → USD 840 and Japan 392 → JPY 392 match. Several territories share a phone code: +1 covers the USA, Canada and many Caribbean islands; +7 covers Russia and Kazakhstan.
FAQ
Is UK or GB the right code?
The ISO code is GB (GBR, 826). .uk is only the internet domain.
What about Kosovo?
XK / XKK is a user-assigned code widely used by banks and the EU; it is not an official ISO 3166 entry.
How do I convert a whole column?
Paste codes or names into Convert a list — one per line — and choose the target format.