border.bot
Esc
  • Loading…
↑ ↓ to move↵ to openEsc to close
Docs menu

ISO country codes for shipping and customs

ISO 3166-1 country codes in alpha-2, alpha-3 and numeric form, why the UK is GB, how customs code Kosovo and Northern Ireland, and a full table with currencies.

Updated · 6 official sources

Shipping and customs systems identify countries by ISO 3166-1 codes, almost always the two-letter alpha-2 form, such as US, DE or GB. ISO publishes three forms for each country: alpha-2, which it recommends for general use, alpha-3, which is closer to the country's name, and a three-digit numeric code assigned by the United Nations.

Rules as of 30 October 2026.

What are ISO 3166 country codes?#

ISO 3166 is the international standard for codes that represent countries and their subdivisions. Part 1 covers country codes, Part 2 covers subdivisions such as states and provinces, and Part 3 covers codes for country names no longer in use. ISO defines the codes but not the names, which it takes from United Nations sources.

A maintenance agency of 15 members keeps the standard up to date, including national standards bodies, the Universal Postal Union and the UN Economic Commission for Europe. When the UN admits a new member state, the agency assigns its alpha-2 and alpha-3 codes, and the UN assigns the numeric code. As a rule, ISO doesn't give official codes to places that aren't UN member states, though it can give them to dependencies that are physically separate from their parent country.

What is the difference between alpha-2, alpha-3 and numeric codes?#

Alpha-2 is the two-letter code that ISO recommends for general use, and it's the one carriers, customs declarations, payment systems and internet domains rely on. Alpha-3 is a three-letter code that usually looks more like the country's name. Numeric is a three-digit code, useful where Latin letters can't be used, and it matches the UN's M49 statistical code.

Every country and territory, with all three codes and its currency, is in the full table below; type a name or code in its filter box to find one.

Codes that drop out of use go into Part 3 as four-letter codes. When Burma became Myanmar in 1989, its old code BU became BUMM, joining the old code and the new one, MM.

Every country's ISO codes#

The table lists every country and territory in ISO 3166-1 with its flag, alpha-2, alpha-3 and numeric codes and the currency it uses, from border.bot's reference data. De minimis thresholds are stated in the destination's currency, so convert a price before comparing it with one. The landed cost calculator works out duty and tax for a destination.

