Skip to content

Instantly share code, notes, and snippets.

@yaronguez
Created February 17, 2015 01:37
Show Gist options
  • Save yaronguez/e2d2799c67fc9cca0fa5 to your computer and use it in GitHub Desktop.
Save yaronguez/e2d2799c67fc9cca0fa5 to your computer and use it in GitHub Desktop.
Country list formatted for Advanced Custom Fields select dropdown
afghanistan : Afghanistan
albania : Albania
algeria : Algeria
american_samoa : American Samoa
andorra : Andorra
angola : Angola
anguilla : Anguilla
antigua_and_barbuda : Antigua and Barbuda
argentina : Argentina
armenia : Armenia
aruba : Aruba
australia : Australia
austria : Austria
azerbaijan : Azerbaijan
bahamas : Bahamas
bahrain : Bahrain
bangladesh : Bangladesh
barbados : Barbados
belarus : Belarus
belgium : Belgium
belize : Belize
benin : Benin
bermuda : Bermuda
bhutan : Bhutan
bolivia : Bolivia
bosnia-herzegovina : Bosnia-Herzegovina
botswana : Botswana
bouvet_island : Bouvet Island
brazil : Brazil
brunei : Brunei
bulgaria : Bulgaria
burkina_faso : Burkina Faso
burundi : Burundi
cambodia : Cambodia
cameroon : Cameroon
canada : Canada
cape_verde : Cape Verde
cayman_islands : Cayman Islands
central_african_republic : Central African Republic
chad : Chad
chile : Chile
china : China
christmas_island : Christmas Island
cocos_(keeling)_islands : Cocos (Keeling) Islands
colombia : Colombia
comoros : Comoros
congo,_democratic_republic_of_the_(zaire) : Congo, Democratic Republic of the (Zaire)
congo,_republic_of : Congo, Republic of
cook_islands : Cook Islands
costa_rica : Costa Rica
croatia : Croatia
cuba : Cuba
cyprus : Cyprus
czech_republic : Czech Republic
denmark : Denmark
djibouti : Djibouti
dominica : Dominica
dominican_republic : Dominican Republic
ecuador : Ecuador
egypt : Egypt
el_salvador : El Salvador
equatorial_guinea : Equatorial Guinea
eritrea : Eritrea
estonia : Estonia
ethiopia : Ethiopia
falkland_islands : Falkland Islands
faroe_islands : Faroe Islands
fiji : Fiji
finland : Finland
france : France
french_guiana : French Guiana
gabon : Gabon
gambia : Gambia
georgia : Georgia
germany : Germany
ghana : Ghana
gibraltar : Gibraltar
greece : Greece
greenland : Greenland
grenada : Grenada
guadeloupe_(french) : Guadeloupe (French)
guam_(usa) : Guam (USA)
guatemala : Guatemala
guinea : Guinea
guinea_bissau : Guinea Bissau
guyana : Guyana
haiti : Haiti
holy_see : Holy See
honduras : Honduras
hong_kong : Hong Kong
hungary : Hungary
iceland : Iceland
india : India
indonesia : Indonesia
iran : Iran
iraq : Iraq
ireland : Ireland
israel : Israel
italy : Italy
ivory_coast_(cote_d`ivoire) : Ivory Coast (Cote D`Ivoire)
jamaica : Jamaica
japan : Japan
jordan : Jordan
kazakhstan : Kazakhstan
kenya : Kenya
kiribati : Kiribati
kuwait : Kuwait
kyrgyzstan : Kyrgyzstan
laos : Laos
latvia : Latvia
lebanon : Lebanon
lesotho : Lesotho
liberia : Liberia
libya : Libya
liechtenstein : Liechtenstein
lithuania : Lithuania
luxembourg : Luxembourg
macau : Macau
macedonia : Macedonia
madagascar : Madagascar
malawi : Malawi
malaysia : Malaysia
maldives : Maldives
mali : Mali
malta : Malta
marshall_islands : Marshall Islands
martinique_(french) : Martinique (French)
mauritania : Mauritania
mauritius : Mauritius
mayotte : Mayotte
mexico : Mexico
micronesia : Micronesia
moldova : Moldova
monaco : Monaco
mongolia : Mongolia
montenegro : Montenegro
montserrat : Montserrat
morocco : Morocco
mozambique : Mozambique
myanmar : Myanmar
namibia : Namibia
nauru : Nauru
nepal : Nepal
netherlands : Netherlands
netherlands_antilles : Netherlands Antilles
new_caledonia_(french) : New Caledonia (French)
new_zealand : New Zealand
nicaragua : Nicaragua
niger : Niger
nigeria : Nigeria
niue : Niue
norfolk_island : Norfolk Island
north_korea : North Korea
northern_mariana_islands : Northern Mariana Islands
norway : Norway
oman : Oman
pakistan : Pakistan
palau : Palau
panama : Panama
papua_new_guinea : Papua New Guinea
paraguay : Paraguay
peru : Peru
philippines : Philippines
pitcairn_island : Pitcairn Island
poland : Poland
polynesia_(french) : Polynesia (French)
portugal : Portugal
puerto_rico : Puerto Rico
qatar : Qatar
reunion : Reunion
romania : Romania
russia : Russia
rwanda : Rwanda
saint_helena : Saint Helena
saint_kitts_and_nevis : Saint Kitts and Nevis
saint_lucia : Saint Lucia
saint_pierre_and_miquelon : Saint Pierre and Miquelon
saint_vincent_and_grenadines : Saint Vincent and Grenadines
samoa : Samoa
san_marino : San Marino
sao_tome_and_principe : Sao Tome and Principe
saudi_arabia : Saudi Arabia
senegal : Senegal
serbia : Serbia
seychelles : Seychelles
sierra_leone : Sierra Leone
singapore : Singapore
slovakia : Slovakia
slovenia : Slovenia
solomon_islands : Solomon Islands
somalia : Somalia
south_africa : South Africa
south_georgia_and_south_sandwich_islands : South Georgia and South Sandwich Islands
south_korea : South Korea
south_sudan : South Sudan
spain : Spain
sri_lanka : Sri Lanka
sudan : Sudan
suriname : Suriname
svalbard_and_jan_mayen_islands : Svalbard and Jan Mayen Islands
swaziland : Swaziland
sweden : Sweden
switzerland : Switzerland
syria : Syria
taiwan : Taiwan
tajikistan : Tajikistan
tanzania : Tanzania
thailand : Thailand
timor-leste_(east_timor) : Timor-Leste (East Timor)
togo : Togo
tokelau : Tokelau
tonga : Tonga
trinidad_and_tobago : Trinidad and Tobago
tunisia : Tunisia
turkey : Turkey
turkmenistan : Turkmenistan
turks_and_caicos_islands : Turks and Caicos Islands
tuvalu : Tuvalu
uganda : Uganda
ukraine : Ukraine
united_arab_emirates : United Arab Emirates
united_kingdom : United Kingdom
united_states : United States
uruguay : Uruguay
uzbekistan : Uzbekistan
vanuatu : Vanuatu
venezuela : Venezuela
vietnam : Vietnam
virgin_islands : Virgin Islands
wallis_and_futuna_islands : Wallis and Futuna Islands
yemen : Yemen
zambia : Zambia
zimbabwe : Zimbabwe
@jpguisa
Copy link

