Skip to content
CardTools

Country Code Lookup

ISO 3166-1 numeric to alpha, because EMV tag 9F1A and DE 19 speak in numbers.

Runs entirely in your browser. Nothing you paste is uploaded, logged or stored.

Try:

All 249 entries

NumericAlpha-2Alpha-3Name
AFAFGAfghanistan
AXALAAland Islands
ALALBAlbania
DZDZAAlgeria
ASASMAmerican Samoa
ADANDAndorra
AOAGOAngola
AIAIAAnguilla
AQATAAntarctica
AGATGAntigua and Barbuda
ARARGArgentina
AMARMArmenia
AWABWAruba
AUAUSAustralia
ATAUTAustria
AZAZEAzerbaijan
BSBHSBahamas
BHBHRBahrain
BDBGDBangladesh
BBBRBBarbados
BYBLRBelarus
BEBELBelgium
BZBLZBelize
BJBENBenin
BMBMUBermuda
BTBTNBhutan
BOBOLBolivia
BQBESBonaire, Sint Eustatius and Saba
BABIHBosnia and Herzegovina
BWBWABotswana
BVBVTBouvet Island
BRBRABrazil
IOIOTBritish Indian Ocean Territory
BNBRNBrunei Darussalam
BGBGRBulgaria
BFBFABurkina Faso
BIBDIBurundi
CVCPVCabo Verde
KHKHMCambodia
CMCMRCameroon
CACANCanada
KYCYMCayman Islands
CFCAFCentral African Republic
TDTCDChad
CLCHLChile
CNCHNChina
CXCXRChristmas Island
CCCCKCocos (Keeling) Islands
COCOLColombia
KMCOMComoros
CGCOGCongo
CDCODCongo, Democratic Republic of the
CKCOKCook Islands
CRCRICosta Rica
CICIVCote d'Ivoire
HRHRVCroatia
CUCUBCuba
CWCUWCuracao
CYCYPCyprus
CZCZECzechia
DKDNKDenmark
DJDJIDjibouti
DMDMADominica
DODOMDominican Republic
ECECUEcuador
EGEGYEgypt
SVSLVEl Salvador
GQGNQEquatorial Guinea
ERERIEritrea
EEESTEstonia
SZSWZEswatini
ETETHEthiopia
FKFLKFalkland Islands
FOFROFaroe Islands
FJFJIFiji
FIFINFinland
FRFRAFrance
GFGUFFrench Guiana
PFPYFFrench Polynesia
TFATFFrench Southern Territories
GAGABGabon
GMGMBGambia
GEGEOGeorgia
DEDEUGermany
GHGHAGhana
GIGIBGibraltar
GRGRCGreece
GLGRLGreenland
GDGRDGrenada
GPGLPGuadeloupe
GUGUMGuam
GTGTMGuatemala
GGGGYGuernsey
GNGINGuinea
GWGNBGuinea-Bissau
GYGUYGuyana
HTHTIHaiti
HMHMDHeard Island and McDonald Islands
VAVATHoly See
HNHNDHonduras
HKHKGHong Kong
HUHUNHungary
ISISLIceland
ININDIndia
IDIDNIndonesia
IRIRNIran
IQIRQIraq
IEIRLIreland
IMIMNIsle of Man
ILISRIsrael
ITITAItaly
JMJAMJamaica
JPJPNJapan
JEJEYJersey
JOJORJordan
KZKAZKazakhstan
KEKENKenya
KIKIRKiribati
KPPRKKorea, Democratic People's Republic of
KRKORKorea, Republic of
KWKWTKuwait
KGKGZKyrgyzstan
LALAOLao People's Democratic Republic
LVLVALatvia
LBLBNLebanon
LSLSOLesotho
LRLBRLiberia
LYLBYLibya
LILIELiechtenstein
LTLTULithuania
LULUXLuxembourg
MOMACMacao
MGMDGMadagascar
MWMWIMalawi
MYMYSMalaysia
MVMDVMaldives
MLMLIMali
MTMLTMalta
MHMHLMarshall Islands
MQMTQMartinique
MRMRTMauritania
MUMUSMauritius
YTMYTMayotte
MXMEXMexico
FMFSMMicronesia
MDMDAMoldova
MCMCOMonaco
MNMNGMongolia
MEMNEMontenegro
MSMSRMontserrat
MAMARMorocco
MZMOZMozambique
MMMMRMyanmar
NANAMNamibia
NRNRUNauru
NPNPLNepal
NLNLDNetherlands
NCNCLNew Caledonia
NZNZLNew Zealand
NINICNicaragua
NENERNiger
NGNGANigeria
NUNIUNiue
NFNFKNorfolk Island
MKMKDNorth Macedonia
MPMNPNorthern Mariana Islands
NONORNorway
OMOMNOman
PKPAKPakistan
PWPLWPalau
PSPSEPalestine, State of
PAPANPanama
PGPNGPapua New Guinea
PYPRYParaguay
PEPERPeru
PHPHLPhilippines
PNPCNPitcairn
PLPOLPoland
PTPRTPortugal
PRPRIPuerto Rico
QAQATQatar
REREUReunion
ROROURomania
RURUSRussian Federation
RWRWARwanda
BLBLMSaint Barthelemy
SHSHNSaint Helena, Ascension and Tristan da Cunha
KNKNASaint Kitts and Nevis
LCLCASaint Lucia
MFMAFSaint Martin (French part)
PMSPMSaint Pierre and Miquelon
VCVCTSaint Vincent and the Grenadines
WSWSMSamoa
SMSMRSan Marino
STSTPSao Tome and Principe
SASAUSaudi Arabia
SNSENSenegal
RSSRBSerbia
SCSYCSeychelles
SLSLESierra Leone
SGSGPSingapore
SXSXMSint Maarten (Dutch part)
SKSVKSlovakia
SISVNSlovenia
SBSLBSolomon Islands
SOSOMSomalia
ZAZAFSouth Africa
GSSGSSouth Georgia and the South Sandwich Islands
SSSSDSouth Sudan
ESESPSpain
LKLKASri Lanka
SDSDNSudan
SRSURSuriname
SJSJMSvalbard and Jan Mayen
SESWESweden
CHCHESwitzerland
SYSYRSyrian Arab Republic
TWTWNTaiwan
TJTJKTajikistan
TZTZATanzania
THTHAThailand
TLTLSTimor-Leste
TGTGOTogo
TKTKLTokelau
TOTONTonga
TTTTOTrinidad and Tobago
TNTUNTunisia
TRTURTurkiye
TMTKMTurkmenistan
TCTCATurks and Caicos Islands
TVTUVTuvalu
UGUGAUganda
UAUKRUkraine
AEAREUnited Arab Emirates
GBGBRUnited Kingdom
USUSAUnited States of America
UMUMIUnited States Minor Outlying Islands
UYURYUruguay
UZUZBUzbekistan
VUVUTVanuatu
VEVENVenezuela
VNVNMViet Nam
VGVGBVirgin Islands (British)
VIVIRVirgin Islands (U.S.)
WFWLFWallis and Futuna
EHESHWestern Sahara
YEYEMYemen
ZMZMBZambia
ZWZWEZimbabwe
A terminal country code that disagrees with the issuer country code is what makes a transaction "international" for Application Usage Control purposes — which is how a domestic-only card ends up declining abroad. Compare tag 9F1A against 5F28 when you see TVR byte 2 bit 5 set.

