country codes : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

country codes
ISO-3166 defines two-letter, three-letter and numeric standard abbreviations for each country. These are always written in upper case, e. g. Australia is AU, AUS or 036. The two letter country codes are also used as TLDs (Top Level Domains) TLD (Top Level Domain) s) in domain names, usually written in lower case, e.g. kangaroo. au. ISO (International Standards Organisation) has stopped posting the list. It insists you buy a hard copy. You can find out the country where the user is by interrogating the system property user.country, e.g.
String country = System.getProperty( "user.country" );
String country = Locale.getDefault().getCountry();
You can override such system properties on the command line like this:
java -Duser.language=de -Duser.country=DE -Duser.variant=EURO MainClass
For a definitive list see ISO-3166. Last revised: 2013-02-06 Verified: 2013-04-06
Country Codes
By country
flag country code
AX flagÅland IslandsAX
GM flag(the) GambiaGM
AF flagAfghanistanAF
AL flagAlbaniaAL
DZ flagAlgeriaDZ
AS flagAmerican SamoaAS
AD flagAndorraAD
AO flagAngolaAO
AI flagAnguillaAI
AQ flagAntarcticaAQ
AG flagAntigua and BarbudaAG
AR flagArgentinaAR
AM flagArmeniaAM
AW flagArubaAW
SH flagAscensionSH
AU flagAustraliaAU
AU flagAustralian Antarctic TerritoryAU
AT flagAustriaAT
AZ flagAzerbaijanAZ
BS flagBahamasBS
BH flagBahrainBH
BD flagBangladeshBD
BB flagBarbadosBB
BY flagBelarusBY
BE flagBelgiumBE
BZ flagBelizeBZ
BJ flagBeninBJ
BM flagBermudaBM
BT flagBhutanBT
BO flagBolivia, Plurinational State ofBO
BQ flagBonaireBQ
BQ flagBonaire, Sint Eustatius and SabaBQ
BA flagBosnia and HerzegovinaBA
BW flagBotswanaBW
BV flagBouvet IslandBV
BR flagBrazilBR
IO flagBritish Indian Ocean TerritoryIO
BN flagBrunei DarussalamBN
BG flagBulgariaBG
BF flagBurkina FasoBF
BI flagBurundiBI
CI flagCôte d�IvoireCI
KH flagCambodiaKH
CM flagCameroonCM
CA flagCanadaCA
CV flagCapo VerdeCV
KY flagCayman IslandsKY
CF flagCentral African RepublicCF
TD flagChadTD
GB flagChannel IslandsGB
CL flagChileCL
CN flagChina (Mainland)CN
CX flagChristmas IslandCX
CC flagCocos (Keeling) IslandsCC
CO flagColombiaCO
KM flagComorosKM
CG flagCongoCG
CD flagCongo, the Democratic Republic of theCD
CK flagCook IslandsCK
CR flagCosta RicaCR
HR flagCroatiaHR
CU flagCubaCU
CW flagCuraçaoCW
CY flagCyprusCY
CZ flagCzech RepublicCZ
CS flagCzech Republic (obsolete)CS
DK flagDenmarkDK
DJ flagDjiboutiDJ
DM flagDominicaDM
DO flagDominican RepublicDO
EC flagEcuadorEC
EG flagEgyptEG
SV flagEl SalvadorSV
GQ flagEquatorial GuineaGQ
ER flagEritreaER
EE flagEstoniaEE
ET flagEthiopiaET
FK flagFalkland Islands (Malvinas)FK
FO flagFaroe IslandsFO
FJ flagFijiFJ
FI flagFinlandFI
FR flagFranceFR
FX flagFrance metropolitanFX
GF flagFrench GuianaGF
PF flagFrench PolynesiaPF
TF flagFrench Southern TerritoriesTF
GA flagGabonGA
GE flagGeorgiaGE
DE flagGermanyDE
GH flagGhanaGH
GI flagGibraltarGI
GR flagGreeceGR
GL flagGreenlandGL
GD flagGrenadaGD
GP flagGuadeloupeGP
GU flagGuamGU
GT flagGuatemalaGT
GG flagGuernseyGG
GN flagGuineaGN
GW flagGuinea-BissauGW
GY flagGuyanaGY
HT flagHaitiHT
HM flagHeard Island and McDonald IslandsHM
VA flagHoly See (Vatican City State)VA
HN flagHondurasHN
HK flagHong KongHK
HU flagHungaryHU
IS flagIcelandIS
IN flagIndiaIN
ID flagIndonesiaID
IR flagIran, Islamic Republic ofIR
IQ flagIraqIQ
IE flagIrelandIE
IM flagIsle of ManIM
IL flagIsraelIL
IT flagItalyIT
JM flagJamaicaJM
SJ flagJan MayenSJ
JP flagJapanJP
JE flagJerseyJE
JO flagJordanJO
KZ flagKazakhstanKZ
KE flagKenyaKE
KI flagKiribatiKI
KR flagKorea, Republic of (South Korea)KR
KP flagKorea,Democratic People�s Republic of (North Korea)KP
KW flagKuwaitKW
KG flagKyrgyzstanKG
LA flagLao People�s Democratic Republic (Laos)LA
LV flagLatviaLV
LB flagLebanonLB
LS flagLesothoLS
LR flagLiberiaLR
LY flagLibyaLY
LI flagLiechtensteinLI
LT flagLithuaniaLT
LU flagLuxembourgLU
MO flagMacauMO
MK flagMacedonia, The Former Yugoslav Republic ofMK
MG flagMadagascarMG
MW flagMalawiMW
MY flagMalaysiaMY
MV flagMaldivesMV
ML flagMaliML
MT flagMaltaMT
MH flagMarshall IslandsMH
MQ flagMartiniqueMQ
MR flagMauritaniaMR
MU flagMauritiusMU
YT flagMayotteYT
MX flagMexicoMX
FM flagMicronesia, Federated States ofFM
MD flagMoldova, Republic ofMD
MC flagMonacoMC
MN flagMongoliaMN
ME flagMontenegroME
MS flagMontserratMS
MA flagMoroccoMA
MZ flagMozambiqueMZ
MM flagMyanmarMM
NA flagNamibiaNA
NR flagNauruNR
NP flagNepalNP
NL flagNetherlandsNL
AN flagNetherlands AntillesAN
NC flagNew CaledoniaNC
NZ flagNew ZealandNZ
NI flagNicaraguaNI
NE flagNigerNE
NG flagNigeriaNG
NU flagNiueNU
NF flagNorfolk IslandNF
MP flagNorthern Mariana IslandsMP
NO flagNorwayNO
OM flagOmanOM
PK flagPakistanPK
PW flagPalauPW
PS flagPalestine, State ofPS
PA flagPanamaPA
PY flagParaguayPY
PE flagPeruPE
PH flagPhilippinesPH
PN flagPitcairnPN
PL flagPolandPL
PT flagPortugalPT
PR flagPuerto RicoPR
QA flagQatarQA
RE flagRéunionRE
RO flagRomaniaRO
RU flagRussian FederationRU
RW flagRwandaRW
ST flagSão Tomé and and PríncipeST
BQ flagSabaBQ
BL flagSaint BarthélemyBL
BQ flagSaint EustatiusBQ
SH flagSaint HelenaSH
SH flagSaint Helena, Ascension and Tristan da CunhaSH
KN flagSaint Kitts and NevisKN
LC flagSaint LuciaLC
MF flagSaint Martin (French part)MF
PM flagSaint Pierre and MiquelonPM
VC flagSaint Vincent and the GrenadinesVC
WS flagSamoaWS
SM flagSan MarinoSM
SA flagSaudi ArabiaSA
SN flagSenegalSN
RS flagSerbia and MontenegroRS
SC flagSeychellesSC
SL flagSierra LeoneSL
SG flagSingaporeSG
SX flagSint Maarten (Dutch Part)SX
SK flagSlovakiaSK
SI flagSloveniaSI
SB flagSolomon IslandsSB
SO flagSomaliaSO
ZA flagSouth AfricaZA
GS flagSouth GeorgiaGS
GS flagSouth Georgia and the South Sandwich IslandsGS
GS flagSouth Sandwich IslandsGS
SS flagSouth SudanSS
ES flagSpainES
LK flagSri LankaLK
SD flagSudanSD
SR flagSurinameSR
SJ flagSvalbard and Jan MayenSJ
SZ flagSwazilandSZ
SE flagSwedenSE
CH flagSwitzerlandCH
SY flagSyrian Arab RepublicSY
TW flagTaiwan, Province of ChinaTW
TJ flagTajikistanTJ
TZ flagTanzania, United Republic ofTZ
TH flagThailandTH
PG flagthe Independent State of Papua New GuineaPG
TL flagTimor-LesteTL
TG flagTogoTG
TK flagTokelauTK
TO flagTongaTO
TT flagTrinidad and TobagoTT
SH flagTristan da CunhaSH
TN flagTunisiaTN
TR flagTurkeyTR
TM flagTurkmenistanTM
TC flagTurks and Caicos IslandsTC
TV flagTuvaluTV
UG flagUgandaUG
UA flagUkraineUA
AE flagUnited Arab EmiratesAE
GB flagUnited KingdomGB
US flagUnited StatesUS
UM flagUnited States (minor outlying islands)UM
UY flagUruguayUY
UZ flagUzbekistanUZ
VU flagVanuatuVU
VE flagVenezuela, Bolivarian Republic ofVE
VN flagViet NamVN
VG flagVirgin Islands, BritishVG
VI flagVirgin Islands, U.S.VI
WF flagWallis and FutunaWF
EH flagWestern SaharaEH
YE flagYemenYE
ZM flagZambiaZM
ZW flagZimbabweZW
   
