Country codes
Which codes customs and carriers use, how alpha-2, alpha-3 and numeric differ, and the exceptions that trip up forms and data feeds.
More ways to read this page
Customs systems and carriers use the two-letter ISO 3166-1 code for a country in most fields, such as GB, DE or CA. The standard has a three-letter form and a three-digit form as well, so check which your form wants, because they aren't interchangeable. The table below shows each country's two-letter code and currency.
| Sources | |||
|---|---|---|---|
| Argentina | AR | ARS | Sources |
| Australia | AU | AUD | Sources |
| Austria | AT | EUR | Sources |
| Belgium | BE | EUR | Sources |
| Brazil | BR | BRL | Sources |
| Canada | CA | CAD | Sources |
| Chile | CL | CLP | Sources |
| Croatia | HR | EUR | Sources |
| Czech Republic | CZ | CZK | Sources |
| Denmark | DK | DKK | Sources |
| Egypt | EG | EGP | Sources |
| Finland | FI | EUR | Sources |
| France | FR | EUR | Sources |
| Germany | DE | EUR | Sources |
| Greece | GR | EUR | Sources |
| Hungary | HU | HUF | Sources |
| Iceland | IS | ISK | Sources |
| India | IN | INR | Sources |
| Indonesia | ID | IDR | Sources |
| Ireland | IE | EUR | Sources |
| Israel | IL | ILS | Sources |
| Italy | IT | EUR | Sources |
| Japan | JP | JPY | Sources |
| Jordan | JO | JOD | Sources |
| Malaysia | MY | MYR | Sources |
| Mexico | MX | MXN | Sources |
| Morocco | MA | MAD | Sources |
| Netherlands | NL | EUR | Sources |
| New Zealand | NZ | NZD | Sources |
| Norway | NO | NOK | Sources |
| Peru | PE | PEN | Sources |
| Philippines | PH | PHP | Sources |
| Poland | PL | PLN | Sources |
| Portugal | PT | EUR | Sources |
| Qatar | QA | QAR | Sources |
| Saudi Arabia | SA | SAR | Sources |
| Singapore | SG | SGD | Sources |
| South Africa | ZA | ZAR | Sources |
| South Korea | KR | KRW | Sources |
| Sweden | SE | SEK | Sources |
| Switzerland | CH | CHF | Sources |
| Thailand | TH | THB | Sources |
| Turkey | TR | TRY | Sources |
| United Arab Emirates | AE | AED | Sources |
| United Kingdom | GB | GBP | Sources |
| United States | US | USD | Sources |
| Vietnam | VN | VND | Sources |
Checked 5 November 2026. Each country's sources are linked from its row. "Not confirmed" means the official sources didn't settle it; "None found" means they show no threshold. Download as CSV or JSON.
ISO 3166 has three parts
| ISO 3166-1 | Countries and areas of particular geopolitical interest | DE, DEU, 276 |
|---|---|---|
| ISO 3166-2 | Subdivisions, using the alpha-2 code plus up to three characters | US-CA for California, ID-RI for Riau |
| ISO 3166-3 | Names deleted since the first edition in 1974 | Former country names |
Part 1 has three forms:
| Alpha-2 | 2 letters | DE | Recommended for general use, and on most customs fields |
|---|---|---|---|
| Alpha-3 | 3 letters | DEU | Some data feeds, travel documents, older systems |
| Numeric | 3 digits | 276 | Useful outside Latin script. Assigned by the UN |
ISO publishes the codes through its Online Browsing Platform. ISO adds and changes entries from time to time, so don't hard-code a list you downloaded once.
Exceptions you'll actually hit
- GB, not UK. The ISO code for the United Kingdom is GB. Writing "UK" is a common cause of rejected address data, even though the country's name uses it.
- XI for Northern Ireland. This isn't an ISO country code. It's used in EU and UK customs and VAT contexts for Northern Ireland, for example on an EORI or a VAT number under the Windsor Framework.
- EL for Greece, in VAT. The ISO code is GR, but EU VAT numbers use the prefix EL. An EORI starts with the two-letter code of the issuing country, so check the format per system rather than assume.
- EU isn't a country. Origin is usually declared at country level, unless a rule says otherwise. On the US Section 301 schedule, for example, the EU has its own headings.
- Territories have their own codes. Hong Kong (HK), Macao (MO), Puerto Rico (PR) and others are listed separately in ISO 3166-1. The customs treatment doesn't always follow the same line, so check the tariff.
Other codes that travel with them
UN/LOCODE is five characters: the two-letter ISO country code, then three for the place. A customs or carrier system may also have its own port codes, such as the US Schedule D codes, so a LOCODE doesn't always fit.
Things to get right
Use the code for the country of origin on your commercial invoice, and keep it separate from the code for the country you shipped from, because the two are often different. In your own systems, store the code as a coded field with validation, and don't accept free text. When you connect to a data feed or a carrier's system, check whether it wants alpha-2 or alpha-3, and map to that: a three-letter code in a two-letter field usually fails at the worst time. For why the origin field matters so much, see country of origin.
Sources
- ISO: ISO 3166 country codes, checked 5 November 2026
- ISO: Glossary for ISO 3166, checked 5 November 2026
- ISO: ISO 4217 currency codes, checked 5 November 2026
- UNECE: Recommendation 16, UN/LOCODE, checked 5 November 2026
- UNECE: UN/LOCODE code list by country and territory, checked 5 November 2026
- European Commission: Guidance on the use of GB and XI codes, checked 5 November 2026
- GOV.UK: EU country codes, VAT numbers and enquiry letters, checked 5 November 2026
- European Commission: Economic Operators Registration and Identification number, checked 5 November 2026