Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List of nationalities in YAML, CSV and TXT format

List of nationalities

It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.

List of countries

I've also compiled a list of countries

Afghan Albanian Algerian American Andorran Angolan Antiguans Argentinean Armenian Australian Austrian Azerbaijani Bahamian Bahraini Bangladeshi Barbadian Barbudans Batswana Belarusian Belgian Belizean Beninese Bhutanese Bolivian Bosnian Brazilian British Bruneian Bulgarian Burkinabe Burmese Burundian Cambodian Cameroonian Canadian Cape Verdean Central African Chadian Chilean Chinese Colombian Comoran Congolese Costa Rican Croatian Cuban Cypriot Czech Danish Djibouti Dominican Dutch East Timorese Ecuadorean Egyptian Emirian Equatorial Guinean Eritrean Estonian Ethiopian Fijian Filipino Finnish French Gabonese Gambian Georgian German Ghanaian Greek Grenadian Guatemalan Guinea-Bissauan Guinean Guyanese Haitian Herzegovinian Honduran Hungarian I-Kiribati Icelander Indian Indonesian Iranian Iraqi Irish Israeli Italian Ivorian Jamaican Japanese Jordanian Kazakhstani Kenyan Kittian and Nevisian Kuwaiti Kyrgyz Laotian Latvian Lebanese Liberian Libyan Liechtensteiner Lithuanian Luxembourger Macedonian Malagasy Malawian Malaysian Maldivian Malian Maltese Marshallese Mauritanian Mauritian Mexican Micronesian Moldovan Monacan Mongolian Moroccan Mosotho Motswana Mozambican Namibian Nauruan Nepalese New Zealander Ni-Vanuatu Nicaraguan Nigerian Nigerien North Korean Northern Irish Norwegian Omani Pakistani Palauan Panamanian Papua New Guinean Paraguayan Peruvian Polish Portuguese Qatari Romanian Russian Rwandan Saint Lucian Salvadoran Samoan San Marinese Sao Tomean Saudi Scottish Senegalese Serbian Seychellois Sierra Leonean Singaporean Slovakian Slovenian Solomon Islander Somali South African South Korean Spanish Sri Lankan Sudanese Surinamer Swazi Swedish Swiss Syrian Taiwanese Tajik Tanzanian Thai Togolese Tongan Trinidadian or Tobagonian Tunisian Turkish Tuvaluan Ugandan Ukrainian Uruguayan Uzbekistani Venezuelan Vietnamese Welsh Yemenite Zambian Zimbabwean
Afghan
Albanian
Algerian
American
Andorran
Angolan
Antiguans
Argentinean
Armenian
Australian
Austrian
Azerbaijani
Bahamian
Bahraini
Bangladeshi
Barbadian
Barbudans
Batswana
Belarusian
Belgian
Belizean
Beninese
Bhutanese
Bolivian
Bosnian
Brazilian
British
Bruneian
Bulgarian
Burkinabe
Burmese
Burundian
Cambodian
Cameroonian
Canadian
Cape Verdean
Central African
Chadian
Chilean
Chinese
Colombian
Comoran
Congolese
Costa Rican
Croatian
Cuban
Cypriot
Czech
Danish
Djibouti
Dominican
Dutch
East Timorese
Ecuadorean
Egyptian
Emirian
Equatorial Guinean
Eritrean
Estonian
Ethiopian
Fijian
Filipino
Finnish
French
Gabonese
Gambian
Georgian
German
Ghanaian
Greek
Grenadian
Guatemalan
Guinea-Bissauan
Guinean
Guyanese
Haitian
Herzegovinian
Honduran
Hungarian
I-Kiribati
Icelander
Indian
Indonesian
Iranian
Iraqi
Irish
Israeli
Italian
Ivorian
Jamaican
Japanese
Jordanian
Kazakhstani
Kenyan
Kittian and Nevisian
Kuwaiti
Kyrgyz
Laotian
Latvian
Lebanese
Liberian
Libyan
Liechtensteiner
Lithuanian
Luxembourger
Macedonian
Malagasy
Malawian
Malaysian
Maldivian
Malian
Maltese
Marshallese
Mauritanian
Mauritian
Mexican
Micronesian
Moldovan
Monacan
Mongolian
Moroccan
Mosotho
Motswana
Mozambican
Namibian
Nauruan
Nepalese
New Zealander
Ni-Vanuatu
Nicaraguan
Nigerian
Nigerien
North Korean
Northern Irish
Norwegian
Omani
Pakistani
Palauan
Panamanian
Papua New Guinean
Paraguayan
Peruvian
Polish
Portuguese
Qatari
Romanian
Russian
Rwandan
Saint Lucian
Salvadoran
Samoan
San Marinese
Sao Tomean
Saudi
Scottish
Senegalese
Serbian
Seychellois
Sierra Leonean
Singaporean
Slovakian
Slovenian
Solomon Islander
Somali
South African
South Korean
Spanish
Sri Lankan
Sudanese
Surinamer
Swazi
Swedish
Swiss
Syrian
Taiwanese
Tajik
Tanzanian
Thai
Togolese
Tongan
Trinidadian or Tobagonian
Tunisian
Turkish
Tuvaluan
Ugandan
Ukrainian
Uruguayan
Uzbekistani
Venezuelan
Vietnamese
Welsh
Yemenite
Zambian
Zimbabwean
nationalities:
- "Afghan"
- "Albanian"
- "Algerian"
- "American"
- "Andorran"
- "Angolan"
- "Antiguans"
- "Argentinean"
- "Armenian"
- "Australian"
- "Austrian"
- "Azerbaijani"
- "Bahamian"
- "Bahraini"
- "Bangladeshi"
- "Barbadian"
- "Barbudans"
- "Batswana"
- "Belarusian"
- "Belgian"
- "Belizean"
- "Beninese"
- "Bhutanese"
- "Bolivian"
- "Bosnian"
- "Brazilian"
- "British"
- "Bruneian"
- "Bulgarian"
- "Burkinabe"
- "Burmese"
- "Burundian"
- "Cambodian"
- "Cameroonian"
- "Canadian"
- "Cape Verdean"
- "Central African"
- "Chadian"
- "Chilean"
- "Chinese"
- "Colombian"
- "Comoran"
- "Congolese"
- "Costa Rican"
- "Croatian"
- "Cuban"
- "Cypriot"
- "Czech"
- "Danish"
- "Djibouti"
- "Dominican"
- "Dutch"
- "East Timorese"
- "Ecuadorean"
- "Egyptian"
- "Emirian"
- "Equatorial Guinean"
- "Eritrean"
- "Estonian"
- "Ethiopian"
- "Fijian"
- "Filipino"
- "Finnish"
- "French"
- "Gabonese"
- "Gambian"
- "Georgian"
- "German"
- "Ghanaian"
- "Greek"
- "Grenadian"
- "Guatemalan"
- "Guinea-Bissauan"
- "Guinean"
- "Guyanese"
- "Haitian"
- "Herzegovinian"
- "Honduran"
- "Hungarian"
- "I-Kiribati"
- "Icelander"
- "Indian"
- "Indonesian"
- "Iranian"
- "Iraqi"
- "Irish"
- "Israeli"
- "Italian"
- "Ivorian"
- "Jamaican"
- "Japanese"
- "Jordanian"
- "Kazakhstani"
- "Kenyan"
- "Kittian and Nevisian"
- "Kuwaiti"
- "Kyrgyz"
- "Laotian"
- "Latvian"
- "Lebanese"
- "Liberian"
- "Libyan"
- "Liechtensteiner"
- "Lithuanian"
- "Luxembourger"
- "Macedonian"
- "Malagasy"
- "Malawian"
- "Malaysian"
- "Maldivian"
- "Malian"
- "Maltese"
- "Marshallese"
- "Mauritanian"
- "Mauritian"
- "Mexican"
- "Micronesian"
- "Moldovan"
- "Monacan"
- "Mongolian"
- "Moroccan"
- "Mosotho"
- "Motswana"
- "Mozambican"
- "Namibian"
- "Nauruan"
- "Nepalese"
- "New Zealander"
- "Ni-Vanuatu"
- "Nicaraguan"
- "Nigerian"
- "Nigerien"
- "North Korean"
- "Northern Irish"
- "Norwegian"
- "Omani"
- "Pakistani"
- "Palauan"
- "Panamanian"
- "Papua New Guinean"
- "Paraguayan"
- "Peruvian"
- "Polish"
- "Portuguese"
- "Qatari"
- "Romanian"
- "Russian"
- "Rwandan"
- "Saint Lucian"
- "Salvadoran"
- "Samoan"
- "San Marinese"
- "Sao Tomean"
- "Saudi"
- "Scottish"
- "Senegalese"
- "Serbian"
- "Seychellois"
- "Sierra Leonean"
- "Singaporean"
- "Slovakian"
- "Slovenian"
- "Solomon Islander"
- "Somali"
- "South African"
- "South Korean"
- "Spanish"
- "Sri Lankan"
- "Sudanese"
- "Surinamer"
- "Swazi"
- "Swedish"
- "Swiss"
- "Syrian"
- "Taiwanese"
- "Tajik"
- "Tanzanian"
- "Thai"
- "Togolese"
- "Tongan"
- "Trinidadian or Tobagonian"
- "Tunisian"
- "Turkish"
- "Tuvaluan"
- "Ugandan"
- "Ukrainian"
- "Uruguayan"
- "Uzbekistani"
- "Venezuelan"
- "Vietnamese"
- "Welsh"
- "Yemenite"
- "Zambian"
- "Zimbabwean"
@jaapjansma