Country or territory Alpha-2 Alpha-3 Numeric Currency
Afghanistan AF AFG 004 AFN
Åland Islands AX
Albania AL ALB 008 ALL
Algeria DZ DZA 012 DZD
American Samoa AS ASM 016 USD
Andorra AD AND 020 EUR
Angola AO AGO 024 AOA
Anguilla AI AIA 660 XCD
Antarctica AQ
Antigua and Barbuda AG ATG 028 XCD
Argentina AR ARG 032 ARS
Armenia AM ARM 051 AMD
Aruba AW ABW 533 AWG
Australia AU AUS 036 AUD
Austria AT AUT 040 EUR
Azerbaijan AZ AZE 031 AZN
Bahamas BS BHS 044 BSD
Bahrain BH BHR 048 BHD
Bangladesh BD BGD 050 BDT
Barbados BB BRB 052 BBD
Belarus BY BLR 112 BYN
Belgium BE BEL 056 EUR
Belize BZ BLZ 084 BZD
Benin BJ BEN 204 XOF
Bermuda BM BMU 060 BMD
Bhutan BT BTN 064 BTN
Bolivia BO BOL 068 BOB
Bosnia and Herzegovina BA BIH 070 BAM
Botswana BW BWA 072 BWP
Bouvet Island BV
Brazil BR BRA 076 BRL
British Indian Ocean Territory IO
British Virgin Islands VG VGB 092 USD
Brunei BN BRN 096 BND
Bulgaria BG BGR 100 EUR
Burkina Faso BF BFA 854 XOF
Burundi BI BDI 108 BIF
Cambodia KH KHM 116 KHR
Cameroon CM CMR 120 XAF
Canada CA CAN 124 CAD
Cape Verde CV CPV 132 CVE
Caribbean Netherlands BQ
Cayman Islands KY CYM 136 KYD
Central African Republic CF CAF 140 XAF
Chad TD TCD 148 XAF
Chile CL CHL 152 CLP
China CN CHN 156 CNY
Christmas Island CX CXR 162 AUD
Cocos (Keeling) Islands CC CCK 166 AUD
Colombia CO COL 170 COP
Comoros KM COM 174 KMF
Cook Islands CK COK 184 NZD
Costa Rica CR CRI 188 CRC
Côte d'Ivoire CI CIV 384 XOF
Croatia HR HRV 191 EUR
Cuba CU CUB 192 CUP
Curaçao CW
Cyprus CY CYP 196 EUR
Czechia CZ CZE 203 CZK
Denmark DK DNK 208 DKK
Djibouti DJ DJI 262 DJF
Dominica DM DMA 212 XCD
Dominican Republic DO DOM 214 DOP
DR Congo CD COD 180 CDF
Ecuador EC ECU 218 USD
Egypt EG EGY 818 EGP
El Salvador SV SLV 222 USD
Equatorial Guinea GQ GNQ 226 XAF
Eritrea ER ERI 232 ERN
Estonia EE EST 233 EUR
Eswatini SZ SWZ 748 SZL
Ethiopia ET ETH 231 ETB
Falkland Islands FK FLK 238 FKP
Faroe Islands FO FRO 234 DKK
Fiji FJ FJI 242 FJD
Finland FI FIN 246 EUR
France FR FRA 250 EUR
French Guiana GF GUF 254 EUR
French Polynesia PF PYF 258 XPF
French Southern Territories TF
Gabon GA GAB 266 XAF
Gambia GM GMB 270 GMD
Georgia GE GEO 268 GEL
Germany DE DEU 276 EUR
Ghana GH GHA 288 GHS
Gibraltar GI GIB 292 GIP
Greece GR GRC 300 EUR
Greenland GL GRL 304 DKK
Grenada GD GRD 308 XCD
Guadeloupe GP GLP 312 EUR
Guam GU GUM 316 USD
Guatemala GT GTM 320 GTQ
Guernsey GG GGY 831 GBP
Guinea GN GIN 324 GNF
Guinea-Bissau GW GNB 624 XOF
Guyana GY GUY 328 GYD
Haiti HT HTI 332 HTG
Heard Island and McDonald Islands HM
Honduras HN HND 340 HNL
Hong Kong HK HKG 344 HKD
Hungary HU HUN 348 HUF
Iceland IS ISL 352 ISK
India IN IND 356 INR
Indonesia ID IDN 360 IDR
Iran IR IRN 364 IRR
Iraq IQ IRQ 368 IQD
Ireland IE IRL 372 EUR
Isle of Man IM IMN 833 GBP
Israel IL ISR 376 ILS
Italy IT ITA 380 EUR
Jamaica JM JAM 388 JMD
Japan JP JPN 392 JPY
Jersey JE JEY 832 GBP
Jordan JO JOR 400 JOD
Kazakhstan KZ KAZ 398 KZT
Kenya KE KEN 404 KES
Kiribati KI KIR 296 AUD
Kosovo XK EUR
Kuwait KW KWT 414 KWD
Kyrgyzstan KG KGZ 417 KGS
Laos LA LAO 418 LAK
Latvia LV LVA 428 EUR
Lebanon LB LBN 422 LBP
Lesotho LS LSO 426 LSL
Liberia LR LBR 430 LRD
Libya LY LBY 434 LYD
Liechtenstein LI LIE 438 CHF
Lithuania LT LTU 440 EUR
Luxembourg LU LUX 442 EUR
Macao MO MAC 446 MOP
Madagascar MG MDG 450 MGA
Malawi MW MWI 454 MWK
Malaysia MY MYS 458 MYR
Maldives MV MDV 462 MVR
Mali ML MLI 466 XOF
Malta MT MLT 470 EUR
Marshall Islands MH MHL 584 USD
Martinique MQ MTQ 474 EUR
Mauritania MR MRT 478 MRU
Mauritius MU MUS 480 MUR
Mayotte YT MYT 175 EUR
Mexico MX MEX 484 MXN
Micronesia FM FSM 583 USD
Moldova MD MDA 498 MDL
Monaco MC MCO 492 EUR
Mongolia MN MNG 496 MNT
Montenegro ME MNE 499 EUR
Montserrat MS MSR 500 XCD
Morocco MA MAR 504 MAD
Mozambique MZ MOZ 508 MZN
Myanmar MM MMR 104 MMK
Namibia NA NAM 516 NAD
Nauru NR NRU 520 AUD
Nepal NP NPL 524 NPR
Netherlands NL NLD 528 EUR
New Caledonia NC NCL 540 XPF
New Zealand NZ NZL 554 NZD
Nicaragua NI NIC 558 NIO
Niger NE NER 562 XOF
Nigeria NG NGA 566 NGN
Niue NU NIU 570 NZD
Norfolk Island NF NFK 574 AUD
North Korea KP PRK 408 KPW
North Macedonia MK MKD 807 MKD
Northern Mariana Islands MP MNP 580 USD
Norway NO NOR 578 NOK
Oman OM OMN 512 OMR
Pakistan PK PAK 586 PKR
Palau PW PLW 585 USD
Palestine PS PSE 275 ILS
Panama PA PAN 591 PAB
Papua New Guinea PG PNG 598 PGK
Paraguay PY PRY 600 PYG
Peru PE PER 604 PEN
Philippines PH PHL 608 PHP
Pitcairn Islands PN PCN 612 NZD
Poland PL POL 616 PLN
Portugal PT PRT 620 EUR
Puerto Rico PR PRI 630 USD
Qatar QA QAT 634 QAR
Republic of the Congo CG COG 178 XAF
Réunion RE REU 638 EUR
Romania RO ROU 642 RON
Russia RU RUS 643 RUB
Rwanda RW RWA 646 RWF
Saint Barthélemy BL
Saint Helena SH SHN 654 SHP
Saint Kitts and Nevis KN KNA 659 XCD
Saint Lucia LC LCA 662 XCD
Saint Martin MF
Saint Pierre and Miquelon PM SPM 666 EUR
Saint Vincent and the Grenadines VC VCT 670 XCD
Samoa WS WSM 882 WST
San Marino SM SMR 674 EUR
São Tomé and Príncipe ST STP 678 STN
Saudi Arabia SA SAU 682 SAR
Senegal SN SEN 686 XOF
Serbia RS SRB 688 RSD
Seychelles SC SYC 690 SCR
Sierra Leone SL SLE 694 SLE
Singapore SG SGP 702 SGD
Sint Maarten SX
Slovakia SK SVK 703 EUR
Slovenia SI SVN 705 EUR
Solomon Islands SB SLB 090 SBD
Somalia SO SOM 706 SOS
South Africa ZA ZAF 710 ZAR
South Georgia and the South Sandwich Islands GS
South Korea KR KOR 410 KRW
South Sudan SS SSD 728 SSP
Spain ES ESP 724 EUR
Sri Lanka LK LKA 144 LKR
Sudan SD SDN 729 SDG
Suriname SR SUR 740 SRD
Svalbard and Jan Mayen SJ SJM 744 NOK
Sweden SE SWE 752 SEK
Switzerland CH CHE 756 CHF
Syria SY SYR 760 SYP
Taiwan TW TWD
Tajikistan TJ TJK 762 TJS
Tanzania TZ TZA 834 TZS
Thailand TH THA 764 THB
Timor-Leste TL TLS 626 USD
Togo TG TGO 768 XOF
Tokelau TK TKL 772 NZD
Tonga TO TON 776 TOP
Trinidad and Tobago TT TTO 780 TTD
Tunisia TN TUN 788 TND
Türkiye TR TUR 792 TRY
Turkmenistan TM TKM 795 TMT
Turks and Caicos Islands TC TCA 796 USD
Tuvalu TV TUV 798 AUD
U.S. Minor Outlying Islands UM
U.S. Virgin Islands VI VIR 850 USD
Uganda UG UGA 800 UGX
Ukraine UA UKR 804 UAH
United Arab Emirates AE ARE 784 AED
United Kingdom GB GBR 826 GBP
United States US USA 840 USD
Uruguay UY URY 858 UYU
Uzbekistan UZ UZB 860 UZS
Vanuatu VU VUT 548 VUV
Vatican City VA VAT 336 EUR
Venezuela VE VEN 862 VES
Vietnam VN VNM 704 VND
Wallis and Futuna WF WLF 876 XPF
Western Sahara EH
Yemen YE YEM 887 YER
Zambia ZM ZMB 894 ZMW
Zimbabwe ZW ZWE 716 ZWG