By code
flag code country
AD flagADAndorra
AE flagAEUnited Arab Emirates
AF flagAFAfghanistan
AG flagAGAntigua and Barbuda
AI flagAIAnguilla
AL flagALAlbania
AM flagAMArmenia
AN flagANNetherlands Antilles
AO flagAOAngola
AQ flagAQAntarctica
AR flagARArgentina
AS flagASAmerican Samoa
AT flagATAustria
AU flagAUAustralia
AU flagAUAustralian Antarctic Territory
AW flagAWAruba
AX flagAXÅland Islands
AZ flagAZAzerbaijan
BA flagBABosnia and Herzegovina
BB flagBBBarbados
BD flagBDBangladesh
BE flagBEBelgium
BF flagBFBurkina Faso
BG flagBGBulgaria
BH flagBHBahrain
BI flagBIBurundi
BJ flagBJBenin
BL flagBLSaint Barthélemy
BM flagBMBermuda
BN flagBNBrunei Darussalam
BO flagBOBolivia, Plurinational State of
BQ flagBQBonaire
BQ flagBQBonaire, Sint Eustatius and Saba
BQ flagBQSaba
BQ flagBQSaint Eustatius
BR flagBRBrazil
BS flagBSBahamas
BT flagBTBhutan
BV flagBVBouvet Island
BW flagBWBotswana
BY flagBYBelarus
BZ flagBZBelize
CA flagCACanada
CC flagCCCocos (Keeling) Islands
CD flagCDCongo, the Democratic Republic of the
CF flagCFCentral African Republic
CG flagCGCongo
CH flagCHSwitzerland
CI flagCICôte d�Ivoire
CK flagCKCook Islands
CL flagCLChile
CM flagCMCameroon
CN flagCNChina (Mainland)
CO flagCOColombia
CR flagCRCosta Rica
CS flagCSCzech Republic (obsolete)
CU flagCUCuba
CV flagCVCapo Verde
CW flagCWCuraçao
CX flagCXChristmas Island
CY flagCYCyprus
CZ flagCZCzech Republic
DE flagDEGermany
DJ flagDJDjibouti
DK flagDKDenmark
DM flagDMDominica
DO flagDODominican Republic
DZ flagDZAlgeria
EC flagECEcuador
EE flagEEEstonia
EG flagEGEgypt
EH flagEHWestern Sahara
ER flagEREritrea
ES flagESSpain
ET flagETEthiopia
FI flagFIFinland
FJ flagFJFiji
FK flagFKFalkland Islands (Malvinas)
FM flagFMMicronesia, Federated States of
FO flagFOFaroe Islands
FR flagFRFrance
FX flagFXFrance metropolitan
GA flagGAGabon
GB flagGBChannel Islands
GB flagGBUnited Kingdom
GD flagGDGrenada
GE flagGEGeorgia
GF flagGFFrench Guiana
GG flagGGGuernsey
GH flagGHGhana
GI flagGIGibraltar
GL flagGLGreenland
GM flagGM(the) Gambia
GN flagGNGuinea
GP flagGPGuadeloupe
GQ flagGQEquatorial Guinea
GR flagGRGreece
GS flagGSSouth Georgia
GS flagGSSouth Georgia and the South Sandwich Islands
GS flagGSSouth Sandwich Islands
GT flagGTGuatemala
GU flagGUGuam
GW flagGWGuinea-Bissau
GY flagGYGuyana
HK flagHKHong Kong
HM flagHMHeard Island and McDonald Islands
HN flagHNHonduras
HR flagHRCroatia
HT flagHTHaiti
HU flagHUHungary
ID flagIDIndonesia
IE flagIEIreland
IL flagILIsrael
IM flagIMIsle of Man
IN flagINIndia
IO flagIOBritish Indian Ocean Territory
IQ flagIQIraq
IR flagIRIran, Islamic Republic of
IS flagISIceland
IT flagITItaly
JE flagJEJersey
JM flagJMJamaica
JO flagJOJordan
JP flagJPJapan
KE flagKEKenya
KG flagKGKyrgyzstan
KH flagKHCambodia
KI flagKIKiribati
KM flagKMComoros
KN flagKNSaint Kitts and Nevis
KP flagKPKorea,Democratic People�s Republic of (North Korea)
KR flagKRKorea, Republic of (South Korea)
KW flagKWKuwait
KY flagKYCayman Islands
KZ flagKZKazakhstan
LA flagLALao People�s Democratic Republic (Laos)
LB flagLBLebanon
LC flagLCSaint Lucia
LI flagLILiechtenstein
LK flagLKSri Lanka
LR flagLRLiberia
LS flagLSLesotho
LT flagLTLithuania
LU flagLULuxembourg
LV flagLVLatvia
LY flagLYLibya
MA flagMAMorocco
MC flagMCMonaco
MD flagMDMoldova, Republic of
ME flagMEMontenegro
MF flagMFSaint Martin (French part)
MG flagMGMadagascar
MH flagMHMarshall Islands
MK flagMKMacedonia, The Former Yugoslav Republic of
ML flagMLMali
MM flagMMMyanmar
MN flagMNMongolia
MO flagMOMacau
MP flagMPNorthern Mariana Islands
MQ flagMQMartinique
MR flagMRMauritania
MS flagMSMontserrat
MT flagMTMalta
MU flagMUMauritius
MV flagMVMaldives
MW flagMWMalawi
MX flagMXMexico
MY flagMYMalaysia
MZ flagMZMozambique
NA flagNANamibia
NC flagNCNew Caledonia
NE flagNENiger
NF flagNFNorfolk Island
NG flagNGNigeria
NI flagNINicaragua
NL flagNLNetherlands
NO flagNONorway
NP flagNPNepal
NR flagNRNauru
NU flagNUNiue
NZ flagNZNew Zealand
OM flagOMOman
PA flagPAPanama
PE flagPEPeru
PF flagPFFrench Polynesia
PG flagPGthe Independent State of Papua New Guinea
PH flagPHPhilippines
PK flagPKPakistan
PL flagPLPoland
PM flagPMSaint Pierre and Miquelon
PN flagPNPitcairn
PR flagPRPuerto Rico
PS flagPSPalestine, State of
PT flagPTPortugal
PW flagPWPalau
PY flagPYParaguay
QA flagQAQatar
RE flagRERéunion
RO flagRORomania
RS flagRSSerbia and Montenegro
RU flagRURussian Federation
RW flagRWRwanda
SA flagSASaudi Arabia
SB flagSBSolomon Islands
SC flagSCSeychelles
SD flagSDSudan
SE flagSESweden
SG flagSGSingapore
SH flagSHAscension
SH flagSHSaint Helena
SH flagSHSaint Helena, Ascension and Tristan da Cunha
SH flagSHTristan da Cunha
SI flagSISlovenia
SJ flagSJJan Mayen
SJ flagSJSvalbard and Jan Mayen
SK flagSKSlovakia
SL flagSLSierra Leone
SM flagSMSan Marino
SN flagSNSenegal
SO flagSOSomalia
SR flagSRSuriname
SS flagSSSouth Sudan
ST flagSTSão Tomé and and Príncipe
SV flagSVEl Salvador
SX flagSXSint Maarten (Dutch Part)
SY flagSYSyrian Arab Republic
SZ flagSZSwaziland
TC flagTCTurks and Caicos Islands
TD flagTDChad
TF flagTFFrench Southern Territories
TG flagTGTogo
TH flagTHThailand
TJ flagTJTajikistan
TK flagTKTokelau
TL flagTLTimor-Leste
TM flagTMTurkmenistan
TN flagTNTunisia
TO flagTOTonga
TR flagTRTurkey
TT flagTTTrinidad and Tobago
TV flagTVTuvalu
TW flagTWTaiwan, Province of China
TZ flagTZTanzania, United Republic of
UA flagUAUkraine
UG flagUGUganda
UM flagUMUnited States (minor outlying islands)
US flagUSUnited States
UY flagUYUruguay
UZ flagUZUzbekistan
VA flagVAHoly See (Vatican City State)
VC flagVCSaint Vincent and the Grenadines
VE flagVEVenezuela, Bolivarian Republic of
VG flagVGVirgin Islands, British
VI flagVIVirgin Islands, U.S.
VN flagVNViet Nam
VU flagVUVanuatu
WF flagWFWallis and Futuna
WS flagWSSamoa
YE flagYEYemen
YT flagYTMayotte
ZA flagZASouth Africa
ZM flagZMZambia
ZW flagZWZimbabwe

Country codes overlap province and states codes. For example ca means both Canada and California and sk means both Slovakia and Saskatchewan.

Most of the flags came compliments of icondrawer.com. Bonaire, Curaçao, St. Maarten, Serbia and Montenegro came from Wikipedia.


This page is posted
on the web at:

http://mindprod.com/jgloss/countrycodes.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\countrycodes.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.97.14.89]
You are visitor number