This comment has been minimized.

Copy link

@jaapjansma jaapjansma commented Feb 3, 2015

Hey Marijn,

The list with nationalities contains an invalid nationality: Dutchman and Dutchwoman

Jaap

@paulsheldrake

This comment has been minimized.

Copy link

@paulsheldrake paulsheldrake commented Jul 7, 2015

Irish is in the list twice

@vaughany

This comment has been minimized.

Copy link

@vaughany vaughany commented Jan 6, 2016

Welsh is in the list twice.

@bhayaty

This comment has been minimized.

Copy link

@bhayaty bhayaty commented May 24, 2016

Dominican
Irish
Congolese
Welsh

Are all in the list twice

@mediasunrise

This comment has been minimized.

Copy link

@mediasunrise mediasunrise commented Jun 20, 2016

American is not an acceptable nationality for those in the US, especially for those who live in other countries in the Americas.

@ameer1234567890

This comment has been minimized.

Copy link

@ameer1234567890 ameer1234567890 commented Jan 23, 2017

Maldivan should be Maldivian

@lafeber

This comment has been minimized.

Copy link

@lafeber lafeber commented Mar 24, 2017

Netherlander is not a thing. @marijn

@awilkins

This comment has been minimized.

Copy link

@awilkins awilkins commented May 23, 2017