Download this table as CSV or JSON, free to reuse under CC BY 4.0 (opens in a new tab) with credit to border.bot. To cite it: border.bot, “ISO 3166-1 country codes”, https://border.bot/docs/guides/country-codes.

Which country codes cause mistakes?#

The codes that cause most mistakes are the ones that don't match a country's usual abbreviation. The United Kingdom is GB, not UK: ISO keeps UK exceptionally reserved at the UK's request, so it can't go to any other country. Customs systems also use codes that ISO doesn't assign, such as XK for Kosovo and XI for Northern Ireland.

Code What it means Where you'll meet it
GB United Kingdom of Great Britain and Northern Ireland ISO alpha-2; UK customs declarations for both Great Britain and Northern Ireland
UK Reserved in ISO 3166 at the UK's request Some EU statistics use it for the United Kingdom
XI Northern Ireland EORI numbers for customs activity in Northern Ireland, which fall under EU rules
XK Kosovo A user-assigned code; EU statistics and the UK's customs code list use it
XS Serbia The UK's customs code list; Serbia's ISO code is RS
XC, XL Ceuta, Melilla The UK's customs code list, separate from Spain (ES)
EU European Union The UK's customs code list allows it only as a country of preferential origin
EL Greece EU statistics; ISO and customs use GR
PR, GU, VI, AS, MP US territories Own ISO codes; the UK's customs list asks for US instead of PR in most cases