jpguisa commented Mar 3, 2022

Here with country code and country name

AF : Afghanistan
AX : Aland Islands
AL : Albania
DZ : Algeria
AS : American Samoa
AD : Andorra
AO : Angola
AI : Anguilla
AQ : Antarctica
AG : Antigua And Barbuda
AR : Argentina
AM : Armenia
AW : Aruba
AU : Australia
AT : Austria
AZ : Azerbaijan
BS : Bahamas
BH : Bahrain
BD : Bangladesh
BB : Barbados
BY : Belarus
BE : Belgium
BZ : Belize
BJ : Benin
BM : Bermuda
BT : Bhutan
BO : Bolivia
BA : Bosnia And Herzegovina
BW : Botswana
BV : Bouvet Island
BR : Brazil
IO : British Indian Ocean Territory
BN : Brunei Darussalam
BG : Bulgaria
BF : Burkina Faso
BI : Burundi
KH : Cambodia
CM : Cameroon
CA : Canada
CV : Cape Verde
KY : Cayman Islands
CF : Central African Republic
TD : Chad
CL : Chile
CN : China
CX : Christmas Island
CC : Cocos (Keeling) Islands
CO : Colombia
KM : Comoros
CG : Congo
CD : Congo Democratic Republic
CK : Cook Islands
CR : Costa Rica
CI : Cote D\Ivoire
HR : Croatia
CU : Cuba
CY : Cyprus
CZ : Czech Republic
DK : Denmark
DJ : Djibouti
DM : Dominica
DO : Dominican Republic
EC : Ecuador
EG : Egypt
SV : El Salvador
GQ : Equatorial Guinea
ER : Eritrea
EE : Estonia
ET : Ethiopia
FK : Falkland Islands (Malvinas)
FO : Faroe Islands
FJ : Fiji
FI : Finland
FR : France
GF : French Guiana
PF : French Polynesia
TF : French Southern Territories
GA : Gabon
GM : Gambia
GE : Georgia
DE : Germany
GH : Ghana
GI : Gibraltar
GR : Greece
GL : Greenland
GD : Grenada
GP : Guadeloupe
GU : Guam
GT : Guatemala
GG : Guernsey
GN : Guinea
GW : Guinea-Bissau
GY : Guyana
HT : Haiti
HM : Heard Island & Mcdonald Islands
VA : Holy See (Vatican City State)
HN : Honduras
HK : Hong Kong
HU : Hungary
IS : Iceland
IN : India
ID : Indonesia
IR : Iran Islamic Republic Of
IQ : Iraq
IE : Ireland
IM : Isle Of Man
IL : Israel
IT : Italy
JM : Jamaica
JP : Japan
JE : Jersey
JO : Jordan
KZ : Kazakhstan
KE : Kenya
KI : Kiribati
KR : Korea
KW : Kuwait
KG : Kyrgyzstan
LA : Lao People\s Democratic Republic
LV : Latvia
LB : Lebanon
LS : Lesotho
LR : Liberia
LY : Libyan Arab Jamahiriya
LI : Liechtenstein
LT : Lithuania
LU : Luxembourg
MO : Macao
MK : Macedonia
MG : Madagascar
MW : Malawi
MY : Malaysia
MV : Maldives
ML : Mali
MT : Malta
MH : Marshall Islands
MQ : Martinique
MR : Mauritania
MU : Mauritius
YT : Mayotte
MX : Mexico
FM : Micronesia Federated States Of
MD : Moldova
MC : Monaco
MN : Mongolia
ME : Montenegro
MS : Montserrat
MA : Morocco
MZ : Mozambique
MM : Myanmar
NA : Namibia
NR : Nauru
NP : Nepal
NL : Netherlands
AN : Netherlands Antilles
NC : New Caledonia
NZ : New Zealand
NI : Nicaragua
NE : Niger
NG : Nigeria
NU : Niue
NF : Norfolk Island
MP : Northern Mariana Islands
NO : Norway
OM : Oman
PK : Pakistan
PW : Palau
PS : Palestinian Territory Occupied
PA : Panama
PG : Papua New Guinea
PY : Paraguay
PE : Peru
PH : Philippines
PN : Pitcairn
PL : Poland
PT : Portugal
PR : Puerto Rico
QA : Qatar
RE : Reunion
RO : Romania
RU : Russian Federation
RW : Rwanda
BL : Saint Barthelemy
SH : Saint Helena
KN : Saint Kitts And Nevis
LC : Saint Lucia
MF : Saint Martin
PM : Saint Pierre And Miquelon
VC : Saint Vincent And Grenadines
WS : Samoa
SM : San Marino
ST : Sao Tome And Principe
SA : Saudi Arabia
SN : Senegal
RS : Serbia
SC : Seychelles
SL : Sierra Leone
SG : Singapore
SK : Slovakia
SI : Slovenia
SB : Solomon Islands
SO : Somalia
ZA : South Africa
GS : South Georgia And Sandwich Isl.
ES : Spain
LK : Sri Lanka
SD : Sudan
SR : Suriname
SJ : Svalbard And Jan Mayen
SZ : Swaziland
SE : Sweden
CH : Switzerland
SY : Syrian Arab Republic
TW : Taiwan
TJ : Tajikistan
TZ : Tanzania
TH : Thailand
TL : Timor-Leste
TG : Togo
TK : Tokelau
TO : Tonga
TT : Trinidad And Tobago
TN : Tunisia
TR : Turkey
TM : Turkmenistan
TC : Turks And Caicos Islands
TV : Tuvalu
UG : Uganda
UA : Ukraine
AE : United Arab Emirates
GB : United Kingdom
US : United States
UM : United States Outlying Islands
UY : Uruguay
UZ : Uzbekistan
VU : Vanuatu
VE : Venezuela
VN : Viet Nam
VG : Virgin Islands British
VI : Virgin Islands U.S.
WF : Wallis And Futuna
EH : Western Sahara
YE : Yemen
ZM : Zambia
ZW : Zimbabwe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment