Premium Member Database last update: Tuesday, December 18, 2018 14:03:20 GMT-0700

ISO-3166 Country Codes

These country codes also include a special Country IP Blocks code for bogons: XA. You are free to use all ISO-3166 codes, but not our code for bogon networks. You must create a distinct code if you plan on referring to bogon related data. We use XA as our bogon code. It is distinct to Country IP Blocks. So if you ever see it used with data on another website, as a country or ISO code, it was taken from us and used without permission. It probably means their ACLs were also derived from our data.

('AF', 'AFGHANISTAN'),
('AL', 'ALBANIA'),
('DZ', 'ALGERIA'),
('AS', 'AMERICAN SAMOA'),
('AD', 'ANDORRA'),
('AO', 'ANGOLA'),
('AI', 'ANGUILLA'),
('AG', 'ANTIGUA AND BARBUDA'),
('AR', 'ARGENTINA'),
('AM', 'ARMENIA'),
('AW', 'ARUBA'),
('AU', 'AUSTRALIA'),
('AT', 'AUSTRIA'),
('AZ', 'AZERBAIJAN'),
('BS', 'BAHAMAS'),
('BH', 'BAHRAIN'),
('BD', 'BANGLADESH'),
('BB', 'BARBADOS'),
('BY', 'BELARUS'),
('BE', 'BELGIUM'),
('BZ', 'BELIZE'),
('BJ', 'BENIN'),
('BM', 'BERMUDA'),
('BT', 'BHUTAN'),
('BO', 'BOLIVIA'),
('BA', 'BOSNIA AND HERZEGOVINA'),
('BW', 'BOTSWANA'),
('BR', 'BRAZIL'),
('IO', 'BRITISH INDIAN OCEAN TERRITORY'),
('BN', 'BRUNEI DARUSSALAM'),
('BG', 'BULGARIA'),
('BF', 'BURKINA FASO'),
('BI', 'BURUNDI'),
('KH', 'CAMBODIA'),
('CM', 'CAMEROON'),
('CA', 'CANADA'),
('KY', 'CAYMAN ISLANDS'),
('CF', 'CENTRAL AFRICAN REPUBLIC'),
('CL', 'CHILE'),
('CN', 'CHINA'),
('CO', 'COLOMBIA'),
('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE'),
('CK', 'COOK ISLANDS'),
('CR', 'COSTA RICA'),
('HR', 'CROATIA'),
('CU', 'CUBA'),
('CY', 'CYPRUS'),
('CZ', 'CZECH REPUBLIC'),
('DK', 'DENMARK'),
('DJ', 'DJIBOUTI'),
('DO', 'DOMINICAN REPUBLIC'),
('EC', 'ECUADOR'),
('EG', 'EGYPT'),
('SV', 'EL SALVADOR'),
('ER', 'ERITREA'),
('EE', 'ESTONIA'),
('ET', 'ETHIOPIA'),
('FO', 'FAROE ISLANDS'),
('FJ', 'FIJI'),
('FI', 'FINLAND'),
('FR', 'FRANCE'),
('GF', 'FRENCH GUIANA'),
('PF', 'FRENCH POLYNESIA'),
('GA', 'GABON'),
('GM', 'GAMBIA'),
('GE', 'GEORGIA'),
('DE', 'GERMANY'),
('GH', 'GHANA'),
('GI', 'GIBRALTAR'),
('GR', 'GREECE'),
('GL', 'GREENLAND'),
('GD', 'GRENADA'),
('GU', 'GUAM'),
('GT', 'GUATEMALA'),
('GW', 'GUINEA-BISSAU'),
('GY', 'GUYANA'),
('HT', 'HAITI'),
('VA', 'HOLY SEE'),
('HN', 'HONDURAS'),
('HK', 'HONG KONG'),
('HU', 'HUNGARY'),
('IS', 'ICELAND'),
('IN', 'INDIA'),
('ID', 'INDONESIA'),
('IR', 'IRAN, ISLAMIC REPUBLIC OF'),
('IQ', 'IRAQ'),
('IE', 'IRELAND'),
('IL', 'ISRAEL'),
('IT', 'ITALY'),
('JM', 'JAMAICA'),
('JP', 'JAPAN'),
('JO', 'JORDAN'),
('KZ', 'KAZAKHSTAN'),
('KE', 'KENYA'),
('KI', 'KIRIBATI'),
('KR', 'KOREA, REPUBLIC OF'),
('KW', 'KUWAIT'),
('KG', 'KYRGYZSTAN'),
('LV', 'LATVIA'),
('LB', 'LEBANON'),
('LS', 'LESOTHO'),
('LR', 'LIBERIA'),
('LY', 'LIBYAN ARAB JAMAHIRIYA'),
('LI', 'LIECHTENSTEIN'),
('LT', 'LITHUANIA'),
('LU', 'LUXEMBOURG'),
('MO', 'MACAO'),
('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'),
('MG', 'MADAGASCAR'),
('MW', 'MALAWI'),
('MY', 'MALAYSIA'),
('MV', 'MALDIVES'),
('ML', 'MALI'),
('MT', 'MALTA'),
('MR', 'MAURITANIA'),
('MU', 'MAURITIUS'),
('MX', 'MEXICO'),
('FM', 'MICRONESIA, FEDERATED STATES OF'),
('MD', 'MOLDOVA, REPUBLIC OF'),
('MC', 'MONACO'),
('MN', 'MONGOLIA'),
('MA', 'MOROCCO'),
('MZ', 'MOZAMBIQUE'),
('MM', 'MYANMAR'),
('NA', 'NAMIBIA'),
('NR', 'NAURU'),
('NP', 'NEPAL'),
('NL', 'NETHERLANDS'),
('AN', 'NETHERLANDS ANTILLES'),
('NC', 'NEW CALEDONIA'),
('NZ', 'NEW ZEALAND'),
('NI', 'NICARAGUA'),
('NE', 'NIGER'),
('NG', 'NIGERIA'),
('NU', 'NIUE'),
('NF', 'NORFOLK ISLAND'),
('MP', 'NORTHERN MARIANA ISLANDS'),
('NO', 'NORWAY'),
('OM', 'OMAN'),
('PK', 'PAKISTAN'),
('PW', 'PALAU'),
('PS', 'PALESTINIAN TERRITORY'),
('PA', 'PANAMA'),
('PG', 'PAPUA NEW GUINEA'),
('PY', 'PARAGUAY'),
('PE', 'PERU'),
('PH', 'PHILIPPINES'),
('PL', 'POLAND'),
('PT', 'PORTUGAL'),
('PR', 'PUERTO RICO'),
('QA', 'QATAR'),
('RO', 'ROMANIA'),
('RU', 'RUSSIAN FEDERATION'),
('RW', 'RWANDA'),
('KN', 'SAINT KITTS AND NEVIS'),
('LC', 'SAINT LUCIA'),
('WS', 'SAMOA'),
('SM', 'SAN MARINO'),
('SA', 'SAUDI ARABIA'),
('SN', 'SENEGAL'),
('SC', 'SEYCHELLES'),
('SL', 'SIERRA LEONE'),
('SG', 'SINGAPORE'),
('SK', 'SLOVAKIA'),
('SI', 'SLOVENIA'),
('SB', 'SOLOMON ISLANDS'),
('ZA', 'SOUTH AFRICA'),
('ES', 'SPAIN'),
('LK', 'SRI LANKA'),
('SD', 'SUDAN'),
('SR', 'SURINAME'),
('SZ', 'SWAZILAND'),
('SE', 'SWEDEN'),
('CH', 'SWITZERLAND'),
('SY', 'SYRIAN ARAB REPUBLIC'),
('TW', 'TAIWAN, PROVINCE OF CHINA'),
('TJ', 'TAJIKISTAN'),
('TZ', 'TANZANIA, UNITED REPUBLIC OF'),
('TH', 'THAILAND'),
('TG', 'TOGO'),
('TO', 'TONGA'),
('TT', 'TRINIDAD AND TOBAGO'),
('TN', 'TUNISIA'),
('TR', 'TURKEY'),
('TM', 'TURKMENISTAN'),
('TV', 'TUVALU'),
('UG', 'UGANDA'),
('UA', 'UKRAINE'),
('AE', 'UNITED ARAB EMIRATES'),
('GB', 'UNITED KINGDOM'),
('US', 'UNITED STATES'),
('UY', 'URUGUAY'),
('UZ', 'UZBEKISTAN'),
('VU', 'VANUATU'),
('VE', 'VENEZUELA'),
('VN', 'VIET NAM'),
('VG', 'VIRGIN ISLANDS, BRITISH'),
('VI', 'VIRGIN ISLANDS, U.S.'),
('YE', 'YEMEN'),
('ZM', 'ZAMBIA'),
('ZW', 'ZIMBABWE'),
('LA', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC'),
('CI', 'COTE D''IVOIRE'),
('AQ', 'ANTARCTICA'),
('AX', 'ALAND ISLANDS'),
('BV', 'BOUVET ISLAND'),
('CV', 'CAPE VERDE'),
('CX', 'CHRISTMAS ISLAND'),
('CC', 'COCOS (KEELING) ISLANDS'),
('KM', 'COMOROS'),
('FK', 'FALKLAND ISLANDS (MALVINAS)'),
('TF', 'FRENCH SOUTHERN TERRITORIES'),
('GP', 'GUADELOUPE'),
('GG', 'GUERNSEY'),
('GN', 'GUINEA'),
('HM', 'HEARD AND MC DONALD ISLANDS'),
('IM', 'ISLE OF MAN'),
('JE', 'JERSEY'),
('KP', 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF'),
('MH', 'MARSHALL ISLANDS'),
('MQ', 'MARTINIQUE'),
('YT', 'MAYOTTE'),
('ME', 'MONTENEGRO'),
('MS', 'MONTSERRAT'),
('PN', 'PITCAIRN'),
('RE', 'REUNION'),
('VC', 'SAINT VINCENT AND THE GRENADINES'),
('ST', 'SAO TOME AND PRINCIPE'),
('RS', 'SERBIA'),
('SO', 'SOMALIA'),
('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'),
('SH', 'SAINT HELENA'),
('TL', 'TIMOR-LESTE'),
('TK', 'TOKELAU'),
('TC', 'TURKS AND CAICOS ISLANDS'),
('UM', 'UNITED STATES MINOR OUTLYING ISLANDS'),
('WF', 'WALLIS AND FUTUNA ISLANDS'),
('EH', 'WESTERN SAHARA'),
('CS', 'KOSOVO'),
('AP', 'ASIA PACIFIC'),
('CG', 'CONGO - BRAZZAVILLE'),
('EU', 'EUROPEAN UNION'),
('GQ', 'EQUATORIAL GUINEA'),
('XA', 'BOGONS'),
('TD', 'CHAD'),
('DM', 'DOMINICA'),
('PM', 'SAINT PIERRE AND MIQUELON'),
('SJ', 'SVALBARD & JAN MAYEN ISLANDS'),
('BQ', 'BONAIRE, SAINT EUSTATIUS AND SABA'),
('CW', 'CURACAO'),
('BL', 'SAINT BARTHELEMY'),
('MF', 'SAINT MARTIN'),
('SX', 'SINT MAARTEN');