Need to relate these to their ISO country codes...

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Hey Marijn,

The list with nationalities contains an invalid nationality: Dutchman and Dutchwoman

Jaap

Thanks for pointing this out. Adjusted :-)

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Irish is in the list twice

Thanks for pointing this out. Adjusted :-)

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Welsh is in the list twice.

Thanks for pointing this out @bhayaty. Adjusted :-)

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

American is not an acceptable nationality for those in the US, especially for those who live in other countries in the Americas.

@mediasunrise Do you have a suggestion?

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Need to relate these to their ISO country codes...

@awilkins See https://gist.github.com/marijn/396531 for that :-)

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Maldivan should be Maldivian

Thanks for pointing this out @ameer1234567890 . Adjusted :-)

@marijn

This comment has been minimized.

Copy link
Owner Author

@marijn marijn commented Aug 30, 2017

Netherlander is not a thing. @marijn

Thanks for pointing this out @lafeber. Adjusted :-)

@mcamus1

This comment has been minimized.

Copy link

@mcamus1 mcamus1 commented Oct 22, 2017

Thank you for the job. I appreciate it.

Djibouti is the capital of Republic of Djibouti
People are Djiboutian.

@bzimor

This comment has been minimized.

Copy link

@bzimor bzimor commented Jan 7, 2018

Good job man,
Can you change Uzbekistani to Uzbek, please?

@rsewava

This comment has been minimized.

Copy link

@rsewava rsewava commented Mar 13, 2018

Thank you. Please add South Sudanese

@vinnyricciardi

This comment has been minimized.

Copy link

@vinnyricciardi vinnyricciardi commented Apr 21, 2018

Here is a link to nationalities, countries, and their ISO codes: https://gist.github.com/zspine/2365808
marijn's and zspine's gists are super helpful, but maybe these two projects should be coordinated?

@rudyeila

This comment has been minimized.

Copy link

@rudyeila rudyeila commented Jun 19, 2018

Hi Marijn,

what's the licensing on this file? Am I allowed to use it for a uni project? We're only allowed to use open source modules.

Thanks!

@shaikhAshfak

This comment has been minimized.

Copy link

@shaikhAshfak shaikhAshfak commented Jun 22, 2018

Thank you for the job. I appreciate it.

But on thing is Missing Palestine country

@deborahtrez

This comment has been minimized.

Copy link

@deborahtrez deborahtrez commented Jul 4, 2018

i wish there was a sql script for importing this list into a list of values

@ddechamb

This comment has been minimized.

Copy link

@ddechamb ddechamb commented Jul 9, 2018

Antiguan not Antiguans
BarbudanS too
:-)

@AidanLDev

This comment has been minimized.

Copy link

@AidanLDev AidanLDev commented Apr 28, 2020

Thank you, just what I was looking for.

@kashyapSheladiya

This comment has been minimized.

Copy link

@kashyapSheladiya kashyapSheladiya commented Apr 28, 2020

Nigerien is in the list twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.