Last active
July 24, 2025 12:21
-
Star
(385)
You must be signed in to star a gist -
Fork
(99)
You must be signed in to fork a gist
-
-
Save incredimike/1469814 to your computer and use it in GitHub Desktop.
List of Countries in various Javascript data structures: Alphabetical country lists & Country data objects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lists of countries with ISO 3166 codes, presented in various formats. | |
// Last Updated: July 30, 2020 | |
// If you're using PHP, I suggest checking out: | |
// https://github.com/thephpleague/iso3166 | |
// or Laravel: https://github.com/squirephp/squire | |
// | |
// JS developers can check out: | |
// https://www.npmjs.com/package/iso3166-2-db | |
// | |
// License: CC0 1.0 Universal | |
// https://creativecommons.org/publicdomain/zero/1.0/ | |
// List of all countries in a simple list / array. | |
// Sorted alphabetical by country name (special characters on bottom) | |
const countryList = [ | |
"Afghanistan", | |
"Albania", | |
"Algeria", | |
"American Samoa", | |
"Andorra", | |
"Angola", | |
"Anguilla", | |
"Antarctica", | |
"Antigua and Barbuda", | |
"Argentina", | |
"Armenia", | |
"Aruba", | |
"Australia", | |
"Austria", | |
"Azerbaijan", | |
"Bahamas (the)", | |
"Bahrain", | |
"Bangladesh", | |
"Barbados", | |
"Belarus", | |
"Belgium", | |
"Belize", | |
"Benin", | |
"Bermuda", | |
"Bhutan", | |
"Bolivia (Plurinational State of)", | |
"Bonaire, Sint Eustatius and Saba", | |
"Bosnia and Herzegovina", | |
"Botswana", | |
"Bouvet Island", | |
"Brazil", | |
"British Indian Ocean Territory (the)", | |
"Brunei Darussalam", | |
"Bulgaria", | |
"Burkina Faso", | |
"Burundi", | |
"Cabo Verde", | |
"Cambodia", | |
"Cameroon", | |
"Canada", | |
"Cayman Islands (the)", | |
"Central African Republic (the)", | |
"Chad", | |
"Chile", | |
"China", | |
"Christmas Island", | |
"Cocos (Keeling) Islands (the)", | |
"Colombia", | |
"Comoros (the)", | |
"Congo (the Democratic Republic of the)", | |
"Congo (the)", | |
"Cook Islands (the)", | |
"Costa Rica", | |
"Croatia", | |
"Cuba", | |
"Curaçao", | |
"Cyprus", | |
"Czechia", | |
"Côte d'Ivoire", | |
"Denmark", | |
"Djibouti", | |
"Dominica", | |
"Dominican Republic (the)", | |
"Ecuador", | |
"Egypt", | |
"El Salvador", | |
"Equatorial Guinea", | |
"Eritrea", | |
"Estonia", | |
"Eswatini", | |
"Ethiopia", | |
"Falkland Islands (the) [Malvinas]", | |
"Faroe Islands (the)", | |
"Fiji", | |
"Finland", | |
"France", | |
"French Guiana", | |
"French Polynesia", | |
"French Southern Territories (the)", | |
"Gabon", | |
"Gambia (the)", | |
"Georgia", | |
"Germany", | |
"Ghana", | |
"Gibraltar", | |
"Greece", | |
"Greenland", | |
"Grenada", | |
"Guadeloupe", | |
"Guam", | |
"Guatemala", | |
"Guernsey", | |
"Guinea", | |
"Guinea-Bissau", | |
"Guyana", | |
"Haiti", | |
"Heard Island and McDonald Islands", | |
"Holy See (the)", | |
"Honduras", | |
"Hong Kong", | |
"Hungary", | |
"Iceland", | |
"India", | |
"Indonesia", | |
"Iran (Islamic Republic of)", | |
"Iraq", | |
"Ireland", | |
"Isle of Man", | |
"Israel", | |
"Italy", | |
"Jamaica", | |
"Japan", | |
"Jersey", | |
"Jordan", | |
"Kazakhstan", | |
"Kenya", | |
"Kiribati", | |
"Korea (the Democratic People's Republic of)", | |
"Korea (the Republic of)", | |
"Kuwait", | |
"Kyrgyzstan", | |
"Lao People's Democratic Republic (the)", | |
"Latvia", | |
"Lebanon", | |
"Lesotho", | |
"Liberia", | |
"Libya", | |
"Liechtenstein", | |
"Lithuania", | |
"Luxembourg", | |
"Macao", | |
"Madagascar", | |
"Malawi", | |
"Malaysia", | |
"Maldives", | |
"Mali", | |
"Malta", | |
"Marshall Islands (the)", | |
"Martinique", | |
"Mauritania", | |
"Mauritius", | |
"Mayotte", | |
"Mexico", | |
"Micronesia (Federated States of)", | |
"Moldova (the Republic of)", | |
"Monaco", | |
"Mongolia", | |
"Montenegro", | |
"Montserrat", | |
"Morocco", | |
"Mozambique", | |
"Myanmar", | |
"Namibia", | |
"Nauru", | |
"Nepal", | |
"Netherlands (the)", | |
"New Caledonia", | |
"New Zealand", | |
"Nicaragua", | |
"Niger (the)", | |
"Nigeria", | |
"Niue", | |
"Norfolk Island", | |
"Northern Mariana Islands (the)", | |
"Norway", | |
"Oman", | |
"Pakistan", | |
"Palau", | |
"Palestine, State of", | |
"Panama", | |
"Papua New Guinea", | |
"Paraguay", | |
"Peru", | |
"Philippines (the)", | |
"Pitcairn", | |
"Poland", | |
"Portugal", | |
"Puerto Rico", | |
"Qatar", | |
"Republic of North Macedonia", | |
"Romania", | |
"Russian Federation (the)", | |
"Rwanda", | |
"Réunion", | |
"Saint Barthélemy", | |
"Saint Helena, Ascension and Tristan da Cunha", | |
"Saint Kitts and Nevis", | |
"Saint Lucia", | |
"Saint Martin (French part)", | |
"Saint Pierre and Miquelon", | |
"Saint Vincent and the Grenadines", | |
"Samoa", | |
"San Marino", | |
"Sao Tome and Principe", | |
"Saudi Arabia", | |
"Senegal", | |
"Serbia", | |
"Seychelles", | |
"Sierra Leone", | |
"Singapore", | |
"Sint Maarten (Dutch part)", | |
"Slovakia", | |
"Slovenia", | |
"Solomon Islands", | |
"Somalia", | |
"South Africa", | |
"South Georgia and the South Sandwich Islands", | |
"South Sudan", | |
"Spain", | |
"Sri Lanka", | |
"Sudan (the)", | |
"Suriname", | |
"Svalbard and Jan Mayen", | |
"Sweden", | |
"Switzerland", | |
"Syrian Arab Republic", | |
"Taiwan", | |
"Tajikistan", | |
"Tanzania, United Republic of", | |
"Thailand", | |
"Timor-Leste", | |
"Togo", | |
"Tokelau", | |
"Tonga", | |
"Trinidad and Tobago", | |
"Tunisia", | |
"Turkey", | |
"Turkmenistan", | |
"Turks and Caicos Islands (the)", | |
"Tuvalu", | |
"Uganda", | |
"Ukraine", | |
"United Arab Emirates (the)", | |
"United Kingdom of Great Britain and Northern Ireland (the)", | |
"United States Minor Outlying Islands (the)", | |
"United States of America (the)", | |
"Uruguay", | |
"Uzbekistan", | |
"Vanuatu", | |
"Venezuela (Bolivarian Republic of)", | |
"Viet Nam", | |
"Virgin Islands (British)", | |
"Virgin Islands (U.S.)", | |
"Wallis and Futuna", | |
"Western Sahara", | |
"Yemen", | |
"Zambia", | |
"Zimbabwe", | |
"Åland Islands" | |
]; | |
// Country names object using 2-letter country codes to reference country name | |
// ISO 3166 Alpha-2 Format: [2 letter Country Code]: [Country Name] | |
// Sorted alphabetical by country name (special characters on bottom) | |
const countryListAlpha2 = { | |
"AF": "Afghanistan", | |
"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 (the)", | |
"BH": "Bahrain", | |
"BD": "Bangladesh", | |
"BB": "Barbados", | |
"BY": "Belarus", | |
"BE": "Belgium", | |
"BZ": "Belize", | |
"BJ": "Benin", | |
"BM": "Bermuda", | |
"BT": "Bhutan", | |
"BO": "Bolivia (Plurinational State of)", | |
"BQ": "Bonaire, Sint Eustatius and Saba", | |
"BA": "Bosnia and Herzegovina", | |
"BW": "Botswana", | |
"BV": "Bouvet Island", | |
"BR": "Brazil", | |
"IO": "British Indian Ocean Territory (the)", | |
"BN": "Brunei Darussalam", | |
"BG": "Bulgaria", | |
"BF": "Burkina Faso", | |
"BI": "Burundi", | |
"CV": "Cabo Verde", | |
"KH": "Cambodia", | |
"CM": "Cameroon", | |
"CA": "Canada", | |
"KY": "Cayman Islands (the)", | |
"CF": "Central African Republic (the)", | |
"TD": "Chad", | |
"CL": "Chile", | |
"CN": "China", | |
"CX": "Christmas Island", | |
"CC": "Cocos (Keeling) Islands (the)", | |
"CO": "Colombia", | |
"KM": "Comoros (the)", | |
"CD": "Congo (the Democratic Republic of the)", | |
"CG": "Congo (the)", | |
"CK": "Cook Islands (the)", | |
"CR": "Costa Rica", | |
"HR": "Croatia", | |
"CU": "Cuba", | |
"CW": "Curaçao", | |
"CY": "Cyprus", | |
"CZ": "Czechia", | |
"CI": "Côte d'Ivoire", | |
"DK": "Denmark", | |
"DJ": "Djibouti", | |
"DM": "Dominica", | |
"DO": "Dominican Republic (the)", | |
"EC": "Ecuador", | |
"EG": "Egypt", | |
"SV": "El Salvador", | |
"GQ": "Equatorial Guinea", | |
"ER": "Eritrea", | |
"EE": "Estonia", | |
"SZ": "Eswatini", | |
"ET": "Ethiopia", | |
"FK": "Falkland Islands (the) [Malvinas]", | |
"FO": "Faroe Islands (the)", | |
"FJ": "Fiji", | |
"FI": "Finland", | |
"FR": "France", | |
"GF": "French Guiana", | |
"PF": "French Polynesia", | |
"TF": "French Southern Territories (the)", | |
"GA": "Gabon", | |
"GM": "Gambia (the)", | |
"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 and McDonald Islands", | |
"VA": "Holy See (the)", | |
"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", | |
"KP": "Korea (the Democratic People's Republic of)", | |
"KR": "Korea (the Republic of)", | |
"KW": "Kuwait", | |
"KG": "Kyrgyzstan", | |
"LA": "Lao People's Democratic Republic (the)", | |
"LV": "Latvia", | |
"LB": "Lebanon", | |
"LS": "Lesotho", | |
"LR": "Liberia", | |
"LY": "Libya", | |
"LI": "Liechtenstein", | |
"LT": "Lithuania", | |
"LU": "Luxembourg", | |
"MO": "Macao", | |
"MG": "Madagascar", | |
"MW": "Malawi", | |
"MY": "Malaysia", | |
"MV": "Maldives", | |
"ML": "Mali", | |
"MT": "Malta", | |
"MH": "Marshall Islands (the)", | |
"MQ": "Martinique", | |
"MR": "Mauritania", | |
"MU": "Mauritius", | |
"YT": "Mayotte", | |
"MX": "Mexico", | |
"FM": "Micronesia (Federated States of)", | |
"MD": "Moldova (the Republic of)", | |
"MC": "Monaco", | |
"MN": "Mongolia", | |
"ME": "Montenegro", | |
"MS": "Montserrat", | |
"MA": "Morocco", | |
"MZ": "Mozambique", | |
"MM": "Myanmar", | |
"NA": "Namibia", | |
"NR": "Nauru", | |
"NP": "Nepal", | |
"NL": "Netherlands (the)", | |
"NC": "New Caledonia", | |
"NZ": "New Zealand", | |
"NI": "Nicaragua", | |
"NE": "Niger (the)", | |
"NG": "Nigeria", | |
"NU": "Niue", | |
"NF": "Norfolk Island", | |
"MP": "Northern Mariana Islands (the)", | |
"NO": "Norway", | |
"OM": "Oman", | |
"PK": "Pakistan", | |
"PW": "Palau", | |
"PS": "Palestine, State of", | |
"PA": "Panama", | |
"PG": "Papua New Guinea", | |
"PY": "Paraguay", | |
"PE": "Peru", | |
"PH": "Philippines (the)", | |
"PN": "Pitcairn", | |
"PL": "Poland", | |
"PT": "Portugal", | |
"PR": "Puerto Rico", | |
"QA": "Qatar", | |
"MK": "Republic of North Macedonia", | |
"RO": "Romania", | |
"RU": "Russian Federation (the)", | |
"RW": "Rwanda", | |
"RE": "Réunion", | |
"BL": "Saint Barthélemy", | |
"SH": "Saint Helena, Ascension and Tristan da Cunha", | |
"KN": "Saint Kitts and Nevis", | |
"LC": "Saint Lucia", | |
"MF": "Saint Martin (French part)", | |
"PM": "Saint Pierre and Miquelon", | |
"VC": "Saint Vincent and the 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", | |
"SX": "Sint Maarten (Dutch part)", | |
"SK": "Slovakia", | |
"SI": "Slovenia", | |
"SB": "Solomon Islands", | |
"SO": "Somalia", | |
"ZA": "South Africa", | |
"GS": "South Georgia and the South Sandwich Islands", | |
"SS": "South Sudan", | |
"ES": "Spain", | |
"LK": "Sri Lanka", | |
"SD": "Sudan (the)", | |
"SR": "Suriname", | |
"SJ": "Svalbard and Jan Mayen", | |
"SE": "Sweden", | |
"CH": "Switzerland", | |
"SY": "Syrian Arab Republic", | |
"TW": "Taiwan", | |
"TJ": "Tajikistan", | |
"TZ": "Tanzania, United Republic of", | |
"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 (the)", | |
"TV": "Tuvalu", | |
"UG": "Uganda", | |
"UA": "Ukraine", | |
"AE": "United Arab Emirates (the)", | |
"GB": "United Kingdom of Great Britain and Northern Ireland (the)", | |
"UM": "United States Minor Outlying Islands (the)", | |
"US": "United States of America (the)", | |
"UY": "Uruguay", | |
"UZ": "Uzbekistan", | |
"VU": "Vanuatu", | |
"VE": "Venezuela (Bolivarian Republic of)", | |
"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", | |
"AX": "Åland Islands" | |
}; | |
// Country names object using 3-letter country codes to reference country name | |
// ISO 3166 Alpha-3 Format: [3 letter Country Code]: [Country Name] | |
// Sorted alphabetical by country name (special characters on bottom) | |
const countryListAlpha3 = { | |
"AFG": "Afghanistan", | |
"ALB": "Albania", | |
"DZA": "Algeria", | |
"ASM": "American Samoa", | |
"AND": "Andorra", | |
"AGO": "Angola", | |
"AIA": "Anguilla", | |
"ATA": "Antarctica", | |
"ATG": "Antigua and Barbuda", | |
"ARG": "Argentina", | |
"ARM": "Armenia", | |
"ABW": "Aruba", | |
"AUS": "Australia", | |
"AUT": "Austria", | |
"AZE": "Azerbaijan", | |
"BHS": "Bahamas (the)", | |
"BHR": "Bahrain", | |
"BGD": "Bangladesh", | |
"BRB": "Barbados", | |
"BLR": "Belarus", | |
"BEL": "Belgium", | |
"BLZ": "Belize", | |
"BEN": "Benin", | |
"BMU": "Bermuda", | |
"BTN": "Bhutan", | |
"BOL": "Bolivia (Plurinational State of)", | |
"BES": "Bonaire, Sint Eustatius and Saba", | |
"BIH": "Bosnia and Herzegovina", | |
"BWA": "Botswana", | |
"BVT": "Bouvet Island", | |
"BRA": "Brazil", | |
"IOT": "British Indian Ocean Territory (the)", | |
"BRN": "Brunei Darussalam", | |
"BGR": "Bulgaria", | |
"BFA": "Burkina Faso", | |
"BDI": "Burundi", | |
"CPV": "Cabo Verde", | |
"KHM": "Cambodia", | |
"CMR": "Cameroon", | |
"CAN": "Canada", | |
"CYM": "Cayman Islands (the)", | |
"CAF": "Central African Republic (the)", | |
"TCD": "Chad", | |
"CHL": "Chile", | |
"CHN": "China", | |
"CXR": "Christmas Island", | |
"CCK": "Cocos (Keeling) Islands (the)", | |
"COL": "Colombia", | |
"COM": "Comoros (the)", | |
"COD": "Congo (the Democratic Republic of the)", | |
"COG": "Congo (the)", | |
"COK": "Cook Islands (the)", | |
"CRI": "Costa Rica", | |
"HRV": "Croatia", | |
"CUB": "Cuba", | |
"CUW": "Curaçao", | |
"CYP": "Cyprus", | |
"CZE": "Czechia", | |
"CIV": "Côte d'Ivoire", | |
"DNK": "Denmark", | |
"DJI": "Djibouti", | |
"DMA": "Dominica", | |
"DOM": "Dominican Republic (the)", | |
"ECU": "Ecuador", | |
"EGY": "Egypt", | |
"SLV": "El Salvador", | |
"GNQ": "Equatorial Guinea", | |
"ERI": "Eritrea", | |
"EST": "Estonia", | |
"SWZ": "Eswatini", | |
"ETH": "Ethiopia", | |
"FLK": "Falkland Islands (the) [Malvinas]", | |
"FRO": "Faroe Islands (the)", | |
"FJI": "Fiji", | |
"FIN": "Finland", | |
"FRA": "France", | |
"GUF": "French Guiana", | |
"PYF": "French Polynesia", | |
"ATF": "French Southern Territories (the)", | |
"GAB": "Gabon", | |
"GMB": "Gambia (the)", | |
"GEO": "Georgia", | |
"DEU": "Germany", | |
"GHA": "Ghana", | |
"GIB": "Gibraltar", | |
"GRC": "Greece", | |
"GRL": "Greenland", | |
"GRD": "Grenada", | |
"GLP": "Guadeloupe", | |
"GUM": "Guam", | |
"GTM": "Guatemala", | |
"GGY": "Guernsey", | |
"GIN": "Guinea", | |
"GNB": "Guinea-Bissau", | |
"GUY": "Guyana", | |
"HTI": "Haiti", | |
"HMD": "Heard Island and McDonald Islands", | |
"VAT": "Holy See (the)", | |
"HND": "Honduras", | |
"HKG": "Hong Kong", | |
"HUN": "Hungary", | |
"ISL": "Iceland", | |
"IND": "India", | |
"IDN": "Indonesia", | |
"IRN": "Iran (Islamic Republic of)", | |
"IRQ": "Iraq", | |
"IRL": "Ireland", | |
"IMN": "Isle of Man", | |
"ISR": "Israel", | |
"ITA": "Italy", | |
"JAM": "Jamaica", | |
"JPN": "Japan", | |
"JEY": "Jersey", | |
"JOR": "Jordan", | |
"KAZ": "Kazakhstan", | |
"KEN": "Kenya", | |
"KIR": "Kiribati", | |
"PRK": "Korea (the Democratic People's Republic of)", | |
"KOR": "Korea (the Republic of)", | |
"KWT": "Kuwait", | |
"KGZ": "Kyrgyzstan", | |
"LAO": "Lao People's Democratic Republic (the)", | |
"LVA": "Latvia", | |
"LBN": "Lebanon", | |
"LSO": "Lesotho", | |
"LBR": "Liberia", | |
"LBY": "Libya", | |
"LIE": "Liechtenstein", | |
"LTU": "Lithuania", | |
"LUX": "Luxembourg", | |
"MAC": "Macao", | |
"MDG": "Madagascar", | |
"MWI": "Malawi", | |
"MYS": "Malaysia", | |
"MDV": "Maldives", | |
"MLI": "Mali", | |
"MLT": "Malta", | |
"MHL": "Marshall Islands (the)", | |
"MTQ": "Martinique", | |
"MRT": "Mauritania", | |
"MUS": "Mauritius", | |
"MYT": "Mayotte", | |
"MEX": "Mexico", | |
"FSM": "Micronesia (Federated States of)", | |
"MDA": "Moldova (the Republic of)", | |
"MCO": "Monaco", | |
"MNG": "Mongolia", | |
"MNE": "Montenegro", | |
"MSR": "Montserrat", | |
"MAR": "Morocco", | |
"MOZ": "Mozambique", | |
"MMR": "Myanmar", | |
"NAM": "Namibia", | |
"NRU": "Nauru", | |
"NPL": "Nepal", | |
"NLD": "Netherlands (the)", | |
"NCL": "New Caledonia", | |
"NZL": "New Zealand", | |
"NIC": "Nicaragua", | |
"NER": "Niger (the)", | |
"NGA": "Nigeria", | |
"NIU": "Niue", | |
"NFK": "Norfolk Island", | |
"MNP": "Northern Mariana Islands (the)", | |
"NOR": "Norway", | |
"OMN": "Oman", | |
"PAK": "Pakistan", | |
"PLW": "Palau", | |
"PSE": "Palestine, State of", | |
"PAN": "Panama", | |
"PNG": "Papua New Guinea", | |
"PRY": "Paraguay", | |
"PER": "Peru", | |
"PHL": "Philippines (the)", | |
"PCN": "Pitcairn", | |
"POL": "Poland", | |
"PRT": "Portugal", | |
"PRI": "Puerto Rico", | |
"QAT": "Qatar", | |
"MKD": "Republic of North Macedonia", | |
"ROU": "Romania", | |
"RUS": "Russian Federation (the)", | |
"RWA": "Rwanda", | |
"REU": "Réunion", | |
"BLM": "Saint Barthélemy", | |
"SHN": "Saint Helena, Ascension and Tristan da Cunha", | |
"KNA": "Saint Kitts and Nevis", | |
"LCA": "Saint Lucia", | |
"MAF": "Saint Martin (French part)", | |
"SPM": "Saint Pierre and Miquelon", | |
"VCT": "Saint Vincent and the Grenadines", | |
"WSM": "Samoa", | |
"SMR": "San Marino", | |
"STP": "Sao Tome and Principe", | |
"SAU": "Saudi Arabia", | |
"SEN": "Senegal", | |
"SRB": "Serbia", | |
"SYC": "Seychelles", | |
"SLE": "Sierra Leone", | |
"SGP": "Singapore", | |
"SXM": "Sint Maarten (Dutch part)", | |
"SVK": "Slovakia", | |
"SVN": "Slovenia", | |
"SLB": "Solomon Islands", | |
"SOM": "Somalia", | |
"ZAF": "South Africa", | |
"SGS": "South Georgia and the South Sandwich Islands", | |
"SSD": "South Sudan", | |
"ESP": "Spain", | |
"LKA": "Sri Lanka", | |
"SDN": "Sudan (the)", | |
"SUR": "Suriname", | |
"SJM": "Svalbard and Jan Mayen", | |
"SWE": "Sweden", | |
"CHE": "Switzerland", | |
"SYR": "Syrian Arab Republic", | |
"TWN": "Taiwan", | |
"TJK": "Tajikistan", | |
"TZA": "Tanzania, United Republic of", | |
"THA": "Thailand", | |
"TLS": "Timor-Leste", | |
"TGO": "Togo", | |
"TKL": "Tokelau", | |
"TON": "Tonga", | |
"TTO": "Trinidad and Tobago", | |
"TUN": "Tunisia", | |
"TUR": "Turkey", | |
"TKM": "Turkmenistan", | |
"TCA": "Turks and Caicos Islands (the)", | |
"TUV": "Tuvalu", | |
"UGA": "Uganda", | |
"UKR": "Ukraine", | |
"ARE": "United Arab Emirates (the)", | |
"GBR": "United Kingdom of Great Britain and Northern Ireland (the)", | |
"UMI": "United States Minor Outlying Islands (the)", | |
"USA": "United States of America (the)", | |
"URY": "Uruguay", | |
"UZB": "Uzbekistan", | |
"VUT": "Vanuatu", | |
"VEN": "Venezuela (Bolivarian Republic of)", | |
"VNM": "Viet Nam", | |
"VGB": "Virgin Islands (British)", | |
"VIR": "Virgin Islands (U.S.)", | |
"WLF": "Wallis and Futuna", | |
"ESH": "Western Sahara", | |
"YEM": "Yemen", | |
"ZMB": "Zambia", | |
"ZWE": "Zimbabwe", | |
"ALA": "Åland Islands" | |
}; | |
// Country names object using numeric country codes to reference country name | |
// ISO 3166 Numberic Format: [Numeric Country Code]: [Country Name] | |
// Sorted alphabetical by country name (special characters on bottom) | |
const countryListNumeric = { | |
"004": "Afghanistan", | |
"008": "Albania", | |
"012": "Algeria", | |
"016": "American Samoa", | |
"020": "Andorra", | |
"024": "Angola", | |
"660": "Anguilla", | |
"010": "Antarctica", | |
"028": "Antigua and Barbuda", | |
"032": "Argentina", | |
"051": "Armenia", | |
"533": "Aruba", | |
"036": "Australia", | |
"040": "Austria", | |
"031": "Azerbaijan", | |
"044": "Bahamas (the)", | |
"048": "Bahrain", | |
"050": "Bangladesh", | |
"052": "Barbados", | |
"112": "Belarus", | |
"056": "Belgium", | |
"084": "Belize", | |
"204": "Benin", | |
"060": "Bermuda", | |
"064": "Bhutan", | |
"068": "Bolivia (Plurinational State of)", | |
"535": "Bonaire, Sint Eustatius and Saba", | |
"070": "Bosnia and Herzegovina", | |
"072": "Botswana", | |
"074": "Bouvet Island", | |
"076": "Brazil", | |
"086": "British Indian Ocean Territory (the)", | |
"096": "Brunei Darussalam", | |
"100": "Bulgaria", | |
"854": "Burkina Faso", | |
"108": "Burundi", | |
"132": "Cabo Verde", | |
"116": "Cambodia", | |
"120": "Cameroon", | |
"124": "Canada", | |
"136": "Cayman Islands (the)", | |
"140": "Central African Republic (the)", | |
"148": "Chad", | |
"152": "Chile", | |
"156": "China", | |
"162": "Christmas Island", | |
"166": "Cocos (Keeling) Islands (the)", | |
"170": "Colombia", | |
"174": "Comoros (the)", | |
"180": "Congo (the Democratic Republic of the)", | |
"178": "Congo (the)", | |
"184": "Cook Islands (the)", | |
"188": "Costa Rica", | |
"191": "Croatia", | |
"192": "Cuba", | |
"531": "Curaçao", | |
"196": "Cyprus", | |
"203": "Czechia", | |
"384": "Côte d'Ivoire", | |
"208": "Denmark", | |
"262": "Djibouti", | |
"212": "Dominica", | |
"214": "Dominican Republic (the)", | |
"218": "Ecuador", | |
"818": "Egypt", | |
"222": "El Salvador", | |
"226": "Equatorial Guinea", | |
"232": "Eritrea", | |
"233": "Estonia", | |
"748": "Eswatini", | |
"231": "Ethiopia", | |
"238": "Falkland Islands (the) [Malvinas]", | |
"234": "Faroe Islands (the)", | |
"242": "Fiji", | |
"246": "Finland", | |
"250": "France", | |
"254": "French Guiana", | |
"258": "French Polynesia", | |
"260": "French Southern Territories (the)", | |
"266": "Gabon", | |
"270": "Gambia (the)", | |
"268": "Georgia", | |
"276": "Germany", | |
"288": "Ghana", | |
"292": "Gibraltar", | |
"300": "Greece", | |
"304": "Greenland", | |
"308": "Grenada", | |
"312": "Guadeloupe", | |
"316": "Guam", | |
"320": "Guatemala", | |
"831": "Guernsey", | |
"324": "Guinea", | |
"624": "Guinea-Bissau", | |
"328": "Guyana", | |
"332": "Haiti", | |
"334": "Heard Island and McDonald Islands", | |
"336": "Holy See (the)", | |
"340": "Honduras", | |
"344": "Hong Kong", | |
"348": "Hungary", | |
"352": "Iceland", | |
"356": "India", | |
"360": "Indonesia", | |
"364": "Iran (Islamic Republic of)", | |
"368": "Iraq", | |
"372": "Ireland", | |
"833": "Isle of Man", | |
"376": "Israel", | |
"380": "Italy", | |
"388": "Jamaica", | |
"392": "Japan", | |
"832": "Jersey", | |
"400": "Jordan", | |
"398": "Kazakhstan", | |
"404": "Kenya", | |
"296": "Kiribati", | |
"408": "Korea (the Democratic People's Republic of)", | |
"410": "Korea (the Republic of)", | |
"414": "Kuwait", | |
"417": "Kyrgyzstan", | |
"418": "Lao People's Democratic Republic (the)", | |
"428": "Latvia", | |
"422": "Lebanon", | |
"426": "Lesotho", | |
"430": "Liberia", | |
"434": "Libya", | |
"438": "Liechtenstein", | |
"440": "Lithuania", | |
"442": "Luxembourg", | |
"446": "Macao", | |
"450": "Madagascar", | |
"454": "Malawi", | |
"458": "Malaysia", | |
"462": "Maldives", | |
"466": "Mali", | |
"470": "Malta", | |
"584": "Marshall Islands (the)", | |
"474": "Martinique", | |
"478": "Mauritania", | |
"480": "Mauritius", | |
"175": "Mayotte", | |
"484": "Mexico", | |
"583": "Micronesia (Federated States of)", | |
"498": "Moldova (the Republic of)", | |
"492": "Monaco", | |
"496": "Mongolia", | |
"499": "Montenegro", | |
"500": "Montserrat", | |
"504": "Morocco", | |
"508": "Mozambique", | |
"104": "Myanmar", | |
"516": "Namibia", | |
"520": "Nauru", | |
"524": "Nepal", | |
"528": "Netherlands (the)", | |
"540": "New Caledonia", | |
"554": "New Zealand", | |
"558": "Nicaragua", | |
"562": "Niger (the)", | |
"566": "Nigeria", | |
"570": "Niue", | |
"574": "Norfolk Island", | |
"580": "Northern Mariana Islands (the)", | |
"578": "Norway", | |
"512": "Oman", | |
"586": "Pakistan", | |
"585": "Palau", | |
"275": "Palestine, State of", | |
"591": "Panama", | |
"598": "Papua New Guinea", | |
"600": "Paraguay", | |
"604": "Peru", | |
"608": "Philippines (the)", | |
"612": "Pitcairn", | |
"616": "Poland", | |
"620": "Portugal", | |
"630": "Puerto Rico", | |
"634": "Qatar", | |
"807": "Republic of North Macedonia", | |
"642": "Romania", | |
"643": "Russian Federation (the)", | |
"646": "Rwanda", | |
"638": "Réunion", | |
"652": "Saint Barthélemy", | |
"654": "Saint Helena, Ascension and Tristan da Cunha", | |
"659": "Saint Kitts and Nevis", | |
"662": "Saint Lucia", | |
"663": "Saint Martin (French part)", | |
"666": "Saint Pierre and Miquelon", | |
"670": "Saint Vincent and the Grenadines", | |
"882": "Samoa", | |
"674": "San Marino", | |
"678": "Sao Tome and Principe", | |
"682": "Saudi Arabia", | |
"686": "Senegal", | |
"688": "Serbia", | |
"690": "Seychelles", | |
"694": "Sierra Leone", | |
"702": "Singapore", | |
"534": "Sint Maarten (Dutch part)", | |
"703": "Slovakia", | |
"705": "Slovenia", | |
"090": "Solomon Islands", | |
"706": "Somalia", | |
"710": "South Africa", | |
"239": "South Georgia and the South Sandwich Islands", | |
"728": "South Sudan", | |
"724": "Spain", | |
"144": "Sri Lanka", | |
"729": "Sudan (the)", | |
"740": "Suriname", | |
"744": "Svalbard and Jan Mayen", | |
"752": "Sweden", | |
"756": "Switzerland", | |
"760": "Syrian Arab Republic", | |
"158": "Taiwan", | |
"762": "Tajikistan", | |
"834": "Tanzania, United Republic of", | |
"764": "Thailand", | |
"626": "Timor-Leste", | |
"768": "Togo", | |
"772": "Tokelau", | |
"776": "Tonga", | |
"780": "Trinidad and Tobago", | |
"788": "Tunisia", | |
"792": "Turkey", | |
"795": "Turkmenistan", | |
"796": "Turks and Caicos Islands (the)", | |
"798": "Tuvalu", | |
"800": "Uganda", | |
"804": "Ukraine", | |
"784": "United Arab Emirates (the)", | |
"826": "United Kingdom of Great Britain and Northern Ireland (the)", | |
"581": "United States Minor Outlying Islands (the)", | |
"840": "United States of America (the)", | |
"858": "Uruguay", | |
"860": "Uzbekistan", | |
"548": "Vanuatu", | |
"862": "Venezuela (Bolivarian Republic of)", | |
"704": "Viet Nam", | |
"092": "Virgin Islands (British)", | |
"850": "Virgin Islands (U.S.)", | |
"876": "Wallis and Futuna", | |
"732": "Western Sahara", | |
"887": "Yemen", | |
"894": "Zambia", | |
"716": "Zimbabwe", | |
"248": "Åland Islands" | |
}; | |
// All simple ISO 3166 country data | |
// including: 2-character, 3-character, full country name and numeric code. | |
// Sorted alphabetical by country name (special characters on bottom) | |
const countryListAllIsoData = [ | |
{"code": "AF", "code3": "AFG", "name": "Afghanistan", "number": "004"}, | |
{"code": "AL", "code3": "ALB", "name": "Albania", "number": "008"}, | |
{"code": "DZ", "code3": "DZA", "name": "Algeria", "number": "012"}, | |
{"code": "AS", "code3": "ASM", "name": "American Samoa", "number": "016"}, | |
{"code": "AD", "code3": "AND", "name": "Andorra", "number": "020"}, | |
{"code": "AO", "code3": "AGO", "name": "Angola", "number": "024"}, | |
{"code": "AI", "code3": "AIA", "name": "Anguilla", "number": "660"}, | |
{"code": "AQ", "code3": "ATA", "name": "Antarctica", "number": "010"}, | |
{"code": "AG", "code3": "ATG", "name": "Antigua and Barbuda", "number": "028"}, | |
{"code": "AR", "code3": "ARG", "name": "Argentina", "number": "032"}, | |
{"code": "AM", "code3": "ARM", "name": "Armenia", "number": "051"}, | |
{"code": "AW", "code3": "ABW", "name": "Aruba", "number": "533"}, | |
{"code": "AU", "code3": "AUS", "name": "Australia", "number": "036"}, | |
{"code": "AT", "code3": "AUT", "name": "Austria", "number": "040"}, | |
{"code": "AZ", "code3": "AZE", "name": "Azerbaijan", "number": "031"}, | |
{"code": "BS", "code3": "BHS", "name": "Bahamas (the)", "number": "044"}, | |
{"code": "BH", "code3": "BHR", "name": "Bahrain", "number": "048"}, | |
{"code": "BD", "code3": "BGD", "name": "Bangladesh", "number": "050"}, | |
{"code": "BB", "code3": "BRB", "name": "Barbados", "number": "052"}, | |
{"code": "BY", "code3": "BLR", "name": "Belarus", "number": "112"}, | |
{"code": "BE", "code3": "BEL", "name": "Belgium", "number": "056"}, | |
{"code": "BZ", "code3": "BLZ", "name": "Belize", "number": "084"}, | |
{"code": "BJ", "code3": "BEN", "name": "Benin", "number": "204"}, | |
{"code": "BM", "code3": "BMU", "name": "Bermuda", "number": "060"}, | |
{"code": "BT", "code3": "BTN", "name": "Bhutan", "number": "064"}, | |
{"code": "BO", "code3": "BOL", "name": "Bolivia (Plurinational State of)", "number": "068"}, | |
{"code": "BQ", "code3": "BES", "name": "Bonaire, Sint Eustatius and Saba", "number": "535"}, | |
{"code": "BA", "code3": "BIH", "name": "Bosnia and Herzegovina", "number": "070"}, | |
{"code": "BW", "code3": "BWA", "name": "Botswana", "number": "072"}, | |
{"code": "BV", "code3": "BVT", "name": "Bouvet Island", "number": "074"}, | |
{"code": "BR", "code3": "BRA", "name": "Brazil", "number": "076"}, | |
{"code": "IO", "code3": "IOT", "name": "British Indian Ocean Territory (the)", "number": "086"}, | |
{"code": "BN", "code3": "BRN", "name": "Brunei Darussalam", "number": "096"}, | |
{"code": "BG", "code3": "BGR", "name": "Bulgaria", "number": "100"}, | |
{"code": "BF", "code3": "BFA", "name": "Burkina Faso", "number": "854"}, | |
{"code": "BI", "code3": "BDI", "name": "Burundi", "number": "108"}, | |
{"code": "CV", "code3": "CPV", "name": "Cabo Verde", "number": "132"}, | |
{"code": "KH", "code3": "KHM", "name": "Cambodia", "number": "116"}, | |
{"code": "CM", "code3": "CMR", "name": "Cameroon", "number": "120"}, | |
{"code": "CA", "code3": "CAN", "name": "Canada", "number": "124"}, | |
{"code": "KY", "code3": "CYM", "name": "Cayman Islands (the)", "number": "136"}, | |
{"code": "CF", "code3": "CAF", "name": "Central African Republic (the)", "number": "140"}, | |
{"code": "TD", "code3": "TCD", "name": "Chad", "number": "148"}, | |
{"code": "CL", "code3": "CHL", "name": "Chile", "number": "152"}, | |
{"code": "CN", "code3": "CHN", "name": "China", "number": "156"}, | |
{"code": "CX", "code3": "CXR", "name": "Christmas Island", "number": "162"}, | |
{"code": "CC", "code3": "CCK", "name": "Cocos (Keeling) Islands (the)", "number": "166"}, | |
{"code": "CO", "code3": "COL", "name": "Colombia", "number": "170"}, | |
{"code": "KM", "code3": "COM", "name": "Comoros (the)", "number": "174"}, | |
{"code": "CD", "code3": "COD", "name": "Congo (the Democratic Republic of the)", "number": "180"}, | |
{"code": "CG", "code3": "COG", "name": "Congo (the)", "number": "178"}, | |
{"code": "CK", "code3": "COK", "name": "Cook Islands (the)", "number": "184"}, | |
{"code": "CR", "code3": "CRI", "name": "Costa Rica", "number": "188"}, | |
{"code": "HR", "code3": "HRV", "name": "Croatia", "number": "191"}, | |
{"code": "CU", "code3": "CUB", "name": "Cuba", "number": "192"}, | |
{"code": "CW", "code3": "CUW", "name": "Curaçao", "number": "531"}, | |
{"code": "CY", "code3": "CYP", "name": "Cyprus", "number": "196"}, | |
{"code": "CZ", "code3": "CZE", "name": "Czechia", "number": "203"}, | |
{"code": "CI", "code3": "CIV", "name": "Côte d'Ivoire", "number": "384"}, | |
{"code": "DK", "code3": "DNK", "name": "Denmark", "number": "208"}, | |
{"code": "DJ", "code3": "DJI", "name": "Djibouti", "number": "262"}, | |
{"code": "DM", "code3": "DMA", "name": "Dominica", "number": "212"}, | |
{"code": "DO", "code3": "DOM", "name": "Dominican Republic (the)", "number": "214"}, | |
{"code": "EC", "code3": "ECU", "name": "Ecuador", "number": "218"}, | |
{"code": "EG", "code3": "EGY", "name": "Egypt", "number": "818"}, | |
{"code": "SV", "code3": "SLV", "name": "El Salvador", "number": "222"}, | |
{"code": "GQ", "code3": "GNQ", "name": "Equatorial Guinea", "number": "226"}, | |
{"code": "ER", "code3": "ERI", "name": "Eritrea", "number": "232"}, | |
{"code": "EE", "code3": "EST", "name": "Estonia", "number": "233"}, | |
{"code": "SZ", "code3": "SWZ", "name": "Eswatini", "number": "748"}, | |
{"code": "ET", "code3": "ETH", "name": "Ethiopia", "number": "231"}, | |
{"code": "FK", "code3": "FLK", "name": "Falkland Islands (the) [Malvinas]", "number": "238"}, | |
{"code": "FO", "code3": "FRO", "name": "Faroe Islands (the)", "number": "234"}, | |
{"code": "FJ", "code3": "FJI", "name": "Fiji", "number": "242"}, | |
{"code": "FI", "code3": "FIN", "name": "Finland", "number": "246"}, | |
{"code": "FR", "code3": "FRA", "name": "France", "number": "250"}, | |
{"code": "GF", "code3": "GUF", "name": "French Guiana", "number": "254"}, | |
{"code": "PF", "code3": "PYF", "name": "French Polynesia", "number": "258"}, | |
{"code": "TF", "code3": "ATF", "name": "French Southern Territories (the)", "number": "260"}, | |
{"code": "GA", "code3": "GAB", "name": "Gabon", "number": "266"}, | |
{"code": "GM", "code3": "GMB", "name": "Gambia (the)", "number": "270"}, | |
{"code": "GE", "code3": "GEO", "name": "Georgia", "number": "268"}, | |
{"code": "DE", "code3": "DEU", "name": "Germany", "number": "276"}, | |
{"code": "GH", "code3": "GHA", "name": "Ghana", "number": "288"}, | |
{"code": "GI", "code3": "GIB", "name": "Gibraltar", "number": "292"}, | |
{"code": "GR", "code3": "GRC", "name": "Greece", "number": "300"}, | |
{"code": "GL", "code3": "GRL", "name": "Greenland", "number": "304"}, | |
{"code": "GD", "code3": "GRD", "name": "Grenada", "number": "308"}, | |
{"code": "GP", "code3": "GLP", "name": "Guadeloupe", "number": "312"}, | |
{"code": "GU", "code3": "GUM", "name": "Guam", "number": "316"}, | |
{"code": "GT", "code3": "GTM", "name": "Guatemala", "number": "320"}, | |
{"code": "GG", "code3": "GGY", "name": "Guernsey", "number": "831"}, | |
{"code": "GN", "code3": "GIN", "name": "Guinea", "number": "324"}, | |
{"code": "GW", "code3": "GNB", "name": "Guinea-Bissau", "number": "624"}, | |
{"code": "GY", "code3": "GUY", "name": "Guyana", "number": "328"}, | |
{"code": "HT", "code3": "HTI", "name": "Haiti", "number": "332"}, | |
{"code": "HM", "code3": "HMD", "name": "Heard Island and McDonald Islands", "number": "334"}, | |
{"code": "VA", "code3": "VAT", "name": "Holy See (the)", "number": "336"}, | |
{"code": "HN", "code3": "HND", "name": "Honduras", "number": "340"}, | |
{"code": "HK", "code3": "HKG", "name": "Hong Kong", "number": "344"}, | |
{"code": "HU", "code3": "HUN", "name": "Hungary", "number": "348"}, | |
{"code": "IS", "code3": "ISL", "name": "Iceland", "number": "352"}, | |
{"code": "IN", "code3": "IND", "name": "India", "number": "356"}, | |
{"code": "ID", "code3": "IDN", "name": "Indonesia", "number": "360"}, | |
{"code": "IR", "code3": "IRN", "name": "Iran (Islamic Republic of)", "number": "364"}, | |
{"code": "IQ", "code3": "IRQ", "name": "Iraq", "number": "368"}, | |
{"code": "IE", "code3": "IRL", "name": "Ireland", "number": "372"}, | |
{"code": "IM", "code3": "IMN", "name": "Isle of Man", "number": "833"}, | |
{"code": "IL", "code3": "ISR", "name": "Israel", "number": "376"}, | |
{"code": "IT", "code3": "ITA", "name": "Italy", "number": "380"}, | |
{"code": "JM", "code3": "JAM", "name": "Jamaica", "number": "388"}, | |
{"code": "JP", "code3": "JPN", "name": "Japan", "number": "392"}, | |
{"code": "JE", "code3": "JEY", "name": "Jersey", "number": "832"}, | |
{"code": "JO", "code3": "JOR", "name": "Jordan", "number": "400"}, | |
{"code": "KZ", "code3": "KAZ", "name": "Kazakhstan", "number": "398"}, | |
{"code": "KE", "code3": "KEN", "name": "Kenya", "number": "404"}, | |
{"code": "KI", "code3": "KIR", "name": "Kiribati", "number": "296"}, | |
{"code": "KP", "code3": "PRK", "name": "Korea (the Democratic People's Republic of)", "number": "408"}, | |
{"code": "KR", "code3": "KOR", "name": "Korea (the Republic of)", "number": "410"}, | |
{"code": "KW", "code3": "KWT", "name": "Kuwait", "number": "414"}, | |
{"code": "KG", "code3": "KGZ", "name": "Kyrgyzstan", "number": "417"}, | |
{"code": "LA", "code3": "LAO", "name": "Lao People's Democratic Republic (the)", "number": "418"}, | |
{"code": "LV", "code3": "LVA", "name": "Latvia", "number": "428"}, | |
{"code": "LB", "code3": "LBN", "name": "Lebanon", "number": "422"}, | |
{"code": "LS", "code3": "LSO", "name": "Lesotho", "number": "426"}, | |
{"code": "LR", "code3": "LBR", "name": "Liberia", "number": "430"}, | |
{"code": "LY", "code3": "LBY", "name": "Libya", "number": "434"}, | |
{"code": "LI", "code3": "LIE", "name": "Liechtenstein", "number": "438"}, | |
{"code": "LT", "code3": "LTU", "name": "Lithuania", "number": "440"}, | |
{"code": "LU", "code3": "LUX", "name": "Luxembourg", "number": "442"}, | |
{"code": "MO", "code3": "MAC", "name": "Macao", "number": "446"}, | |
{"code": "MG", "code3": "MDG", "name": "Madagascar", "number": "450"}, | |
{"code": "MW", "code3": "MWI", "name": "Malawi", "number": "454"}, | |
{"code": "MY", "code3": "MYS", "name": "Malaysia", "number": "458"}, | |
{"code": "MV", "code3": "MDV", "name": "Maldives", "number": "462"}, | |
{"code": "ML", "code3": "MLI", "name": "Mali", "number": "466"}, | |
{"code": "MT", "code3": "MLT", "name": "Malta", "number": "470"}, | |
{"code": "MH", "code3": "MHL", "name": "Marshall Islands (the)", "number": "584"}, | |
{"code": "MQ", "code3": "MTQ", "name": "Martinique", "number": "474"}, | |
{"code": "MR", "code3": "MRT", "name": "Mauritania", "number": "478"}, | |
{"code": "MU", "code3": "MUS", "name": "Mauritius", "number": "480"}, | |
{"code": "YT", "code3": "MYT", "name": "Mayotte", "number": "175"}, | |
{"code": "MX", "code3": "MEX", "name": "Mexico", "number": "484"}, | |
{"code": "FM", "code3": "FSM", "name": "Micronesia (Federated States of)", "number": "583"}, | |
{"code": "MD", "code3": "MDA", "name": "Moldova (the Republic of)", "number": "498"}, | |
{"code": "MC", "code3": "MCO", "name": "Monaco", "number": "492"}, | |
{"code": "MN", "code3": "MNG", "name": "Mongolia", "number": "496"}, | |
{"code": "ME", "code3": "MNE", "name": "Montenegro", "number": "499"}, | |
{"code": "MS", "code3": "MSR", "name": "Montserrat", "number": "500"}, | |
{"code": "MA", "code3": "MAR", "name": "Morocco", "number": "504"}, | |
{"code": "MZ", "code3": "MOZ", "name": "Mozambique", "number": "508"}, | |
{"code": "MM", "code3": "MMR", "name": "Myanmar", "number": "104"}, | |
{"code": "NA", "code3": "NAM", "name": "Namibia", "number": "516"}, | |
{"code": "NR", "code3": "NRU", "name": "Nauru", "number": "520"}, | |
{"code": "NP", "code3": "NPL", "name": "Nepal", "number": "524"}, | |
{"code": "NL", "code3": "NLD", "name": "Netherlands (the)", "number": "528"}, | |
{"code": "NC", "code3": "NCL", "name": "New Caledonia", "number": "540"}, | |
{"code": "NZ", "code3": "NZL", "name": "New Zealand", "number": "554"}, | |
{"code": "NI", "code3": "NIC", "name": "Nicaragua", "number": "558"}, | |
{"code": "NE", "code3": "NER", "name": "Niger (the)", "number": "562"}, | |
{"code": "NG", "code3": "NGA", "name": "Nigeria", "number": "566"}, | |
{"code": "NU", "code3": "NIU", "name": "Niue", "number": "570"}, | |
{"code": "NF", "code3": "NFK", "name": "Norfolk Island", "number": "574"}, | |
{"code": "MP", "code3": "MNP", "name": "Northern Mariana Islands (the)", "number": "580"}, | |
{"code": "NO", "code3": "NOR", "name": "Norway", "number": "578"}, | |
{"code": "OM", "code3": "OMN", "name": "Oman", "number": "512"}, | |
{"code": "PK", "code3": "PAK", "name": "Pakistan", "number": "586"}, | |
{"code": "PW", "code3": "PLW", "name": "Palau", "number": "585"}, | |
{"code": "PS", "code3": "PSE", "name": "Palestine, State of", "number": "275"}, | |
{"code": "PA", "code3": "PAN", "name": "Panama", "number": "591"}, | |
{"code": "PG", "code3": "PNG", "name": "Papua New Guinea", "number": "598"}, | |
{"code": "PY", "code3": "PRY", "name": "Paraguay", "number": "600"}, | |
{"code": "PE", "code3": "PER", "name": "Peru", "number": "604"}, | |
{"code": "PH", "code3": "PHL", "name": "Philippines (the)", "number": "608"}, | |
{"code": "PN", "code3": "PCN", "name": "Pitcairn", "number": "612"}, | |
{"code": "PL", "code3": "POL", "name": "Poland", "number": "616"}, | |
{"code": "PT", "code3": "PRT", "name": "Portugal", "number": "620"}, | |
{"code": "PR", "code3": "PRI", "name": "Puerto Rico", "number": "630"}, | |
{"code": "QA", "code3": "QAT", "name": "Qatar", "number": "634"}, | |
{"code": "MK", "code3": "MKD", "name": "Republic of North Macedonia", "number": "807"}, | |
{"code": "RO", "code3": "ROU", "name": "Romania", "number": "642"}, | |
{"code": "RU", "code3": "RUS", "name": "Russian Federation (the)", "number": "643"}, | |
{"code": "RW", "code3": "RWA", "name": "Rwanda", "number": "646"}, | |
{"code": "RE", "code3": "REU", "name": "Réunion", "number": "638"}, | |
{"code": "BL", "code3": "BLM", "name": "Saint Barthélemy", "number": "652"}, | |
{"code": "SH", "code3": "SHN", "name": "Saint Helena, Ascension and Tristan da Cunha", "number": "654"}, | |
{"code": "KN", "code3": "KNA", "name": "Saint Kitts and Nevis", "number": "659"}, | |
{"code": "LC", "code3": "LCA", "name": "Saint Lucia", "number": "662"}, | |
{"code": "MF", "code3": "MAF", "name": "Saint Martin (French part)", "number": "663"}, | |
{"code": "PM", "code3": "SPM", "name": "Saint Pierre and Miquelon", "number": "666"}, | |
{"code": "VC", "code3": "VCT", "name": "Saint Vincent and the Grenadines", "number": "670"}, | |
{"code": "WS", "code3": "WSM", "name": "Samoa", "number": "882"}, | |
{"code": "SM", "code3": "SMR", "name": "San Marino", "number": "674"}, | |
{"code": "ST", "code3": "STP", "name": "Sao Tome and Principe", "number": "678"}, | |
{"code": "SA", "code3": "SAU", "name": "Saudi Arabia", "number": "682"}, | |
{"code": "SN", "code3": "SEN", "name": "Senegal", "number": "686"}, | |
{"code": "RS", "code3": "SRB", "name": "Serbia", "number": "688"}, | |
{"code": "SC", "code3": "SYC", "name": "Seychelles", "number": "690"}, | |
{"code": "SL", "code3": "SLE", "name": "Sierra Leone", "number": "694"}, | |
{"code": "SG", "code3": "SGP", "name": "Singapore", "number": "702"}, | |
{"code": "SX", "code3": "SXM", "name": "Sint Maarten (Dutch part)", "number": "534"}, | |
{"code": "SK", "code3": "SVK", "name": "Slovakia", "number": "703"}, | |
{"code": "SI", "code3": "SVN", "name": "Slovenia", "number": "705"}, | |
{"code": "SB", "code3": "SLB", "name": "Solomon Islands", "number": "090"}, | |
{"code": "SO", "code3": "SOM", "name": "Somalia", "number": "706"}, | |
{"code": "ZA", "code3": "ZAF", "name": "South Africa", "number": "710"}, | |
{"code": "GS", "code3": "SGS", "name": "South Georgia and the South Sandwich Islands", "number": "239"}, | |
{"code": "SS", "code3": "SSD", "name": "South Sudan", "number": "728"}, | |
{"code": "ES", "code3": "ESP", "name": "Spain", "number": "724"}, | |
{"code": "LK", "code3": "LKA", "name": "Sri Lanka", "number": "144"}, | |
{"code": "SD", "code3": "SDN", "name": "Sudan (the)", "number": "729"}, | |
{"code": "SR", "code3": "SUR", "name": "Suriname", "number": "740"}, | |
{"code": "SJ", "code3": "SJM", "name": "Svalbard and Jan Mayen", "number": "744"}, | |
{"code": "SE", "code3": "SWE", "name": "Sweden", "number": "752"}, | |
{"code": "CH", "code3": "CHE", "name": "Switzerland", "number": "756"}, | |
{"code": "SY", "code3": "SYR", "name": "Syrian Arab Republic", "number": "760"}, | |
{"code": "TW", "code3": "TWN", "name": "Taiwan", "number": "158"}, | |
{"code": "TJ", "code3": "TJK", "name": "Tajikistan", "number": "762"}, | |
{"code": "TZ", "code3": "TZA", "name": "Tanzania, United Republic of", "number": "834"}, | |
{"code": "TH", "code3": "THA", "name": "Thailand", "number": "764"}, | |
{"code": "TL", "code3": "TLS", "name": "Timor-Leste", "number": "626"}, | |
{"code": "TG", "code3": "TGO", "name": "Togo", "number": "768"}, | |
{"code": "TK", "code3": "TKL", "name": "Tokelau", "number": "772"}, | |
{"code": "TO", "code3": "TON", "name": "Tonga", "number": "776"}, | |
{"code": "TT", "code3": "TTO", "name": "Trinidad and Tobago", "number": "780"}, | |
{"code": "TN", "code3": "TUN", "name": "Tunisia", "number": "788"}, | |
{"code": "TR", "code3": "TUR", "name": "Turkey", "number": "792"}, | |
{"code": "TM", "code3": "TKM", "name": "Turkmenistan", "number": "795"}, | |
{"code": "TC", "code3": "TCA", "name": "Turks and Caicos Islands (the)", "number": "796"}, | |
{"code": "TV", "code3": "TUV", "name": "Tuvalu", "number": "798"}, | |
{"code": "UG", "code3": "UGA", "name": "Uganda", "number": "800"}, | |
{"code": "UA", "code3": "UKR", "name": "Ukraine", "number": "804"}, | |
{"code": "AE", "code3": "ARE", "name": "United Arab Emirates (the)", "number": "784"}, | |
{"code": "GB", "code3": "GBR", "name": "United Kingdom of Great Britain and Northern Ireland (the)", "number": "826"}, | |
{"code": "UM", "code3": "UMI", "name": "United States Minor Outlying Islands (the)", "number": "581"}, | |
{"code": "US", "code3": "USA", "name": "United States of America (the)", "number": "840"}, | |
{"code": "UY", "code3": "URY", "name": "Uruguay", "number": "858"}, | |
{"code": "UZ", "code3": "UZB", "name": "Uzbekistan", "number": "860"}, | |
{"code": "VU", "code3": "VUT", "name": "Vanuatu", "number": "548"}, | |
{"code": "VE", "code3": "VEN", "name": "Venezuela (Bolivarian Republic of)", "number": "862"}, | |
{"code": "VN", "code3": "VNM", "name": "Viet Nam", "number": "704"}, | |
{"code": "VG", "code3": "VGB", "name": "Virgin Islands (British)", "number": "092"}, | |
{"code": "VI", "code3": "VIR", "name": "Virgin Islands (U.S.)", "number": "850"}, | |
{"code": "WF", "code3": "WLF", "name": "Wallis and Futuna", "number": "876"}, | |
{"code": "EH", "code3": "ESH", "name": "Western Sahara", "number": "732"}, | |
{"code": "YE", "code3": "YEM", "name": "Yemen", "number": "887"}, | |
{"code": "ZM", "code3": "ZMB", "name": "Zambia", "number": "894"}, | |
{"code": "ZW", "code3": "ZWE", "name": "Zimbabwe", "number": "716"}, | |
{"code": "AX", "code3": "ALA", "name": "Åland Islands", "number": "248"} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export const COUNTRIES = [
{
name: 'Afghanistan',
code: 'AF',
timezone: 'Afghanistan Standard Time',
utc: 'UTC+04:30',
mobileCode: '+93',
pattern: /^(+93)?[2-9]\d{8}$/,
example: '+93701234567'
},
{
name: 'Åland Islands',
code: 'AX',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+358-18',
pattern: /^(+358-18)?\d{5,8}$/,
example: '+358-18123456'
},
{
name: 'Albania',
code: 'AL',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+355',
pattern: /^(+355)?[67]\d{7}$/,
example: '+355671234567'
},
{
name: 'Algeria',
code: 'DZ',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+213',
pattern: /^(+213)?[5-9]\d{8}$/,
example: '+213551234567'
},
{
name: 'American Samoa',
code: 'AS',
timezone: 'UTC-11',
utc: 'UTC-11:00',
mobileCode: '+1-684',
pattern: /^(+1-684)?[2-9]\d{6}$/,
example: '+1-6847331234'
},
{
name: 'Andorra',
code: 'AD',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+376',
pattern: /^(+376)?[3-9]\d{5}$/,
example: '+376312345'
},
{
name: 'Angola',
code: 'AO',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+244',
pattern: /^(+244)?[2-9]\d{8}$/,
example: '+244923123456'
},
{
name: 'Anguilla',
code: 'AI',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-264',
pattern: /^(+1-264)?[2-9]\d{6}$/,
example: '+1-2645234567'
},
{
name: 'Antarctica',
code: 'AQ',
timezone: 'Pacific SA Standard Time',
utc: 'UTC-03:00',
mobileCode: '+',
pattern: /^+?\d{6,15}$/, // Generic pattern as no specific mobile code
example: '+1234567890'
},
{
name: 'Antigua and Barbuda',
code: 'AG',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-268',
pattern: /^(+1-268)?[2-9]\d{6}$/,
example: '+1-2687234567'
},
{
name: 'Argentina',
code: 'AR',
timezone: 'Argentina Standard Time',
utc: 'UTC-03:00',
mobileCode: '+54',
pattern: /^(+54)?[1-9]\d{9}$/,
example: '+549113456789'
},
{
name: 'Armenia',
code: 'AM',
timezone: 'Caucasus Standard Time',
utc: 'UTC+04:00',
mobileCode: '+374',
pattern: /^(+374)?[1-9]\d{7}$/,
example: '+37410123456'
},
{
name: 'Aruba',
code: 'AW',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+297',
pattern: /^(+297)?[5-9]\d{6}$/,
example: '+2975123456'
},
{
name: 'Australia',
code: 'AU',
timezone: 'AUS Eastern Standard Time',
utc: 'UTC+10:00',
mobileCode: '+61',
pattern: /^(+61)?[1-9]\d{8}$/,
example: '+61412345678'
},
{
name: 'Austria',
code: 'AT',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+43',
pattern: /^(+43)?[1-9]\d{3,12}$/,
example: '+436641234567'
},
{
name: 'Azerbaijan',
code: 'AZ',
timezone: 'Azerbaijan Standard Time',
utc: 'UTC+04:00',
mobileCode: '+994',
pattern: /^(+994)?[1-9]\d{8}$/,
example: '+994501234567'
},
{
name: 'Bahamas, The',
code: 'BS',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1-242',
pattern: /^(+1-242)?[2-9]\d{6}$/,
example: '+1-2426011234'
},
{
name: 'Bahrain',
code: 'BH',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+973',
pattern: /^(+973)?[1-9]\d{6,7}$/,
example: '+97336123456'
},
{
name: 'Bangladesh',
code: 'BD',
timezone: 'Bangladesh Standard Time',
utc: 'UTC+06:00',
mobileCode: '+880',
pattern: /^(+880)?[1-9]\d{9}$/,
example: '+8801812345678'
},
{
name: 'Barbados',
code: 'BB',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-246',
pattern: /^(+1-246)?[2-9]\d{6}$/,
example: '+1-2462501234'
},
{
name: 'Belarus',
code: 'BY',
timezone: 'Belarus Standard Time',
utc: 'UTC+03:00',
mobileCode: '+375',
pattern: /^(+375)?[1-9]\d{8}$/,
example: '+375291234567'
},
{
name: 'Belgium',
code: 'BE',
timezone: 'Romance Standard Time',
utc: 'UTC+01:00',
mobileCode: '+32',
pattern: /^(+32)?[1-9]\d{7,8}$/,
example: '+32470123456'
},
{
name: 'Belize',
code: 'BZ',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+501',
pattern: /^(+501)?[2-9]\d{6}$/,
example: '+5016123456'
},
{
name: 'Benin',
code: 'BJ',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+229',
pattern: /^(+229)?[1-9]\d{7}$/,
example: '+22961234567'
},
{
name: 'Azerbaijan',
code: 'AZ',
timezone: 'Azerbaijan Standard Time',
utc: 'UTC+04:00',
mobileCode: '+994',
pattern: /^(+994)?[1-9]\d{8}$/,
example: '+994501234567'
},
{
name: 'Bahamas, The',
code: 'BS',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1-242',
pattern: /^(+1-242)?[2-9]\d{6}$/,
example: '+1-2426011234'
},
{
name: 'Bahrain',
code: 'BH',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+973',
pattern: /^(+973)?[1-9]\d{6,7}$/,
example: '+97336123456'
},
{
name: 'Bangladesh',
code: 'BD',
timezone: 'Bangladesh Standard Time',
utc: 'UTC+06:00',
mobileCode: '+880',
pattern: /^(+880)?[1-9]\d{9}$/,
example: '+8801812345678'
},
{
name: 'Barbados',
code: 'BB',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-246',
pattern: /^(+1-246)?[2-9]\d{6}$/,
example: '+1-2462501234'
},
{
name: 'Belarus',
code: 'BY',
timezone: 'Belarus Standard Time',
utc: 'UTC+03:00',
mobileCode: '+375',
pattern: /^(+375)?[1-9]\d{8}$/,
example: '+375291234567'
},
{
name: 'Belgium',
code: 'BE',
timezone: 'Romance Standard Time',
utc: 'UTC+01:00',
mobileCode: '+32',
pattern: /^(+32)?[1-9]\d{7,8}$/,
example: '+32470123456'
},
{
name: 'Belize',
code: 'BZ',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+501',
pattern: /^(+501)?[2-9]\d{6}$/,
example: '+5016123456'
},
{
name: 'Benin',
code: 'BJ',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+229',
pattern: /^(+229)?[1-9]\d{7}$/,
example: '+22961234567'
},
{
name: 'Bermuda',
code: 'BM',
timezone: 'Atlantic Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-441',
pattern: /^(+1-441)?[2-9]\d{6}$/,
example: '+1-4413701234'
},
{
name: 'Bhutan',
code: 'BT',
timezone: 'Bangladesh Standard Time',
utc: 'UTC+06:00',
mobileCode: '+975',
pattern: /^(+975)?[17-9]\d{6,7}$/, // Bhutan numbers are 7-8 digits, starting with 1,7,8,9
example: '+97517123456'
},
{
name: 'Bolivarian Republic of Venezuela',
code: 'VE',
timezone: 'Venezuela Standard Time',
utc: 'UTC-04:30',
mobileCode: '+58',
pattern: /^(+58)?[24-9]\d{9}$/, // Venezuela numbers are 10 digits, can't start with 0,1,3
example: '+584121234567'
},
{
name: 'Bolivia',
code: 'BO',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+591',
pattern: /^(+591)?[67]\d{7}$/, // Bolivia mobile numbers are 8 digits, starting with 6 or 7
example: '+59171234567'
},
{
name: 'Bonaire, Sint Eustatius and Saba',
code: 'BQ',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+599',
pattern: /^(+599)?[1-9]\d{5,6}$/, // BES islands use 6-7 digit numbers
example: '+5999511234'
},
{
name: 'Bosnia and Herzegovina',
code: 'BA',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+387',
pattern: /^(+387)?6[1-9]\d{6}$/, // BiH mobile numbers start with 6, followed by 7 digits
example: '+38761123456'
},
{
name: 'Botswana',
code: 'BW',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+267',
pattern: /^(+267)?[71-9]\d{6}$/, // Botswana numbers are 7 digits, mobile starts with 7
example: '+26771234567'
},
{
name: 'Bouvet Island',
code: 'BV',
timezone: 'UTC',
utc: 'UTC',
mobileCode: '+',
pattern: null, // No telephone infrastructure
example: null
},
{
name: 'Brazil',
code: 'BR',
timezone: 'E. South America Standard Time',
utc: 'UTC-03:00',
mobileCode: '+55',
pattern: /^(+55)?[1-9]{2}9?[6-9]\d{7}$/, // Brazil numbers: 2-digit area + 8-9 digits (mobile has 9 after area)
example: '+5521981234567'
},
{
name: 'British Indian Ocean Territory',
code: 'IO',
timezone: 'Central Asia Standard Time',
utc: 'UTC+06:00',
mobileCode: '+246',
pattern: /^(+246)?[1-9]\d{5}$/, // BIOT uses 6-digit numbers
example: '+246123456'
},
{
name: 'Brunei',
code: 'BN',
timezone: 'Singapore Standard Time',
utc: 'UTC+08:00',
mobileCode: '+673',
pattern: /^(+673)?[1-9]\d{6}$/, // Brunei numbers are 7 digits
example: '+6738123456'
},
{
name: 'Bulgaria',
code: 'BG',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+359',
pattern: /^(+359)?(87|88|89|98)[0-9]{7}$/, // Mobile numbers start with 87,88,89,98
example: '+359891234567'
},
{
name: 'Burkina Faso',
code: 'BF',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+226',
pattern: /^(+226)?[67][0-9]{7}$/, // Numbers are 8 digits starting with 6 or 7
example: '+22670123456'
},
{
name: 'Burundi',
code: 'BI',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+257',
pattern: /^(+257)?[79][0-9]{7}$/, // Numbers are 8 digits starting with 7 or 9
example: '+25779234567'
},
{
name: 'Cabo Verde',
code: 'CV',
timezone: 'Cape Verde Standard Time',
utc: 'UTC-01:00',
mobileCode: '+238',
pattern: /^(+238)?(9|5\d)[0-9]{6}$/, // Numbers are 7 digits, mobile starts with 9 or 5
example: '+2389912345'
},
{
name: 'Cambodia',
code: 'KH',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+855',
pattern: /^(+855)?(1[0-9]|6[1-9]|7[6-9]|8[1-9]|9[1-9])[0-9]{6,7}$/, // Complex pattern for various operators
example: '+85512123456'
},
{
name: 'Cameroon',
code: 'CM',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+237',
pattern: /^(+237)?[23678][0-9]{7,8}$/, // Numbers are 8-9 digits starting with 2,3,6,7,8
example: '+237671234567'
},
{
name: 'Canada',
code: 'CA',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1',
pattern: /^(+1)?[2-9][0-9]{9}$/, // North American numbering plan (10 digits)
example: '+16135551234'
},
{
name: 'Cayman Islands',
code: 'KY',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1-345',
pattern: /^(+1-345)?[2-9][0-9]{6}$/, // 7-digit numbers following NANP
example: '+1-3453231234'
},
{
name: 'Central African Republic',
code: 'CF',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+236',
pattern: /^(+236)?[7][0-9]{7}$/, // Numbers are 8 digits starting with 7
example: '+23670123456'
},
{
name: 'Chad',
code: 'TD',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+235',
pattern: /^(+235)?[67][0-9]{7}$/, // Numbers are 8 digits starting with 6 or 7
example: '+23563123456'
},
{
name: 'Chile',
code: 'CL',
timezone: 'Pacific SA Standard Time',
utc: 'UTC-03:00',
mobileCode: '+56',
pattern: /^(+56)?[2-9]\d{8}$/, // 9 digits after country code (excluding leading 0)
example: '+56951234567'
},
{
name: 'China',
code: 'CN',
timezone: 'China Standard Time',
utc: 'UTC+08:00',
mobileCode: '+86',
pattern: /^(+86)?1[3-9]\d{9}$/, // Mobile numbers: 11 digits starting with 13-19
example: '+8613812345678'
},
{
name: 'Christmas Island',
code: 'CX',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+61',
pattern: /^(+61)?4\d{8}$/, // Australian format (Christmas Island uses AU numbers)
example: '+61400123456'
},
{
name: 'Cocos (Keeling) Islands',
code: 'CC',
timezone: 'Myanmar Standard Time',
utc: 'UTC+06:30',
mobileCode: '+61',
pattern: /^(+61)?4\d{8}$/, // Also uses Australian numbering
example: '+61489123456'
},
{
name: 'Colombia',
code: 'CO',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+57',
pattern: /^(+57)?3\d{9}$/, // 10 digits starting with 3 (mobile numbers)
example: '+573012345678'
},
{
name: 'Comoros',
code: 'KM',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+269',
pattern: /^(+269)?[3]\d{6}$/, // 7 digits starting with 3
example: '+2693212345'
},
{
name: 'Congo',
code: 'CG',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+242',
pattern: /^(+242)?[0-9]\d{8}$/, // 9 digits total
example: '+242061234567'
},
{
name: 'Congo (DRC)',
code: 'CD',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+243',
pattern: /^(+243)?[8-9]\d{8}$/, // 9 digits starting with 8 or 9 (mobile)
example: '+243812345678'
},
{
name: 'Cook Islands',
code: 'CK',
timezone: 'Hawaiian Standard Time',
utc: 'UTC-10:00',
mobileCode: '+682',
pattern: /^(+682)?[2-7]\d{4}$/, // 5-digit numbers (range 20000-79999)
example: '+68271234'
},
{
name: 'Costa Rica',
code: 'CR',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+506',
pattern: /^(+506)?[6-8]\d{7}$/, // 8 digits starting with 6,7, or 8
example: '+50661234567'
},
{
name: "Côte d'Ivoire",
code: 'CI',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+225',
pattern: /^(+225)?[0-9]{8}$/, // 8-digit numbers
example: '+22501234567'
},
{
name: 'Croatia',
code: 'HR',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+385',
pattern: /^(+385)?9[0-9]{8}$/, // Mobile numbers start with 9 (9 digits total)
example: '+385912345678'
},
{
name: 'Cuba',
code: 'CU',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+53',
pattern: /^(+53)?5[0-9]{7}$/, // Mobile numbers start with 5 (8 digits total)
example: '+5351234567'
},
{
name: 'Curaçao',
code: 'CW',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+599',
pattern: /^(+599)?9[0-9]{6}$/, // 7-digit numbers starting with 9
example: '+5999512345'
},
{
name: 'Cyprus',
code: 'CY',
timezone: 'E. Europe Standard Time',
utc: 'UTC+02:00',
mobileCode: '+357',
pattern: /^(+357)?9[0-9]{7}$/, // 8-digit mobile numbers starting with 9
example: '+35796123456'
},
{
name: 'Czech Republic',
code: 'CZ',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+420',
pattern: /^(+420)?[1-9][0-9]{8}$/, // 9-digit numbers (no leading zero)
example: '+420601123456'
},
{
name: 'Democratic Republic of Timor-Leste',
code: 'TL',
timezone: 'Tokyo Standard Time',
utc: 'UTC+09:00',
mobileCode: '+670',
pattern: /^(+670)?7[0-9]{7}$/, // 8-digit mobile numbers starting with 7
example: '+67077234567'
},
{
name: 'Denmark',
code: 'DK',
timezone: 'Romance Standard Time',
utc: 'UTC+01:00',
mobileCode: '+45',
pattern: /^(+45)?[0-9]{8}$/, // 8-digit numbers
example: '+4512345678'
},
{
name: 'Djibouti',
code: 'DJ',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+253',
pattern: /^(+253)?[0-9]{6}$/, // 6-digit numbers
example: '+253123456'
},
{
name: 'Dominica',
code: 'DM',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-767',
pattern: /^(+1-767)?[2-9][0-9]{6}$/, // 7-digit numbers (NANP format)
example: '+1-7672251234'
},
{
name: 'Dominican Republic',
code: 'DO',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-809 and 1-829',
pattern: /^(+1)?(809|829)[2-9][0-9]{6}$/, // 10-digit numbers with area codes 809/829
example: '+18091234567'
},
{
name: 'Ecuador',
code: 'EC',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+593',
pattern: /^(+593)?9\d{8}$/, // Mobile numbers: 9 digits starting with 9
example: '+593991234567'
},
{
name: 'Egypt',
code: 'EG',
timezone: 'Egypt Standard Time',
utc: 'UTC+02:00',
mobileCode: '+20',
pattern: /^(+20)?1[0-9]{9}$/, // Mobile numbers: 10 digits starting with 1
example: '+201012345678'
},
{
name: 'El Salvador',
code: 'SV',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+503',
pattern: /^(+503)?[67]\d{7}$/, // 8-digit numbers starting with 6 or 7
example: '+50371234567'
},
{
name: 'Equatorial Guinea',
code: 'GQ',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+240',
pattern: /^(+240)?[235]\d{6}$/, // 7-digit numbers starting with 2,3, or 5
example: '+2403123456'
},
{
name: 'Eritrea',
code: 'ER',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+291',
pattern: /^(+291)?[178]\d{6}$/, // 7-digit numbers starting with 1,7, or 8
example: '+2917123456'
},
{
name: 'Estonia',
code: 'EE',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+372',
pattern: /^(+372)?[5-9]\d{7}$/, // 8-digit numbers starting with 5-9
example: '+37251234567'
},
{
name: 'Ethiopia',
code: 'ET',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+251',
pattern: /^(+251)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+251911234567'
},
{
name: 'Falkland Islands (Islas Malvinas)',
code: 'FK',
timezone: 'SA Eastern Standard Time',
utc: 'UTC-03:00',
mobileCode: '+500',
pattern: /^(+500)?[2-9]\d{4}$/, // 5-digit numbers (2xxxx-9xxxx)
example: '+50051234'
},
{
name: 'Faroe Islands',
code: 'FO',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+298',
pattern: /^(+298)?\d{5}$/, // 5-digit numbers
example: '+29812345'
},
{
name: 'Fiji Islands',
code: 'FJ',
timezone: 'Fiji Standard Time',
utc: 'UTC+12:00',
mobileCode: '+679',
pattern: /^(+679)?\d{7}$/, // 7-digit numbers
example: '+6791234567'
},
{
name: 'Finland',
code: 'FI',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+358',
pattern: /^(+358)?4\d{8,9}$/, // Mobile numbers: 9-10 digits starting with 4
example: '+358412345678'
},
{
name: 'France',
code: 'FR',
timezone: 'Romance Standard Time',
utc: 'UTC+01:00',
mobileCode: '+33',
pattern: /^(+33)?[67]\d{8}$/, // Mobile numbers: 9 digits starting with 6 or 7
example: '+33612345678'
},
{
name: 'French Guiana',
code: 'GF',
timezone: 'SA Eastern Standard Time',
utc: 'UTC-03:00',
mobileCode: '+594',
pattern: /^(+594)?694\d{6}$/, // Mobile numbers start with 694 (9 digits total)
example: '+594694123456'
},
{
name: 'French Polynesia',
code: 'PF',
timezone: 'Hawaiian Standard Time',
utc: 'UTC-10:00',
mobileCode: '+689',
pattern: /^(+689)?[2-9]\d{5}$/, // 6-digit numbers (20xxxx-99xxxx)
example: '+689212345'
},
{
name: 'French Southern and Antarctic Lands',
code: 'TF',
timezone: 'West Asia Standard Time',
utc: 'UTC+05:00',
mobileCode: '+',
pattern: null, // No telephone infrastructure
example: null
},
{
name: 'Gabon',
code: 'GA',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+241',
pattern: /^(+241)?0[1-9]\d{6}$/, // 8-digit numbers starting with 0
example: '+2406123456'
},
{
name: 'Gambia, The',
code: 'GM',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+220',
pattern: /^(+220)?[2-9]\d{6}$/, // 7-digit numbers (no 0 or 1 start)
example: '+2203123456'
},
{
name: 'Georgia',
code: 'GE',
timezone: 'Georgian Standard Time',
utc: 'UTC+04:00',
mobileCode: '+995',
pattern: /^(+995)?5\d{8}$/, // Mobile numbers: 9 digits starting with 5
example: '+995591234567'
},
{
name: 'Germany',
code: 'DE',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+49',
pattern: /^(+49)?1[5-9]\d{8,9}$/, // Mobile: 10-11 digits starting with 15-19
example: '+491712345678'
},
{
name: 'Ghana',
code: 'GH',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+233',
pattern: /^(+233)?[235]\d{8}$/, // 9-digit numbers starting with 2,3, or 5
example: '+233201234567'
},
{
name: 'Gibraltar',
code: 'GI',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+350',
pattern: /^(+350)?[256]\d{5}$/, // 6-digit numbers starting with 2,5, or 6
example: '+350512345'
},
{
name: 'Greece',
code: 'GR',
timezone: 'GTB Standard Time',
utc: 'UTC+02:00',
mobileCode: '+30',
pattern: /^(+30)?6\d{9}$/, // Mobile: 10 digits starting with 6
example: '+306912345678'
},
{
name: 'Greenland',
code: 'GL',
timezone: 'Greenland Standard Time',
utc: 'UTC-03:00',
mobileCode: '+299',
pattern: /^(+299)?[2-9]\d{5}$/, // 6-digit numbers (20xxxx-99xxxx)
example: '+299321234'
},
{
name: 'Grenada',
code: 'GD',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-473',
pattern: /^(+1-473)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-4734031234'
},
{
name: 'Guadeloupe',
code: 'GP',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+590',
pattern: /^(+590)?690\d{6}$/, // Mobile numbers start with 690 (9 digits total)
example: '+590690123456'
},
{
name: 'Guam',
code: 'GU',
timezone: 'West Pacific Standard Time',
utc: 'UTC+10:00',
mobileCode: '+1-671',
pattern: /^(+1-671)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-6719876543'
},
{
name: 'Guatemala',
code: 'GT',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+502',
pattern: /^(+502)?[1-9]\d{7}$/, // 8-digit numbers
example: '+50251234567'
},
{
name: 'Guernsey',
code: 'GG',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+44-1481',
pattern: /^(+44-1481)?[2-9]\d{5}$/, // 6-digit numbers after area code
example: '+44-1481778899'
},
{
name: 'Guinea',
code: 'GN',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+224',
pattern: /^(+224)?6\d{7}$/, // Mobile numbers: 8 digits starting with 6
example: '+22461234567'
},
{
name: 'Guinea-Bissau',
code: 'GW',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+245',
pattern: /^(+245)?[1-9]\d{6}$/, // 7-digit numbers
example: '+2455123456'
},
{
name: 'Guyana',
code: 'GY',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+592',
pattern: /^(+592)?6\d{5}$/, // 6-digit numbers starting with 6
example: '+5926123456'
},
{
name: 'Haiti',
code: 'HT',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+509',
pattern: /^(+509)?[2-9]\d{7}$/, // 8-digit numbers
example: '+50934123456'
},
{
name: 'Heard Island and McDonald Islands',
code: 'HM',
timezone: 'Mauritius Standard Time',
utc: 'UTC+04:00',
mobileCode: '+ ',
pattern: null, // No telephone infrastructure
example: null
},
{
name: 'Honduras',
code: 'HN',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+504',
pattern: /^(+504)?[3|7|8|9]\d{7}$/, // 8-digit numbers starting with 3,7,8,9
example: '+50491234567'
},
{
name: 'Hong Kong SAR',
code: 'HK',
timezone: 'China Standard Time',
utc: 'UTC+08:00',
mobileCode: '+852',
pattern: /^(+852)?[1-9]\d{7}$/, // 8-digit numbers
example: '+85251234567'
},
{
name: 'Hungary',
code: 'HU',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+36',
pattern: /^(+36)?[2370]\d{8}$/, // 9-digit numbers starting with 2,3,7 or 0
example: '+36201234567'
},
{
name: 'Iceland',
code: 'IS',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+354',
pattern: /^(+354)?[3-9]\d{6}$/, // 7-digit numbers starting with 3-9
example: '+3546123456'
},
{
name: 'India',
code: 'IN',
timezone: 'India Standard Time',
utc: 'UTC+05:30',
mobileCode: '+91',
pattern: /^(+91)?[6-9]\d{9}$/, // 10-digit mobile numbers starting with 6-9
example: '+919876543210'
},
{
name: 'Indonesia',
code: 'ID',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+62',
pattern: /^(+62)?(8\d{8,11}|2\d{7,10})$/, // 9-12 digits (mobile starts with 8)
example: '+628123456789'
},
{
name: 'Iran',
code: 'IR',
timezone: 'Iran Standard Time',
utc: 'UTC+03:30',
mobileCode: '+98',
pattern: /^(+98)?9\d{9}$/, // 10-digit mobile numbers starting with 9
example: '+989121234567'
},
{
name: 'Iraq',
code: 'IQ',
timezone: 'Arabic Standard Time',
utc: 'UTC+03:00',
mobileCode: '+964',
pattern: /^(+964)?7[0-9]\d{8}$/, // 10-digit mobile numbers starting with 7
example: '+9647123456789'
},
{
name: 'Ireland',
code: 'IE',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+353',
pattern: /^(+353)?8[35679]\d{7}$/, // 9-digit mobile numbers starting with 83,85,86,87,89
example: '+353851234567'
},
{
name: 'Israel',
code: 'IL',
timezone: 'Israel Standard Time',
utc: 'UTC+02:00',
mobileCode: '+972',
pattern: /^(+972)?5\d{8}$/, // 9-digit mobile numbers starting with 5
example: '+972501234567'
},
{
name: 'Italy',
code: 'IT',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+39',
pattern: /^(+39)?3\d{8,9}$/, // 9-10 digit mobile numbers starting with 3
example: '+393331234567'
},
{
name: 'Jamaica',
code: 'JM',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1-876',
pattern: /^(+1-876)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-8765123456'
},
{
name: 'Jan Mayen',
code: 'SJ',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+47',
pattern: /^(+47)?[49]\d{7}$/, // 8-digit numbers starting with 4 or 9 (Norwegian format)
example: '+4791234567'
},
{
name: 'Japan',
code: 'JP',
timezone: 'Tokyo Standard Time',
utc: 'UTC+09:00',
mobileCode: '+81',
pattern: /^(+81)?[789]0\d{8}$/, // 10-digit mobile numbers starting with 070,080,090
example: '+819012345678'
},
{
name: 'Jersey',
code: 'JE',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+44-1534',
pattern: /^(+44-1534)?[2-9]\d{5}$/, // 6-digit numbers after area code
example: '+44-1534778899'
},
{
name: 'Jordan',
code: 'JO',
timezone: 'Jordan Standard Time',
utc: 'UTC+02:00',
mobileCode: '+962',
pattern: /^(+962)?7[789]\d{7}$/, // 9-digit mobile numbers starting with 77,78,79
example: '+962791234567'
},
{
name: 'Kazakhstan',
code: 'KZ',
timezone: 'Central Asia Standard Time',
utc: 'UTC+06:00',
mobileCode: '+7',
pattern: /^(+7)?7\d{9}$/, // 10-digit mobile numbers starting with 7
example: '+77123456789'
},
{
name: 'Kenya',
code: 'KE',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+254',
pattern: /^(+254)?(7|1)\d{8}$/, // 9-digit numbers starting with 1 or 7
example: '+254712345678'
},
{
name: 'Kiribati',
code: 'KI',
timezone: 'UTC+12',
utc: 'UTC+12:00',
mobileCode: '+686',
pattern: /^(+686)?[2-9]\d{4}$/, // 5-digit numbers
example: '+68631234'
},
{
name: 'Korea',
code: 'KR',
timezone: 'Korea Standard Time',
utc: 'UTC+09:00',
mobileCode: '+82',
pattern: /^(+82)?1[0-9]\d{7,8}$/, // 10-11 digit mobile numbers starting with 10-19
example: '+821012345678'
},
{
name: 'Kosovo',
code: 'XK',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+',
pattern: /^(+383)?4[0-9]\d{6}$/, // Uses +383 code, 8-digit mobile numbers starting with 4
example: '+38344123456'
},
{
name: 'Kuwait',
code: 'KW',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+965',
pattern: /^(+965)?[569]\d{7}$/, // 8-digit numbers starting with 5,6, or 9
example: '+96551234567'
},
{
name: 'Kyrgyzstan',
code: 'KG',
timezone: 'Central Asia Standard Time',
utc: 'UTC+06:00',
mobileCode: '+996',
pattern: /^(+996)?(5|7)\d{8}$/, // 9-digit mobile numbers starting with 5 or 7
example: '+996700123456'
},
{
name: 'Laos',
code: 'LA',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+856',
pattern: /^(+856)?20\d{7,8}$/, // 9-10 digit numbers starting with 20
example: '+8562023123456'
},
{
name: 'Latvia',
code: 'LV',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+371',
pattern: /^(+371)?2\d{7}$/, // 8-digit numbers starting with 2
example: '+37121234567'
},
{
name: 'Lebanon',
code: 'LB',
timezone: 'Middle East Standard Time',
utc: 'UTC+02:00',
mobileCode: '+961',
pattern: /^(+961)?(3|7|8|9)\d{6,7}$/, // 7-8 digit mobile numbers starting with 3,7,8, or 9
example: '+9617123456'
},
{
name: 'Lesotho',
code: 'LS',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+266',
pattern: /^(+266)?[5-8]\d{7}$/, // 8-digit numbers starting with 5-8
example: '+26651234567'
},
{
name: 'Liberia',
code: 'LR',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+231',
pattern: /^(+231)?(4|5|6|7)\d{8}$/, // 9-digit numbers starting with 4-7
example: '+231612345678'
},
{
name: 'Libya',
code: 'LY',
timezone: 'E. Europe Standard Time',
utc: 'UTC+02:00',
mobileCode: '+218',
pattern: /^(+218)?(9[1-6]|1[0-9])\d{7}$/, // 9-digit numbers starting with 91-96 or 10-19
example: '+218912345678'
},
{
name: 'Liechtenstein',
code: 'LI',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+423',
pattern: /^(+423)?(6|7|8)\d{7}$/, // 8-digit numbers starting with 6,7, or 8
example: '+4237812345'
},
{
name: 'Lithuania',
code: 'LT',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+370',
pattern: /^(+370)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+37061234567'
},
{
name: 'Luxembourg',
code: 'LU',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+352',
pattern: /^(+352)?(6|2)\d{7}$/, // 8-digit numbers starting with 6 or 2
example: '+35262112345'
},
{
name: 'Macao SAR',
code: 'MO',
timezone: 'China Standard Time',
utc: 'UTC+08:00',
mobileCode: '+853',
pattern: /^(+853)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+85361234567'
},
{
name: 'Macedonia, Former Yugoslav Republic of',
code: 'MK',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+389',
pattern: /^(+389)?7[0-9]\d{6}$/, // 8-digit mobile numbers starting with 7
example: '+38972123456'
},
{
name: 'Madagascar',
code: 'MG',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+261',
pattern: /^(+261)?(3|2)\d{8}$/, // 9-digit numbers starting with 3 or 2
example: '+261321234567'
},
{
name: 'Malawi',
code: 'MW',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+265',
pattern: /^(+265)?(1|7|8|9)\d{7,8}$/, // 8-9 digit numbers starting with 1,7,8, or 9
example: '+26599123456'
},
{
name: 'Malaysia',
code: 'MY',
timezone: 'Singapore Standard Time',
utc: 'UTC+08:00',
mobileCode: '+60',
pattern: /^(+60)?1[0-9]\d{7,8}$/, // 10-11 digit mobile numbers starting with 10-19
example: '+60123456789'
},
{
name: 'Maldives',
code: 'MV',
timezone: 'West Asia Standard Time',
utc: 'UTC+05:00',
mobileCode: '+960',
pattern: /^(+960)?(7|9)\d{6}$/, // 7-digit numbers starting with 7 or 9
example: '+9607712345'
},
{
name: 'Mali',
code: 'ML',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+223',
pattern: /^(+223)?[67]\d{7}$/, // 8-digit numbers starting with 6 or 7
example: '+22361234567'
},
{
name: 'Malta',
code: 'MT',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+356',
pattern: /^(+356)?(7|9)\d{7}$/, // 8-digit mobile numbers starting with 7 or 9
example: '+35679123456'
},
{
name: 'Man, Isle of',
code: 'IM',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+44-1624',
pattern: /^(+44-1624)?[2-9]\d{5}$/, // 6-digit numbers after area code
example: '+44-1624778899'
},
{
name: 'Marshall Islands',
code: 'MH',
timezone: 'UTC+12',
utc: 'UTC+12:00',
mobileCode: '+692',
pattern: /^(+692)?[2-9]\d{6}$/, // 7-digit numbers
example: '+6924567890'
},
{
name: 'Martinique',
code: 'MQ',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+596',
pattern: /^(+596)?696\d{6}$/, // 9-digit mobile numbers starting with 696
example: '+596696123456'
},
{
name: 'Mauritania',
code: 'MR',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+222',
pattern: /^(+222)?[2-9]\d{7}$/, // 8-digit numbers
example: '+22231234567'
},
{
name: 'Mauritius',
code: 'MU',
timezone: 'Mauritius Standard Time',
utc: 'UTC+04:00',
mobileCode: '+230',
pattern: /^(+230)?5\d{7}$/, // 8-digit mobile numbers starting with 5
example: '+23051234567'
},
{
name: 'Mayotte',
code: 'YT',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+262',
pattern: /^(+262)?639\d{6}$/, // 9-digit mobile numbers starting with 639
example: '+262639123456'
},
{
name: 'Mexico',
code: 'MX',
timezone: 'Central Standard Time (Mexico)',
utc: 'UTC-06:00',
mobileCode: '+52',
pattern: /^(+52)?1\d{9}$/, // 10-digit mobile numbers starting with 1
example: '+521551234567'
},
{
name: 'Micronesia',
code: 'FM',
timezone: 'West Pacific Standard Time',
utc: 'UTC+10:00',
mobileCode: '+691',
pattern: /^(+691)?[2-9]\d{6}$/, // 7-digit numbers
example: '+6913201234'
},
{
name: 'Moldova',
code: 'MD',
timezone: 'GTB Standard Time',
utc: 'UTC+02:00',
mobileCode: '+373',
pattern: /^(+373)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+37361234567'
},
{
name: 'Monaco',
code: 'MC',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+377',
pattern: /^(+377)?[46]\d{7}$/, // 8-digit numbers starting with 4 or 6
example: '+37761234567'
},
{
name: 'Mongolia',
code: 'MN',
timezone: 'Ulaanbaatar Standard Time',
utc: 'UTC+08:00',
mobileCode: '+976',
pattern: /^(+976)?[5-9]\d{7}$/, // 8-digit numbers starting with 5-9
example: '+97688123456'
},
{
name: 'Montenegro',
code: 'ME',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+382',
pattern: /^(+382)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+38268123456'
},
{
name: 'Montserrat',
code: 'MS',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-664',
pattern: /^(+1-664)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-6644921234'
},
{
name: 'Morocco',
code: 'MA',
timezone: 'Morocco Standard Time',
utc: 'UTC',
mobileCode: '+212',
pattern: /^(+212)?[5-9]\d{8}$/, // 9-digit numbers starting with 5-9
example: '+212612345678'
},
{
name: 'Mozambique',
code: 'MZ',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+258',
pattern: /^(+258)?8[2-8]\d{7}$/, // 9-digit mobile numbers starting with 82-88
example: '+258821234567'
},
{
name: 'Myanmar',
code: 'MM',
timezone: 'Myanmar Standard Time',
utc: 'UTC+06:30',
mobileCode: '+95',
pattern: /^(+95)?9[0-9]\d{7}$/, // 9-digit mobile numbers starting with 90-99
example: '+959421234567'
},
{
name: 'Namibia',
code: 'NA',
timezone: 'Namibia Standard Time',
utc: 'UTC+01:00',
mobileCode: '+264',
pattern: /^(+264)?(81|61)\d{6}$/, // 8-digit numbers starting with 81 or 61
example: '+264811234567'
},
{
name: 'Nauru',
code: 'NR',
timezone: 'UTC+12',
utc: 'UTC+12:00',
mobileCode: '+674',
pattern: /^(+674)?[1-9]\d{5}$/, // 6-digit numbers
example: '+674123456'
},
{
name: 'Nepal',
code: 'NP',
timezone: 'Nepal Standard Time',
utc: 'UTC+05:45',
mobileCode: '+977',
pattern: /^(+977)?9[7-8]\d{8}$/, // 10-digit mobile numbers starting with 97 or 98
example: '+9779841234567'
},
{
name: 'Netherlands',
code: 'NL',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+31',
pattern: /^(+31)?6\d{8}$/, // 9-digit mobile numbers starting with 6
example: '+31612345678'
},
{
name: 'New Caledonia',
code: 'NC',
timezone: 'Central Pacific Standard Time',
utc: 'UTC+11:00',
mobileCode: '+687',
pattern: /^(+687)?[5-9]\d{5}$/, // 6-digit numbers starting with 5-9
example: '+687751234'
},
{
name: 'New Zealand',
code: 'NZ',
timezone: 'New Zealand Standard Time',
utc: 'UTC+12:00',
mobileCode: '+64',
pattern: /^(+64)?2\d{7,9}$/, // 8-10 digit numbers starting with 2 (mobile/landline)
example: '+64211234567'
},
{
name: 'Nicaragua',
code: 'NI',
timezone: 'Central America Standard Time',
utc: 'UTC-06:00',
mobileCode: '+505',
pattern: /^(+505)?[58]\d{7}$/, // 8-digit numbers starting with 5 or 8
example: '+50581234567'
},
{
name: 'Niger',
code: 'NE',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+227',
pattern: /^(+227)?9\d{7}$/, // 8-digit mobile numbers starting with 9
example: '+22793123456'
},
{
name: 'Nigeria',
code: 'NG',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+234',
pattern: /^(+234)?[789]\d{9}$/, // 10-digit mobile numbers starting with 7,8, or 9
example: '+2348012345678'
},
{
name: 'Niue',
code: 'NU',
timezone: 'UTC-11',
utc: 'UTC-11:00',
mobileCode: '+683',
pattern: /^(+683)?[1-9]\d{3}$/, // 4-digit numbers
example: '+6831234'
},
{
name: 'Norfolk Island',
code: 'NF',
timezone: 'Central Pacific Standard Time',
utc: 'UTC+11:00',
mobileCode: '+672',
pattern: /^(+672)?3\d{5}$/, // 6-digit numbers starting with 3
example: '+672312345'
},
{
name: 'North Korea',
code: 'KP',
timezone: 'Korea Standard Time',
utc: 'UTC+09:00',
mobileCode: '+850',
pattern: /^(+850)?19\d{7}$/, // 9-digit mobile numbers starting with 19
example: '+850192123456'
},
{
name: 'Northern Mariana Islands',
code: 'MP',
timezone: 'West Pacific Standard Time',
utc: 'UTC+10:00',
mobileCode: '+1-670',
pattern: /^(+1-670)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-6702345678'
},
{
name: 'Norway',
code: 'NO',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+47',
pattern: /^(+47)?[49]\d{7}$/, // 8-digit mobile numbers starting with 4 or 9
example: '+4741234567'
},
{
name: 'Oman',
code: 'OM',
timezone: 'Arabian Standard Time',
utc: 'UTC+04:00',
mobileCode: '+968',
pattern: /^(+968)?9\d{7}$/, // 8-digit mobile numbers starting with 9
example: '+96891234567'
},
{
name: 'Pakistan',
code: 'PK',
timezone: 'Pakistan Standard Time',
utc: 'UTC+05:00',
mobileCode: '+92',
pattern: /^(+92)?3\d{9}$/, // 10-digit mobile numbers starting with 3
example: '+923001234567'
},
{
name: 'Palau',
code: 'PW',
timezone: 'Tokyo Standard Time',
utc: 'UTC+09:00',
mobileCode: '+680',
pattern: /^(+680)?[2-9]\d{5}$/, // 6-digit numbers
example: '+6802771234'
},
{
name: 'Palestinian Authority',
code: 'PS',
timezone: 'Egypt Standard Time',
utc: 'UTC+02:00',
mobileCode: '+970',
pattern: /^(+970)?5[69]\d{7}$/, // 9-digit mobile numbers starting with 56 or 59
example: '+970592123456'
},
{
name: 'Panama',
code: 'PA',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+507',
pattern: /^(+507)?[56]\d{7}$/, // 8-digit numbers starting with 5 or 6
example: '+50761234567'
},
{
name: 'Papua New Guinea',
code: 'PG',
timezone: 'West Pacific Standard Time',
utc: 'UTC+10:00',
mobileCode: '+675',
pattern: /^(+675)?[7-9]\d{7}$/, // 8-digit numbers starting with 7-9
example: '+67571234567'
},
{
name: 'Paraguay',
code: 'PY',
timezone: 'Paraguay Standard Time',
utc: 'UTC-04:00',
mobileCode: '+595',
pattern: /^(+595)?9[1-9]\d{6}$/, // 8-digit mobile numbers starting with 9
example: '+595961234567'
},
{
name: 'Peru',
code: 'PE',
timezone: 'SA Pacific Standard Time',
utc: 'UTC-05:00',
mobileCode: '+51',
pattern: /^(+51)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+51912345678'
},
{
name: 'Philippines',
code: 'PH',
timezone: 'Singapore Standard Time',
utc: 'UTC+08:00',
mobileCode: '+63',
pattern: /^(+63)?9\d{9}$/, // 10-digit mobile numbers starting with 9
example: '+639171234567'
},
{
name: 'Pitcairn Islands',
code: 'PN',
timezone: 'Pacific Standard Time',
utc: 'UTC-08:00',
mobileCode: '+870',
pattern: /^(+870)?[1-9]\d{7}$/, // 8-digit numbers (Inmarsat service)
example: '+87051234567'
},
{
name: 'Poland',
code: 'PL',
timezone: 'Central European Standard Time',
utc: 'UTC+01:00',
mobileCode: '+48',
pattern: /^(+48)?[5-9]\d{8}$/, // 9-digit numbers starting with 5-9
example: '+48512345678'
},
{
name: 'Portugal',
code: 'PT',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+351',
pattern: /^(+351)?9[1236]\d{7}$/, // 9-digit mobile numbers starting with 91, 92, 93, or 96
example: '+351912345678'
},
{
name: 'Puerto Rico',
code: 'PR',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-787 and 1-939',
pattern: /^(+1)?(787|939)[2-9]\d{6}$/, // 10-digit numbers with area codes 787 or 939
example: '+17871234567'
},
{
name: 'Qatar',
code: 'QA',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+974',
pattern: /^(+974)?[3-9]\d{7}$/, // 8-digit numbers starting with 3-9
example: '+97433123456'
},
{
name: 'Reunion',
code: 'RE',
timezone: 'Mauritius Standard Time',
utc: 'UTC+04:00',
mobileCode: '+262',
pattern: /^(+262)?692\d{6}$/, // 9-digit mobile numbers starting with 692
example: '+262692123456'
},
{
name: 'Romania',
code: 'RO',
timezone: 'GTB Standard Time',
utc: 'UTC+02:00',
mobileCode: '+40',
pattern: /^(+40)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+40741234567'
},
{
name: 'Russia',
code: 'RU',
timezone: 'Russian Standard Time',
utc: 'UTC+03:00',
mobileCode: '+7',
pattern: /^(+7)?9\d{9}$/, // 10-digit mobile numbers starting with 9
example: '+79123456789'
},
{
name: 'Rwanda',
code: 'RW',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+250',
pattern: /^(+250)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+250781234567'
},
{
name: 'Saint Barthélemy',
code: 'BL',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+590',
pattern: /^(+590)?690\d{6}$/, // 9-digit mobile numbers starting with 690
example: '+590690123456'
},
{
name: 'Saint Helena, Ascension and Tristan da Cunha',
code: 'SH',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+290',
pattern: /^(+290)?[2-9]\d{3}$/, // 4-digit numbers
example: '+2902345'
},
{
name: 'Saint Kitts and Nevis',
code: 'KN',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-869',
pattern: /^(+1-869)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-8697654321'
},
{
name: 'Saint Lucia',
code: 'LC',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-758',
pattern: /^(+1-758)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-7587123456'
},
{
name: 'Saint Martin (French part)',
code: 'MF',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+590',
pattern: /^(+590)?690\d{6}$/, // 9-digit mobile numbers starting with 690
example: '+590690123456'
},
{
name: 'Saint Pierre and Miquelon',
code: 'PM',
timezone: 'Greenland Standard Time',
utc: 'UTC-03:00',
mobileCode: '+508',
pattern: /^(+508)?[45]\d{5}$/, // 6-digit numbers starting with 4 or 5
example: '+508412345'
},
{
name: 'Saint Vincent and the Grenadines',
code: 'VC',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-784',
pattern: /^(+1-784)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-7844567890'
},
{
name: 'Samoa',
code: 'WS',
timezone: 'Samoa Standard Time',
utc: 'UTC+13:00',
mobileCode: '+685',
pattern: /^(+685)?[2-9]\d{4}$/, // 5-digit numbers
example: '+68571234'
},
{
name: 'San Marino',
code: 'SM',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+378',
pattern: /^(+378)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+3786123456'
},
{
name: 'São Tomé and Príncipe',
code: 'ST',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+239',
pattern: /^(+239)?9\d{5}$/, // 6-digit mobile numbers starting with 9
example: '+239912345'
},
{
name: 'Saudi Arabia',
code: 'SA',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+966',
pattern: /^(+966)?5\d{8}$/, // 9-digit mobile numbers starting with 5
example: '+966501234567'
},
{
name: 'Senegal',
code: 'SN',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+221',
pattern: /^(+221)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+221701234567'
},
{
name: 'Serbia',
code: 'RS',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+381',
pattern: /^(+381)?6\d{7,8}$/, // 8-9 digit mobile numbers starting with 6
example: '+381641234567'
},
{
name: 'Seychelles',
code: 'SC',
timezone: 'Mauritius Standard Time',
utc: 'UTC+04:00',
mobileCode: '+248',
pattern: /^(+248)?[2-9]\d{5}$/, // 6-digit numbers
example: '+248412345'
},
{
name: 'Sierra Leone',
code: 'SL',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+232',
pattern: /^(+232)?(2|3|7|8)\d{7}$/, // 8-digit numbers starting with 2,3,7, or 8
example: '+23230123456'
},
{
name: 'Singapore',
code: 'SG',
timezone: 'Singapore Standard Time',
utc: 'UTC+08:00',
mobileCode: '+65',
pattern: /^(+65)?[89]\d{7}$/, // 8-digit mobile numbers starting with 8 or 9
example: '+6581234567'
},
{
name: 'Sint Maarten (Dutch part)',
code: 'SX',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+599',
pattern: /^(+599)?[2-9]\d{6}$/, // 7-digit numbers
example: '+5995421234'
},
{
name: 'Slovakia',
code: 'SK',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+421',
pattern: /^(+421)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+421912345678'
},
{
name: 'Slovenia',
code: 'SI',
timezone: 'Central Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+386',
pattern: /^(+386)?[3-7]\d{7}$/, // 8-digit numbers starting with 3-7
example: '+38640123456'
},
{
name: 'Solomon Islands',
code: 'SB',
timezone: 'Central Pacific Standard Time',
utc: 'UTC+11:00',
mobileCode: '+677',
pattern: /^(+677)?[2-9]\d{4}$/, // 5-digit numbers
example: '+67751234'
},
{
name: 'Somalia',
code: 'SO',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+252',
pattern: /^(+252)?[67]\d{7}$/, // 8-digit mobile numbers starting with 6 or 7
example: '+25261234567'
},
{
name: 'South Africa',
code: 'ZA',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+27',
pattern: /^(+27)?[6-8]\d{8}$/, // 9-digit mobile numbers starting with 6-8
example: '+27712345678'
},
{
name: 'South Georgia and the South Sandwich Islands',
code: 'GS',
timezone: 'UTC-02',
utc: 'UTC-02:00',
mobileCode: '+',
pattern: null, // No telephone infrastructure
example: null
},
{
name: 'South Sudan',
code: 'SS',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+211',
pattern: /^(+211)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+211912345678'
},
{
name: 'Spain',
code: 'ES',
timezone: 'Romance Standard Time',
utc: 'UTC+01:00',
mobileCode: '+34',
pattern: /^(+34)?[67]\d{8}$/, // 9-digit mobile numbers starting with 6 or 7
example: '+34612345678'
},
{
name: 'Sri Lanka',
code: 'LK',
timezone: 'Sri Lanka Standard Time',
utc: 'UTC+05:30',
mobileCode: '+94',
pattern: /^(+94)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+94712345678'
},
{
name: 'Sudan',
code: 'SD',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+249',
pattern: /^(+249)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+249912345678'
},
{
name: 'Suriname',
code: 'SR',
timezone: 'SA Eastern Standard Time',
utc: 'UTC-03:00',
mobileCode: '+597',
pattern: /^(+597)?[6-8]\d{5}$/, // 6-digit numbers starting with 6-8
example: '+597612345'
},
{
name: 'Svalbard',
code: 'SJ',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+47',
pattern: /^(+47)?[49]\d{7}$/, // 8-digit numbers starting with 4 or 9 (Norwegian format)
example: '+4791234567'
},
{
name: 'Swaziland',
code: 'SZ',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+268',
pattern: /^(+268)?[7]\d{7}$/, // 8-digit mobile numbers starting with 7
example: '+26876123456'
},
{
name: 'Sweden',
code: 'SE',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+46',
pattern: /^(+46)?7[0-9]\d{7}$/, // 9-digit mobile numbers starting with 70-79
example: '+46701234567'
},
{
name: 'Switzerland',
code: 'CH',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+41',
pattern: /^(+41)?7[5-9]\d{7}$/, // 9-digit mobile numbers starting with 75-79
example: '+41761234567'
},
{
name: 'Syria',
code: 'SY',
timezone: 'Syria Standard Time',
utc: 'UTC+02:00',
mobileCode: '+963',
pattern: /^(+963)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+963931234567'
},
{
name: 'Taiwan',
code: 'TW',
timezone: 'Taipei Standard Time',
utc: 'UTC+08:00',
mobileCode: '+886',
pattern: /^(+886)?9\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+886912345678'
},
{
name: 'Tajikistan',
code: 'TJ',
timezone: 'West Asia Standard Time',
utc: 'UTC+05:00',
mobileCode: '+992',
pattern: /^(+992)?[9]\d{8}$/, // 9-digit mobile numbers starting with 9
example: '+992918765432'
},
{
name: 'Tanzania',
code: 'TZ',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+255',
pattern: /^(+255)?[67]\d{8}$/, // 9-digit mobile numbers starting with 6 or 7
example: '+255712345678'
},
{
name: 'Thailand',
code: 'TH',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+66',
pattern: /^(+66)?[89]\d{8}$/, // 9-digit mobile numbers starting with 8 or 9
example: '+66811234567'
},
{
name: 'Togo',
code: 'TG',
timezone: 'Greenwich Standard Time',
utc: 'UTC',
mobileCode: '+228',
pattern: /^(+228)?[9]\d{7}$/, // 8-digit mobile numbers starting with 9
example: '+22890123456'
},
{
name: 'Tokelau',
code: 'TK',
timezone: 'Tonga Standard Time',
utc: 'UTC+13:00',
mobileCode: '+690',
pattern: /^(+690)?[2-9]\d{3}$/, // 4-digit numbers
example: '+6902345'
},
{
name: 'Tonga',
code: 'TO',
timezone: 'Tonga Standard Time',
utc: 'UTC+13:00',
mobileCode: '+676',
pattern: /^(+676)?[7-9]\d{5}$/, // 6-digit numbers starting with 7-9
example: '+67677123'
},
{
name: 'Trinidad and Tobago',
code: 'TT',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-868',
pattern: /^(+1-868)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-8687123456'
},
{
name: 'Tunisia',
code: 'TN',
timezone: 'W. Central Africa Standard Time',
utc: 'UTC+01:00',
mobileCode: '+216',
pattern: /^(+216)?[2-9]\d{7}$/, // 8-digit numbers
example: '+21620123456'
},
{
name: 'Turkey',
code: 'TR',
timezone: 'Turkey Standard Time',
utc: 'UTC+02:00',
mobileCode: '+90',
pattern: /^(+90)?5\d{9}$/, // 10-digit mobile numbers starting with 5
example: '+905321234567'
},
{
name: 'Turkmenistan',
code: 'TM',
timezone: 'West Asia Standard Time',
utc: 'UTC+05:00',
mobileCode: '+993',
pattern: /^(+993)?6\d{7}$/, // 8-digit mobile numbers starting with 6
example: '+99361234567'
},
{
name: 'Turks and Caicos Islands',
code: 'TC',
timezone: 'Eastern Standard Time',
utc: 'UTC-05:00',
mobileCode: '+1-649',
pattern: /^(+1-649)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-6497123456'
},
{
name: 'Tuvalu',
code: 'TV',
timezone: 'UTC+12',
utc: 'UTC+12:00',
mobileCode: '+688',
pattern: /^(+688)?[2-9]\d{4}$/, // 5-digit numbers
example: '+68890123'
},
{
name: 'U.S. Minor Outlying Islands',
code: 'UM',
timezone: 'UTC-11',
utc: 'UTC-11:00',
mobileCode: '+1',
pattern: null, // No regular phone service
example: null
},
{
name: 'Uganda',
code: 'UG',
timezone: 'E. Africa Standard Time',
utc: 'UTC+03:00',
mobileCode: '+256',
pattern: /^(+256)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+256712345678'
},
{
name: 'Ukraine',
code: 'UA',
timezone: 'FLE Standard Time',
utc: 'UTC+02:00',
mobileCode: '+380',
pattern: /^(+380)?[3-9]\d{8}$/, // 9-digit numbers starting with 3-9
example: '+380501234567'
},
{
name: 'United Arab Emirates',
code: 'AE',
timezone: 'Arabian Standard Time',
utc: 'UTC+04:00',
mobileCode: '+971',
pattern: /^(+971)?5\d{8}$/, // 9-digit mobile numbers starting with 5
example: '+971501234567'
},
{
name: 'United Kingdom',
code: 'GB',
timezone: 'GMT Standard Time',
utc: 'UTC',
mobileCode: '+44',
pattern: /^(+44)?7\d{9}$/, // 10-digit mobile numbers starting with 7
example: '+447912345678'
},
{
name: 'United States',
code: 'US',
timezone: 'Pacific Standard Time',
utc: 'UTC-08:00',
mobileCode: '+1',
pattern: /^(+1)?[2-9]\d{9}$/, // 10-digit numbers (NANP format)
example: '+12025551234'
},
{
name: 'Uruguay',
code: 'UY',
timezone: 'Montevideo Standard Time',
utc: 'UTC-03:00',
mobileCode: '+598',
pattern: /^(+598)?9\d{7}$/, // 8-digit mobile numbers starting with 9
example: '+59891234567'
},
{
name: 'Uzbekistan',
code: 'UZ',
timezone: 'West Asia Standard Time',
utc: 'UTC+05:00',
mobileCode: '+998',
pattern: /^(+998)?[679]\d{8}$/, // 9-digit mobile numbers starting with 6,7, or 9
example: '+998912345678'
},
{
name: 'Vanuatu',
code: 'VU',
timezone: 'Central Pacific Standard Time',
utc: 'UTC+11:00',
mobileCode: '+678',
pattern: /^(+678)?[5-9]\d{4}$/, // 5-digit numbers starting with 5-9
example: '+67871234'
},
{
name: 'Vatican City',
code: 'VA',
timezone: 'W. Europe Standard Time',
utc: 'UTC+01:00',
mobileCode: '+379',
pattern: /^(+379)?6\d{7}$/, // 8-digit mobile numbers starting with 6 (Italian format)
example: '+3796123456'
},
{
name: 'Vietnam',
code: 'VN',
timezone: 'SE Asia Standard Time',
utc: 'UTC+07:00',
mobileCode: '+84',
pattern: /^(+84)?[3-9]\d{8}$/, // 9-digit numbers starting with 3-9
example: '+84981234567'
},
{
name: 'Virgin Islands, U.S.',
code: 'VI',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-340',
pattern: /^(+1-340)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-3407123456'
},
{
name: 'Virgin Islands, British',
code: 'VG',
timezone: 'SA Western Standard Time',
utc: 'UTC-04:00',
mobileCode: '+1-284',
pattern: /^(+1-284)?[2-9]\d{6}$/, // 7-digit numbers (NANP format)
example: '+1-2843123456'
},
// Add more countries with their patterns as needed
{
name: 'Wallis and Futuna',
code: 'WF',
timezone: 'UTC+12',
utc: 'UTC+12:00',
mobileCode: '+681',
pattern: /^(+681)?[2-9]\d{5}$/, // 6-digit numbers (French territory format)
example: '+681501234'
},
{
name: 'Yemen',
code: 'YE',
timezone: 'Arab Standard Time',
utc: 'UTC+03:00',
mobileCode: '+967',
pattern: /^(+967)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+967712345678'
},
{
name: 'Zambia',
code: 'ZM',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+260',
pattern: /^(+260)?(9|7)\d{8}$/, // 9-digit mobile numbers starting with 9 or 7
example: '+260961234567'
},
{
name: 'Zimbabwe',
code: 'ZW',
timezone: 'South Africa Standard Time',
utc: 'UTC+02:00',
mobileCode: '+263',
pattern: /^(+263)?7\d{8}$/, // 9-digit mobile numbers starting with 7
example: '+263712345678'
}
];