Where card systems use country codes

Always as the numeric form, which is why "what is 826?" is a more common question than "what is GB?". You will find them in EMV tag 9F1A (Terminal Country Code) and 5F28 (Issuer Country Code), and in ISO 8583 DE 19, DE 20 and DE 21.

EMV encodes them as BCD padded to four digits, so the United Kingdom appears as 0826 and Germany as 0276. This lookup accepts three or four digits, with or without padding.

The comparison that causes declines

A transaction is "international" for EMV purposes when the terminal country code differs from the issuer country code. That is the comparison Application Usage Control (tag 9F07) tests against. A card personalised as domestic-only will set TVR byte 2 bit 5 — "requested service not allowed for card product" — the moment it sees a foreign terminal country code.

This is worth knowing because the failure looks like a fraud decline but is not one. When a cardholder reports their card working at home and failing abroad, compare 9F1A against 5F28 before looking anywhere else.

A trap for cross-border processing

The terminal country code is a property of the acquirer's registration, not of where the terminal physically sits. A merchant acquired through an entity registered in another country will present that country's code, which can make a domestic-looking transaction international for interchange and for AUC purposes. If AUC declines are appearing on ostensibly domestic transactions, check what the acquirer is actually sending in 9F1A.

Codes that move

ISO 3166-1 is stable but not frozen. Numeric codes are generally not reused when a country changes name — Türkiye kept 792 through its rename, and North Macedonia kept 807. Newer entries like South Sudan (728) may be missing from older systems entirely, which surfaces as an unknown country code rather than a wrong one.

More Reference tools