Skip to content

Instantly share code, notes, and snippets.

@kalinchernev
Created October 6, 2014 09:42
Show Gist options
  • Save kalinchernev/486393efcca01623b18d to your computer and use it in GitHub Desktop.
Save kalinchernev/486393efcca01623b18d to your computer and use it in GitHub Desktop.
Plain text list of countries
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua & Deps
Argentina
Armenia
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bhutan
Bolivia
Bosnia Herzegovina
Botswana
Brazil
Brunei
Bulgaria
Burkina
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Central African Rep
Chad
Chile
China
Colombia
Comoros
Congo
Congo {Democratic Rep}
Costa Rica
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
East Timor
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Fiji
Finland
France
Gabon
Gambia
Georgia
Germany
Ghana
Greece
Grenada
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland {Republic}
Israel
Italy
Ivory Coast
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea North
Korea South
Kosovo
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macedonia
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Mauritania
Mauritius
Mexico
Micronesia
Moldova
Monaco
Mongolia
Montenegro
Morocco
Mozambique
Myanmar, {Burma}
Namibia
Nauru
Nepal
Netherlands
New Zealand
Nicaragua
Niger
Nigeria
Norway
Oman
Pakistan
Palau
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Poland
Portugal
Qatar
Romania
Russian Federation
Rwanda
St Kitts & Nevis
St Lucia
Saint Vincent & the Grenadines
Samoa
San Marino
Sao Tome & Principe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Sudan
Spain
Sri Lanka
Sudan
Suriname
Swaziland
Sweden
Switzerland
Syria
Taiwan
Tajikistan
Tanzania
Thailand
Togo
Tonga
Trinidad & Tobago
Tunisia
Turkey
Turkmenistan
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Vietnam
Yemen
Zambia
Zimbabwe
@Hernanson
Copy link

Hernanson commented Apr 24, 2024 via email

@brianmcaudill
Copy link

brianmcaudill commented May 10, 2024


namespace App\Enums;

enum Country
{
    case Afghanistan = 'Afghanistan';
    case Albania = 'Albania';
    case Algeria = 'Algeria';
    case Andorra = 'Andorra';
    case Angola = 'Angola';
    case AntiguaAndBarbuda = 'Antigua and Barbuda';
    case Argentina = 'Argentina';
    case Armenia = 'Armenia';
    case Australia = 'Australia';
    case Austria = 'Austria';
    case Azerbaijan = 'Azerbaijan';
    case Bahamas = 'Bahamas';
    case Bahrain = 'Bahrain';
    case Bangladesh = 'Bangladesh';
    case Barbados = 'Barbados';
    case Belarus = 'Belarus';
    case Belgium = 'Belgium';
    case Belize = 'Belize';
    case Benin = 'Benin';
    case Bhutan = 'Bhutan';
    case Bolivia = 'Bolivia';
    case BosniaAndHerzegovina = 'Bosnia and Herzegovina';
    case Botswana = 'Botswana';
    case Brazil = 'Brazil';
    case Brunei = 'Brunei';
    case Bulgaria = 'Bulgaria';
    case BurkinaFaso = 'Burkina Faso';
    case Burundi = 'Burundi';
    case CaboVerde = 'Cabo Verde';
    case Cambodia = 'Cambodia';
    case Cameroon = 'Cameroon';
    case Canada = 'Canada';
    case CentralAfricanRepublic = 'Central African Republic';
    case Chad = 'Chad';
    case Chile = 'Chile';
    case China = 'China';
    case Colombia = 'Colombia';
    case Comoros = 'Comoros';
    case CongoBrazzaville = 'Congo (Brazzaville)';
    case CongoKinshasa = 'Congo (Kinshasa)';
    case CostaRica = 'Costa Rica';
    case Croatia = 'Croatia';
    case Curacao = 'Curacao';
    case Cuba = 'Cuba';
    case Cyprus = 'Cyprus';
    case CzechRepublic = 'Czech Republic';
    case Denmark = 'Denmark';
    case Djibouti = 'Djibouti';
    case Dominica = 'Dominica';
    case DominicanRepublic = 'Dominican Republic';
    case Ecuador = 'Ecuador';
    case Egypt = 'Egypt';
    case ElSalvador = 'El Salvador';
    case EquatorialGuinea = 'Equatorial Guinea';
    case Eritrea = 'Eritrea';
    case Estonia = 'Estonia';
    case Eswatini = 'Eswatini';
    case Ethiopia = 'Ethiopia';
    case Fiji = 'Fiji';
    case Finland = 'Finland';
    case France = 'France';
    case Gabon = 'Gabon';
    case Gambia = 'Gambia';
    case Georgia = 'Georgia';
    case Germany = 'Germany';
    case Ghana = 'Ghana';
    case Greece = 'Greece';
    case Grenada = 'Grenada';
    case Guatemala = 'Guatemala';
    case Guinea = 'Guinea';
    case GuineaBissau = 'Guinea-Bissau';
    case Guyana = 'Guyana';
    case Haiti = 'Haiti';
    case Honduras = 'Honduras';
    case Hungary = 'Hungary';
    case Iceland = 'Iceland';
    case India = 'India';
    case Indonesia = 'Indonesia';
    case Iran = 'Iran';
    case Iraq = 'Iraq';
    case Ireland = 'Ireland';
    case Israel = 'Israel';
    case Italy = 'Italy';
    case IvoryCoast = 'Ivory Coast';
    case Jamaica = 'Jamaica';
    case Japan = 'Japan';
    case Jordan = 'Jordan';
    case Kazakhstan = 'Kazakhstan';
    case Kenya = 'Kenya';
    case Kiribati = 'Kiribati';
    case Kuwait = 'Kuwait';
    case Kyrgyzstan = 'Kyrgyzstan';
    case Laos = 'Laos';
    case Latvia = 'Latvia';
    case Lebanon = 'Lebanon';
    case Lesotho = 'Lesotho';
    case Liberia = 'Liberia';
    case Libya = 'Libya';
    case Liechtenstein = 'Liechtenstein';
    case Lithuania = 'Lithuania';
    case Luxembourg = 'Luxembourg';
    case Madagascar = 'Madagascar';
    case Malawi = 'Malawi';
    case Malaysia = 'Malaysia';
    case Maldives = 'Maldives';
    case Mali = 'Mali';
    case Malta = 'Malta';
    case MarshallIslands = 'Marshall Islands';
    case Mauritania = 'Mauritania';
    case Mauritius = 'Mauritius';
    case Mexico = 'Mexico';
    case Micronesia = 'Micronesia';
    case Moldova = 'Moldova';
    case Monaco = 'Monaco';
    case Mongolia = 'Mongolia';
    case Montenegro = 'Montenegro';
    case Morocco = 'Morocco';
    case Mozambique = 'Mozambique';
    case Myanmar = 'Myanmar';
    case Namibia = 'Namibia';
    case Nauru = 'Nauru';
    case Nepal = 'Nepal';
    case Netherlands = 'Netherlands';
    case NewZealand = 'New Zealand';
    case Nicaragua = 'Nicaragua';
    case Niger = 'Niger';
    case Nigeria = 'Nigeria';
    case NorthKorea = 'North Korea';
    case NorthMacedonia = 'North Macedonia';
    case Norway = 'Norway';
    case Oman = 'Oman';
    case Pakistan = 'Pakistan';
    case Palau = 'Palau';
    case Palestine = 'Palestine';
    case Panama = 'Panama';
    case PapuaNewGuinea = 'Papua New Guinea';
    case Paraguay = 'Paraguay';
    case Peru = 'Peru';
    case Philippines = 'Philippines';
    case Poland = 'Poland';
    case Portugal = 'Portugal';
    case Qatar = 'Qatar';
    case Romania = 'Romania';
    case Russia = 'Russia';
    case Rwanda = 'Rwanda';
    case SaintKittsAndNevis = 'Saint Kitts and Nevis';
    case SaintLucia = 'Saint Lucia';
    case SaintVincentAndTheGrenadines = 'Saint Vincent and the Grenadines';
    case Samoa = 'Samoa';
    case SanMarino = 'San Marino';
    case SaoTomeAndPrincipe = 'Sao Tome and Principe';
    case SaudiArabia = 'Saudi Arabia';
    case Senegal = 'Senegal';
    case Serbia = 'Serbia';
    case Seychelles = 'Seychelles';
    case SierraLeone = 'Sierra Leone';
    case Singapore = 'Singapore';
    case Slovakia = 'Slovakia';
    case Slovenia = 'Slovenia';
    case SolomonIslands = 'Solomon Islands';
    case Somalia = 'Somalia';
    case SouthAfrica = 'South Africa';
    case SouthKorea = 'South Korea';
    case SouthSudan = 'South Sudan';
    case Spain = 'Spain';
    case SriLanka = 'Sri Lanka';
    case Sudan = 'Sudan';
    case Suriname = 'Suriname';
    case Sweden = 'Sweden';
    case Switzerland = 'Switzerland';
    case Syria = 'Syria';
    case Taiwan = 'Taiwan';
    case Tajikistan = 'Tajikistan';
    case Tanzania = 'Tanzania';
    case Thailand = 'Thailand';
    case TimorLeste = 'Timor-Leste';
    case Togo = 'Togo';
    case Tonga = 'Tonga';
    case TrinidadAndTobago = 'Trinidad and Tobago';
    case Tunisia = 'Tunisia';
    case Turkey = 'Turkey';
    case Turkmenistan = 'Turkmenistan';
    case Tuvalu = 'Tuvalu';
    case Uganda = 'Uganda';
    case Ukraine = 'Ukraine';
    case UnitedArabEmirates = 'United Arab Emirates';
    case UnitedKingdom = 'United Kingdom';
    case UnitedStates = 'United States';
    case Uruguay = 'Uruguay';
    case Uzbekistan = 'Uzbekistan';
    case Vanuatu = 'Vanuatu';
    case VaticanCity = 'Vatican City';
    case Venezuela = 'Venezuela';
    case Vietnam = 'Vietnam';
    case Yemen = 'Yemen';
    case Zambia = 'Zambia';
    case Zimbabwe = 'Zimbabwe';
}

@arminamirinasab
Copy link

It was extremely practical

@hd016
Copy link

hd016 commented Jul 17, 2024

HTML code with all the countries as options:

<select>
  <option value="Afghanistan">Afghanistan</option>
  <option value="Albania">Albania</option>
  <option value="Algeria">Algeria</option>
  <option value="Andorra">Andorra</option>
  <option value="Angola">Angola</option>
  <option value="Antigua&Deps">Antigua & Deps</option>
  <option value="Argentina">Argentina</option>
  <option value="Armenia">Armenia</option>
  <option value="Australia">Australia</option>
  <option value="Austria">Austria</option>
  <option value="Azerbaijan">Azerbaijan</option>
  <option value="Bahamas">Bahamas</option>
  <option value="Bahrain">Bahrain</option>
  <option value="Bangladesh">Bangladesh</option>
  <option value="Barbados">Barbados</option>
  <option value="Belarus">Belarus</option>
  <option value="Belgium">Belgium</option>
  <option value="Belize">Belize</option>
  <option value="Benin">Benin</option>
  <option value="Bermuda">Bermuda</option>
  <option value="Bhutan">Bhutan</option>
  <option value="Bolivia">Bolivia</option>
  <option value="BosniaHerzegovina">Bosnia & Herzegovina</option>
  <option value="Botswana">Botswana</option>
  <option value="Brazil">Brazil</option>
  <option value="Brunei">Brunei</option>
  <option value="Bulgaria">Bulgaria</option>
  <option value="Burkina">Burkina</option>
  <option value="Burundi">Burundi</option>
  <option value="Cambodia">Cambodia</option>
  <option value="Cameroon">Cameroon</option>
  <option value="Canada">Canada</option>
  <option value="CapeVerde">Cape Verde</option>
  <option value="CentralAfricanRep">Central African Rep</option>
  <option value="Chad">Chad</option>
  <option value="Chile">Chile</option>
  <option value="China">China</option>
  <option value="Colombia">Colombia</option>
  <option value="Comoros">Comoros</option>
  <option value="Congo">Congo</option>
  <option value="Congo(DemocraticRep)">Congo (Democratic Rep)</option>
  <option value="CostaRica">Costa Rica</option>
  <option value="Croatia">Croatia</option>
  <option value="Cuba">Cuba</option>
  <option value="Cyprus">Cyprus</option>
  <option value="CzechRepublic">Czech Republic</option>
  <option value="Denmark">Denmark</option>
  <option value="Djibouti">Djibouti</option>
  <option value="Dominica">Dominica</option>
  <option value="DominicanRepublic">Dominican Republic</option>
  <option value="EastTimor">East Timor</option>
  <option value="Ecuador">Ecuador</option>
  <option value="Egypt">Egypt</option>
  <option value="ElSalvador">El Salvador</option>
  <option value="EquatorialGuinea">Equatorial Guinea</option>
  <option value="Eritrea">Eritrea</option>
  <option value="Estonia">Estonia</option>
  <option value="Eswatini">Eswatini</option>
  <option value="Ethiopia">Ethiopia</option>
  <option value="Fiji">Fiji</option>
  <option value="Finland">Finland</option>
  <option value="France">France</option>
  <option value="Gabon">Gabon</option>
  <option value="Gambia">Gambia</option>
  <option value="Georgia">Georgia</option>
  <option value="Germany">Germany</option>
  <option value="Ghana">Ghana</option>
  <option value="Greece">Greece</option>
  <option value="Grenada">Grenada</option>
  <option value="Guatemala">Guatemala</option>
  <option value="Guinea">Guinea</option>
  <option value="Guinea-Bissau">Guinea-Bissau</option>
  <option value="Guyana">Guyana</option>
  <option value="Haiti">Haiti</option>
  <option value="Honduras">Honduras</option>
  <option value="Hungary">Hungary</option>
  <option value="Iceland">Iceland</option>
  <option value="India">India</option>
  <option value="Indonesia">Indonesia</option>
  <option value="Iran">Iran</option>
  <option value="Iraq">Iraq</option>
  <option value="Ireland(Republic)">Ireland (Republic)</option>
  <option value="Israel">Israel</option>
  <option value="Italy">Italy</option>
  <option value="IvoryCoast">Ivory Coast</option>
  <option value="Jamaica">Jamaica</option>
  <option value="Japan">Japan</option>
  <option value="Jordan">Jordan</option>
  <option value="Kazakhstan">Kazakhstan</option>
  <option value="Kenya">Kenya</option>
  <option value="Kiribati">Kiribati</option>
  <option value="KoreaNorth">Korea North</option>
  <option value="KoreaSouth">Korea South</option>
  <option value="Kosovo">Kosovo</option>
  <option value="Kuwait">Kuwait</option>
  <option value="Kyrgyzstan">Kyrgyzstan</option>
  <option value="Laos">Laos</option>
  <option value="Latvia">Latvia</option>
  <option value="Lebanon">Lebanon</option>
  <option value="Lesotho">Lesotho</option>
  <option value="Liberia">Liberia</option>
  <option value="Libya">Libya</option>
  <option value="Liechtenstein">Liechtenstein</option>
  <option value="Lithuania">Lithuania</option>
  <option value="Luxembourg">Luxembourg</option>
  <option value="Macedonia">Macedonia</option>
  <option value="Madagascar">Madagascar</option>
  <option value="Malawi">Malawi</option>
  <option value="Malaysia">Malaysia</option>
  <option value="Maldives">Maldives</option>
  <option value="Mali">Mali</option>
  <option value="Malta">Malta</option>
  <option value="MarshallIslands">Marshall Islands</option>
  <option value="Mauritania">Mauritania</option>
  <option value="Mauritius">Mauritius</option>
  <option value="Mexico">Mexico</option>
  <option value="Micronesia">Micronesia</option>
  <option value="Moldova">Moldova</option>
  <option value="Monaco">Monaco</option>
  <option value="Mongolia">Mongolia</option>
  <option value="Montenegro">Montenegro</option>
  <option value="Morocco">Morocco</option>
  <option value="Mozambique">Mozambique</option>
  <option value="Myanmar">Myanmar</option>
  <option value="Namibia">Namibia</option>
  <option value="Nauru">Nauru</option>
  <option value="Nepal">Nepal</option>
  <option value="Netherlands">Netherlands</option>
  <option value="NewZealand">New Zealand</option>
  <option value="Nicaragua">Nicaragua</option>
  <option value="Niger">Niger</option>
  <option value="Nigeria">Nigeria</option>
  <option value="Norway">Norway</option>
  <option value="Oman">Oman</option>
  <option value="Pakistan">Pakistan</option>
  <option value="Palau">Palau</option>
  <option value="Palestine">Palestine</option>
  <option value="Panama">Panama</option>
  <option value="PapuaNewGuinea">Papua New Guinea</option>
  <option value="Paraguay">Paraguay</option>
  <option value="Peru">Peru</option>
  <option value="Philippines">Philippines</option>
  <option value="Poland">Poland</option>
  <option value="Portugal">Portugal</option>
  <option value="Qatar">Qatar</option>
  <option value="Romania">Romania</option>
  <option value="RussianFederation">Russian Federation</option>
  <option value="Rwanda">Rwanda</option>
  <option value="StKitts&Nevis">St Kitts & Nevis</option>
  <option value="StLucia">St Lucia</option>
  <option value="SaintVincent&theGrenadines">Saint Vincent & the Grenadines</option>
  <option value="Samoa">Samoa</option>
  <option value="SanMarino">San Marino</option>
  <option value="SaoTome&Principe">Sao Tome & Principe</option>
  <option value="SaudiArabia">Saudi Arabia</option>
  <option value="Senegal">Senegal</option>
  <option value="Serbia">Serbia</option>
  <option value="Seychelles">Seychelles</option>
  <option value="SierraLeone">Sierra Leone</option>
  <option value="Singapore">Singapore</option>
  <option value="Slovakia">Slovakia</option>
  <option value="Slovenia">Slovenia</option>
  <option value="SolomonIslands">Solomon Islands</option>
  <option value="Somalia">Somalia</option>
  <option value="SouthAfrica">South Africa</option>
  <option value="SouthSudan">South Sudan</option>
  <option value="Spain">Spain</option>
  <option value="SriLanka">Sri Lanka</option>
  <option value="Sudan">Sudan</option>
  <option value="Suriname">Suriname</option>
  <option value="Sweden">Sweden</option>
  <option value="Switzerland">Switzerland</option>
  <option value="Syria">Syria</option>
  <option value="Taiwan">Taiwan</option>
  <option value="Tajikistan">Tajikistan</option>
  <option value="Tanzania">Tanzania</option>
  <option value="Thailand">Thailand</option>
  <option value="Togo">Togo</option>
  <option value="Tonga">Tonga</option>
  <option value="Trinidad&Tobago">Trinidad & Tobago</option>
  <option value="Tunisia">Tunisia</option>
  <option value="Turkey">Turkey</option>
  <option value="Turkmenistan">Turkmenistan</option>
  <option value="Tuvalu">Tuvalu</option>
  <option value="Uganda">Uganda</option>
  <option value="Ukraine">Ukraine</option>
  <option value="UnitedArabEmirates">United Arab Emirates</option>
  <option value="UnitedKingdom">United Kingdom</option>
  <option value="UnitedStates">United States</option>
  <option value="Uruguay">Uruguay</option>
  <option value="Uzbekistan">Uzbekistan</option>
  <option value="Vanuatu">Vanuatu</option>
  <option value="VaticanCity">Vatican City</option>
  <option value="Venezuela">Venezuela</option>
  <option value="Vietnam">Vietnam</option>
  <option value="Yemen">Yemen</option>
  <option value="Zambia">Zambia</option>
  <option value="Zimbabwe">Zimbabwe</option>
</select>

@hd016
Copy link

hd016 commented Jul 17, 2024

HTML code with all the countries as options:

<select>
  <option value="Afghanistan">Afghanistan</option>
  <option value="Albania">Albania</option>
  <option value="Algeria">Algeria</option>
  <option value="Andorra">Andorra</option>
  <option value="Angola">Angola</option>
  <option value="Antigua&Deps">Antigua & Deps</option>
  <option value="Argentina">Argentina</option>
  <option value="Armenia">Armenia</option>
  <option value="Australia">Australia</option>
  <option value="Austria">Austria</option>
  <option value="Azerbaijan">Azerbaijan</option>
  <option value="Bahamas">Bahamas</option>
  <option value="Bahrain">Bahrain</option>
  <option value="Bangladesh">Bangladesh</option>
  <option value="Barbados">Barbados</option>
  <option value="Belarus">Belarus</option>
  <option value="Belgium">Belgium</option>
  <option value="Belize">Belize</option>
  <option value="Benin">Benin</option>
  <option value="Bermuda">Bermuda</option>
  <option value="Bhutan">Bhutan</option>
  <option value="Bolivia">Bolivia</option>
  <option value="BosniaHerzegovina">Bosnia & Herzegovina</option>
  <option value="Botswana">Botswana</option>
  <option value="Brazil">Brazil</option>
  <option value="Brunei">Brunei</option>
  <option value="Bulgaria">Bulgaria</option>
  <option value="Burkina">Burkina</option>
  <option value="Burundi">Burundi</option>
  <option value="Cambodia">Cambodia</option>
  <option value="Cameroon">Cameroon</option>
  <option value="Canada">Canada</option>
  <option value="CapeVerde">Cape Verde</option>
  <option value="CentralAfricanRep">Central African Rep</option>
  <option value="Chad">Chad</option>
  <option value="Chile">Chile</option>
  <option value="China">China</option>
  <option value="Colombia">Colombia</option>
  <option value="Comoros">Comoros</option>
  <option value="Congo">Congo</option>
  <option value="Congo(DemocraticRep)">Congo (Democratic Rep)</option>
  <option value="CostaRica">Costa Rica</option>
  <option value="Croatia">Croatia</option>
  <option value="Cuba">Cuba</option>
  <option value="Cyprus">Cyprus</option>
  <option value="CzechRepublic">Czech Republic</option>
  <option value="Denmark">Denmark</option>
  <option value="Djibouti">Djibouti</option>
  <option value="Dominica">Dominica</option>
  <option value="DominicanRepublic">Dominican Republic</option>
  <option value="EastTimor">East Timor</option>
  <option value="Ecuador">Ecuador</option>
  <option value="Egypt">Egypt</option>
  <option value="ElSalvador">El Salvador</option>
  <option value="EquatorialGuinea">Equatorial Guinea</option>
  <option value="Eritrea">Eritrea</option>
  <option value="Estonia">Estonia</option>
  <option value="Eswatini">Eswatini</option>
  <option value="Ethiopia">Ethiopia</option>
  <option value="Fiji">Fiji</option>
  <option value="Finland">Finland</option>
  <option value="France">France</option>
  <option value="Gabon">Gabon</option>
  <option value="Gambia">Gambia</option>
  <option value="Georgia">Georgia</option>
  <option value="Germany">Germany</option>
  <option value="Ghana">Ghana</option>
  <option value="Greece">Greece</option>
  <option value="Grenada">Grenada</option>
  <option value="Guatemala">Guatemala</option>
  <option value="Guinea">Guinea</option>
  <option value="Guinea-Bissau">Guinea-Bissau</option>
  <option value="Guyana">Guyana</option>
  <option value="Haiti">Haiti</option>
  <option value="Honduras">Honduras</option>
  <option value="Hungary">Hungary</option>
  <option value="Iceland">Iceland</option>
  <option value="India">India</option>
  <option value="Indonesia">Indonesia</option>
  <option value="Iran">Iran</option>
  <option value="Iraq">Iraq</option>
  <option value="Ireland(Republic)">Ireland (Republic)</option>
  <option value="Israel">Israel</option>
  <option value="Italy">Italy</option>
  <option value="IvoryCoast">Ivory Coast</option>
  <option value="Jamaica">Jamaica</option>
  <option value="Japan">Japan</option>
  <option value="Jordan">Jordan</option>
  <option value="Kazakhstan">Kazakhstan</option>
  <option value="Kenya">Kenya</option>
  <option value="Kiribati">Kiribati</option>
  <option value="KoreaNorth">Korea North</option>
  <option value="KoreaSouth">Korea South</option>
  <option value="Kosovo">Kosovo</option>
  <option value="Kuwait">Kuwait</option>
  <option value="Kyrgyzstan">Kyrgyzstan</option>
  <option value="Laos">Laos</option>
  <option value="Latvia">Latvia</option>
  <option value="Lebanon">Lebanon</option>
  <option value="Lesotho">Lesotho</option>
  <option value="Liberia">Liberia</option>
  <option value="Libya">Libya</option>
  <option value="Liechtenstein">Liechtenstein</option>
  <option value="Lithuania">Lithuania</option>
  <option value="Luxembourg">Luxembourg</option>
  <option value="Macedonia">Macedonia</option>
  <option value="Madagascar">Madagascar</option>
  <option value="Malawi">Malawi</option>
  <option value="Malaysia">Malaysia</option>
  <option value="Maldives">Maldives</option>
  <option value="Mali">Mali</option>
  <option value="Malta">Malta</option>
  <option value="MarshallIslands">Marshall Islands</option>
  <option value="Mauritania">Mauritania</option>
  <option value="Mauritius">Mauritius</option>
  <option value="Mexico">Mexico</option>
  <option value="Micronesia">Micronesia</option>
  <option value="Moldova">Moldova</option>
  <option value="Monaco">Monaco</option>
  <option value="Mongolia">Mongolia</option>
  <option value="Montenegro">Montenegro</option>
  <option value="Morocco">Morocco</option>
  <option value="Mozambique">Mozambique</option>
  <option value="Myanmar">Myanmar</option>
  <option value="Namibia">Namibia</option>
  <option value="Nauru">Nauru</option>
  <option value="Nepal">Nepal</option>
  <option value="Netherlands">Netherlands</option>
  <option value="NewZealand">New Zealand</option>
  <option value="Nicaragua">Nicaragua</option>
  <option value="Niger">Niger</option>
  <option value="Nigeria">Nigeria</option>
  <option value="Norway">Norway</option>
  <option value="Oman">Oman</option>
  <option value="Pakistan">Pakistan</option>
  <option value="Palau">Palau</option>
  <option value="Palestine">Palestine</option>
  <option value="Panama">Panama</option>
  <option value="PapuaNewGuinea">Papua New Guinea</option>
  <option value="Paraguay">Paraguay</option>
  <option value="Peru">Peru</option>
  <option value="Philippines">Philippines</option>
  <option value="Poland">Poland</option>
  <option value="Portugal">Portugal</option>
  <option value="Qatar">Qatar</option>
  <option value="Romania">Romania</option>
  <option value="RussianFederation">Russian Federation</option>
  <option value="Rwanda">Rwanda</option>
  <option value="StKitts&Nevis">St Kitts & Nevis</option>
  <option value="StLucia">St Lucia</option>
  <option value="SaintVincent&theGrenadines">Saint Vincent & the Grenadines</option>
  <option value="Samoa">Samoa</option>
  <option value="SanMarino">San Marino</option>
  <option value="SaoTome&Principe">Sao Tome & Principe</option>
  <option value="SaudiArabia">Saudi Arabia</option>
  <option value="Senegal">Senegal</option>
  <option value="Serbia">Serbia</option>
  <option value="Seychelles">Seychelles</option>
  <option value="SierraLeone">Sierra Leone</option>
  <option value="Singapore">Singapore</option>
  <option value="Slovakia">Slovakia</option>
  <option value="Slovenia">Slovenia</option>
  <option value="SolomonIslands">Solomon Islands</option>
  <option value="Somalia">Somalia</option>
  <option value="SouthAfrica">South Africa</option>
  <option value="SouthSudan">South Sudan</option>
  <option value="Spain">Spain</option>
  <option value="SriLanka">Sri Lanka</option>
  <option value="Sudan">Sudan</option>
  <option value="Suriname">Suriname</option>
  <option value="Sweden">Sweden</option>
  <option value="Switzerland">Switzerland</option>
  <option value="Syria">Syria</option>
  <option value="Taiwan">Taiwan</option>
  <option value="Tajikistan">Tajikistan</option>
  <option value="Tanzania">Tanzania</option>
  <option value="Thailand">Thailand</option>
  <option value="Togo">Togo</option>
  <option value="Tonga">Tonga</option>
  <option value="Trinidad&Tobago">Trinidad & Tobago</option>
  <option value="Tunisia">Tunisia</option>
  <option value="Turkey">Turkey</option>
  <option value="Turkmenistan">Turkmenistan</option>
  <option value="Tuvalu">Tuvalu</option>
  <option value="Uganda">Uganda</option>
  <option value="Ukraine">Ukraine</option>
  <option value="UnitedArabEmirates">United Arab Emirates</option>
  <option value="UnitedKingdom">United Kingdom</option>
  <option value="UnitedStates">United States</option>
  <option value="Uruguay">Uruguay</option>
  <option value="Uzbekistan">Uzbekistan</option>
  <option value="Vanuatu">Vanuatu</option>
  <option value="VaticanCity">Vatican City</option>
  <option value="Venezuela">Venezuela</option>
  <option value="Vietnam">Vietnam</option>
  <option value="Yemen">Yemen</option>
  <option value="Zambia">Zambia</option>
  <option value="Zimbabwe">Zimbabwe</option>
</select>

@LordSith77
Copy link

Comma separated country codes, for use in firewall block by country code (Like CSF cc_deny=")
AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CU,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KP,KR,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,NC,NZ,NI,NE,NG,NU,NF,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RE,RO,RU,RW,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SZ,SE,CH,SY,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,US,GB,UM,UY,UZ,VU,VE

@chethanpolanki
Copy link

<Select
  placeholder="Select country"
  name="country"
  value={formData.country}
  onChange={handleChange}
>
  <option value="AFG">AFG - Afghanistan</option>
  <option value="ALB">ALB - Albania</option>
  <option value="DZA">DZA - Algeria</option>
  <option value="AND">AND - Andorra</option>
  <option value="AGO">AGO - Angola</option>
  <option value="ATG">ATG - Antigua & Deps</option>
  <option value="ARG">ARG - Argentina</option>
  <option value="ARM">ARM - Armenia</option>
  <option value="AUS">AUS - Australia</option>
  <option value="AUT">AUT - Austria</option>
  <option value="AZE">AZE - Azerbaijan</option>
  <option value="BHS">BHS - Bahamas</option>
  <option value="BHR">BHR - Bahrain</option>
  <option value="BGD">BGD - Bangladesh</option>
  <option value="BRB">BRB - Barbados</option>
  <option value="BLR">BLR - Belarus</option>
  <option value="BEL">BEL - Belgium</option>
  <option value="BLZ">BLZ - Belize</option>
  <option value="BEN">BEN - Benin</option>
  <option value="BMU">BMU - Bermuda</option>
  <option value="BTN">BTN - Bhutan</option>
  <option value="BOL">BOL - Bolivia</option>
  <option value="BIH">BIH - Bosnia Herzegovina</option>
  <option value="BWA">BWA - Botswana</option>
  <option value="BRA">BRA - Brazil</option>
  <option value="BRN">BRN - Brunei</option>
  <option value="BGR">BGR - Bulgaria</option>
  <option value="BFA">BFA - Burkina</option>
  <option value="BDI">BDI - Burundi</option>
  <option value="KHM">KHM - Cambodia</option>
  <option value="CMR">CMR - Cameroon</option>
  <option value="CAN">CAN - Canada</option>
  <option value="CPV">CPV - Cape Verde</option>
  <option value="CAF">CAF - Central African Rep</option>
  <option value="TCD">TCD - Chad</option>
  <option value="CHL">CHL - Chile</option>
  <option value="CHN">CHN - China</option>
  <option value="COL">COL - Colombia</option>
  <option value="COM">COM - Comoros</option>
  <option value="COG">COG - Congo</option>
  <option value="COD">COD - Congo - Democratic Rep</option>
  <option value="CRI">CRI - Costa Rica</option>
  <option value="HRV">HRV - Croatia</option>
  <option value="CUB">CUB - Cuba</option>
  <option value="CYP">CYP - Cyprus</option>
  <option value="CZE">CZE - Czech Republic</option>
  <option value="DNK">DNK - Denmark</option>
  <option value="DJI">DJI - Djibouti</option>
  <option value="DMA">DMA - Dominica</option>
  <option value="DOM">DOM - Dominican Republic</option>
  <option value="TLS">TLS - East Timor</option>
  <option value="ECU">ECU - Ecuador</option>
  <option value="EGY">EGY - Egypt</option>
  <option value="SLV">SLV - El Salvador</option>
  <option value="GNQ">GNQ - Equatorial Guinea</option>
  <option value="ERI">ERI - Eritrea</option>
  <option value="EST">EST - Estonia</option>
  <option value="ETH">ETH - Ethiopia</option>
  <option value="FJI">FJI - Fiji</option>
  <option value="FIN">FIN - Finland</option>
  <option value="FRA">FRA - France</option>
  <option value="GAB">GAB - Gabon</option>
  <option value="GMB">GMB - Gambia</option>
  <option value="GEO">GEO - Georgia</option>
  <option value="DEU">DEU - Germany</option>
  <option value="GHA">GHA - Ghana</option>
  <option value="GRC">GRC - Greece</option>
  <option value="GRD">GRD - Grenada</option>
  <option value="GTM">GTM - Guatemala</option>
  <option value="GIN">GIN - Guinea</option>
  <option value="GNB">GNB - Guinea-Bissau</option>
  <option value="GUY">GUY - Guyana</option>
  <option value="HTI">HTI - Haiti</option>
  <option value="HND">HND - Honduras</option>
  <option value="HUN">HUN - Hungary</option>
  <option value="ISL">ISL - Iceland</option>
  <option value="IND">IND - India</option>
  <option value="IDN">IDN - Indonesia</option>
  <option value="IRN">IRN - Iran</option>
  <option value="IRQ">IRQ - Iraq</option>
  <option value="IRL">IRL - Ireland - Republic</option>
  <option value="ISR">ISR - Israel</option>
  <option value="ITA">ITA - Italy</option>
  <option value="CIV">CIV - Ivory Coast</option>
  <option value="JAM">JAM - Jamaica</option>
  <option value="JPN">JPN - Japan</option>
  <option value="JOR">JOR - Jordan</option>
  <option value="KAZ">KAZ - Kazakhstan</option>
  <option value="KEN">KEN - Kenya</option>
  <option value="KIR">KIR - Kiribati</option>
  <option value="PRK">PRK - Korea North</option>
  <option value="KOR">KOR - Korea South</option>
  <option value="XKX">XKX - Kosovo</option>
  <option value="KWT">KWT - Kuwait</option>
  <option value="KGZ">KGZ - Kyrgyzstan</option>
  <option value="LAO">LAO - Laos</option>
  <option value="LVA">LVA - Latvia</option>
  <option value="LBN">LBN - Lebanon</option>
  <option value="LSO">LSO - Lesotho</option>
  <option value="LBR">LBR - Liberia</option>
  <option value="LBY">LBY - Libya</option>
  <option value="LIE">LIE - Liechtenstein</option>
  <option value="LTU">LTU - Lithuania</option>
  <option value="LUX">LUX - Luxembourg</option>
  <option value="MKD">MKD - Macedonia</option>
  <option value="MDG">MDG - Madagascar</option>
  <option value="MWI">MWI - Malawi</option>
  <option value="MYS">MYS - Malaysia</option>
  <option value="MDV">MDV - Maldives</option>
  <option value="MLI">MLI - Mali</option>
  <option value="MLT">MLT - Malta</option>
  <option value="MHL">MHL - Marshall Islands</option>
  <option value="MRT">MRT - Mauritania</option>
  <option value="MUS">MUS - Mauritius</option>
  <option value="MEX">MEX - Mexico</option>
  <option value="FSM">FSM - Micronesia</option>
  <option value="MDA">MDA - Moldova</option>
  <option value="MCO">MCO - Monaco</option>
  <option value="MNG">MNG - Mongolia</option>
  <option value="MNE">MNE - Montenegro</option>
  <option value="MAR">MAR - Morocco</option>
  <option value="MOZ">MOZ - Mozambique</option>
  <option value="MMR">MMR - Myanmar - Burma</option>
  <option value="NAM">NAM - Namibia</option>
  <option value="NRU">NRU - Nauru</option>
  <option value="NPL">NPL - Nepal</option>
  <option value="NLD">NLD - Netherlands</option>
  <option value="NZL">NZL - New Zealand</option>
  <option value="NIC">NIC - Nicaragua</option>
  <option value="NER">NER - Niger</option>
  <option value="NGA">NGA - Nigeria</option>
  <option value="NOR">NOR - Norway</option>
  <option value="OMN">OMN - Oman</option>
  <option value="PAK">PAK - Pakistan</option>
  <option value="PLW">PLW - Palau</option>
  <option value="PAN">PAN - Panama</option>
  <option value="PNG">PNG - Papua New Guinea</option>
  <option value="PRY">PRY - Paraguay</option>
  <option value="PER">PER - Peru</option>
  <option value="PHL">PHL - Philippines</option>
  <option value="POL">POL - Poland</option>
  <option value="PRT">PRT - Portugal</option>
  <option value="QAT">QAT - Qatar</option>
  <option value="ROU">ROU - Romania</option>
  <option value="RUS">RUS - Russian Federation</option>
  <option value="RWA">RWA - Rwanda</option>
  <option value="KNA">KNA - St Kitts & Nevis</option>
  <option value="LCA">LCA - St Lucia</option>
  <option value="VCT">VCT - Saint Vincent & the Grenadines</option>
  <option value="WSM">WSM - Samoa</option>
  <option value="SMR">SMR - San Marino</option>
  <option value="STP">STP - Sao Tome & Principe</option>
  <option value="SAU">SAU - Saudi Arabia</option>
  <option value="SEN">SEN - Senegal</option>
  <option value="SRB">SRB - Serbia</option>
  <option value="SYC">SYC - Seychelles</option>
  <option value="SLE">SLE - Sierra Leone</option>
  <option value="SGP">SGP - Singapore</option>
  <option value="SVK">SVK - Slovakia</option>
  <option value="SVN">SVN - Slovenia</option>
  <option value="SLB">SLB - Solomon Islands</option>
  <option value="SOM">SOM - Somalia</option>
  <option value="ZAF">ZAF - South Africa</option>
  <option value="SSD">SSD - South Sudan</option>
  <option value="ESP">ESP - Spain</option>
  <option value="LKA">LKA - Sri Lanka</option>
  <option value="SDN">SDN - Sudan</option>
  <option value="SUR">SUR - Suriname</option>
  <option value="SWZ">SWZ - Swaziland</option>
  <option value="SWE">SWE - Sweden</option>
  <option value="CHE">CHE - Switzerland</option>
  <option value="SYR">SYR - Syria</option>
  <option value="TWN">TWN - Taiwan</option>
  <option value="TJK">TJK - Tajikistan</option>
  <option value="TZA">TZA - Tanzania</option>
  <option value="THA">THA - Thailand</option>
  <option value="TGO">TGO - Togo</option>
  <option value="TON">TON - Tonga</option>
  <option value="TTO">TTO - Trinidad & Tobago</option>
  <option value="TUN">TUN - Tunisia</option>
  <option value="TUR">TUR - Turkey</option>
  <option value="TKM">TKM - Turkmenistan</option>
  <option value="TUV">TUV - Tuvalu</option>
  <option value="UGA">UGA - Uganda</option>
  <option value="UKR">UKR - Ukraine</option>
  <option value="ARE">ARE - United Arab Emirates</option>
  <option value="GBR">GBR - United Kingdom</option>
  <option value="USA">USA - United States</option>
  <option value="URY">URY - Uruguay</option>
  <option value="UZB">UZB - Uzbekistan</option>
  <option value="VUT">VUT - Vanuatu</option>
  <option value="VAT">VAT - Vatican City</option>
  <option value="VEN">VEN - Venezuela</option>
  <option value="VNM">VNM - Vietnam</option>
  <option value="YEM">YEM - Yemen</option>
  <option value="ZMB">ZMB - Zambia</option>
  <option value="ZWE">ZWE - Zimbabwe</option>

  {/* Add other countries as needed */}
  </Select>

@lswk-gg
Copy link

lswk-gg commented Aug 27, 2024

Hopefully this list won't be used on shopping websites, as once again Guernsey and Jersey has no representation on the list...

@Hernanson
Copy link

Hernanson commented Aug 27, 2024 via email

@CastleDev2024
Copy link

SQL Insert Statements:

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

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