ISO sets aside the ranges AA, QM to QZ, XA to XZ and ZZ for users who need codes the standard doesn't include. That's where XK and XI come from, and it's why they aren't universal: ISO warns that user-assigned codes can mean different things to different organizations.

Which code should you use on a customs declaration?#

Use the destination's own customs code list, which for most countries is ISO alpha-2 with a few local exceptions. The UK's list records Great Britain and Northern Ireland together under GB, while UK EORI numbers use XI for Northern Ireland. In the origin field, give the country where the goods were made, not where they shipped from.

Country codes also feed tax and duty. A wrong origin code changes the duty rate and any extra duties, and a wrong destination code sends a parcel to the wrong tariff. Our country of origin guide covers how origin is decided, and the country pages show each destination's import rules by name and code. Below the country level, states and provinces have codes of their own: see subdivision codes.

Common questions#

Is the country code for the United Kingdom GB or UK?#

GB. ISO 3166 assigns GB to the United Kingdom and keeps UK reserved at the UK's request, and UK customs declarations use GB.

What is the country code for Kosovo?#

XK. Kosovo has no official ISO 3166-1 code, so systems use XK from ISO's user-assigned range, as EU statistics and the UK's customs code list do.

What does the XI prefix mean?#

Northern Ireland. EORI numbers for customs activity in Northern Ireland start with XI and fall under EU rules, while GB EORI numbers cover England, Scotland and Wales.

Who assigns country codes?#

The ISO 3166 Maintenance Agency assigns the alpha-2 and alpha-3 codes, and the United Nations assigns the numeric codes.

Sources#