Country IP Database

List of IPv4 Addresses by Country. 209643 ranges available in 243 countries. Last update:
IPv6 is available in the "Database Dump" tab

42 address blocks in the selected country. [Clear]

From To Count CIDR
41.62.0.0 41.62.255.255 65536 16
41.224.0.0 41.231.255.255 524288 13
57.82.40.0 57.82.43.255 1024 22
57.85.32.0 57.85.47.255 4096 20
85.255.21.0 85.255.21.255 256 24
88.202.123.0 88.202.123.255 256 24
102.24.0.0 102.31.255.255 524288 13
102.104.0.0 102.111.255.255 524288 13
102.128.0.0 102.128.63.255 16384 18
102.141.204.0 102.141.207.255 1024 22
102.152.0.0 102.159.255.255 524288 13
102.164.112.0 102.164.113.255 512 23
102.168.0.0 102.175.255.255 524288 13
102.219.112.0 102.219.115.255 1024 22
102.219.164.0 102.219.167.255 1024 22
102.219.176.0 102.219.179.255 1024 22
102.220.118.0 102.220.118.255 256 24
102.221.128.0 102.221.131.255 1024 22
102.240.0.0 102.243.255.255 262144 14
154.72.224.0 154.72.239.255 4096 20
154.104.0.0 154.111.255.255 524288 13
157.167.110.0 157.167.110.255 256 24
160.156.0.0 160.159.255.255 262144 14
164.160.0.0 164.160.3.255 1024 22
165.50.0.0 165.51.255.255 131072 15
169.255.68.0 169.255.71.255 1024 22
185.19.38.0 185.19.38.255 256 24
192.68.138.0 192.68.138.255 256 24
192.170.4.0 192.170.4.255 256 24
193.95.0.0 193.95.127.255 32768 17
196.41.95.0 196.41.95.255 256 24
196.176.0.0 196.179.255.255 262144 14
196.184.0.0 196.187.255.255 262144 14
196.203.0.0 196.203.255.255 65536 16
196.216.156.0 196.216.159.255 1024 22
196.224.0.0 196.239.255.255 1048576 12
197.0.0.0 197.31.255.255 2097152 11
197.238.0.0 197.238.255.255 65536 16
197.240.0.0 197.240.255.255 65536 16
197.244.0.0 197.244.255.255 65536 16
213.150.160.0 213.150.191.255 8192 19
213.182.196.0 213.182.196.255 256 24
Number of Addresses: 7'876'352 (0.2% of global addresses)
🇦🇫 Afghanistan (153)🇦🇽 Aland Islands (17)🇦🇱 Albania (199)🇩🇿 Algeria (43)🇦🇸 American Samoa (10)🇦🇩 Andorra (27)🇦🇴 Angola (112)🇦🇮 Anguilla (17)🇦🇬 Antigua and Barbuda (60)🇦🇷 Argentina (1512)🇦🇲 Armenia (155)🇦🇼 Aruba (26)🇦🇺 Australia (6198)🇦🇹 Austria (1994)🇦🇿 Azerbaijan (158)🇧🇸 Bahamas (45)🇧🇭 Bahrain (110)🇧🇩 Bangladesh (1391)🇧🇧 Barbados (80)🇧🇾 Belarus (169)🇧🇪 Belgium (3134)🇧🇿 Belize (83)🇧🇯 Benin (34)🇧🇲 Bermuda (52)🇧🇹 Bhutan (30)🇧🇴 Bolivia (Plurinational State of) (113)🇧🇶 Bonaire, Sint Eustatius and Saba (12)🇧🇦 Bosnia and Herzegovina (177)🇧🇼 Botswana (61)🇧🇻 Bouvet Island (2)🇧🇷 Brazil (3231)🇮🇴 British Indian Ocean Territory (4)🇧🇳 Brunei Darussalam (41)🇧🇬 Bulgaria (1083)🇧🇫 Burkina Faso (47)🇧🇮 Burundi (18)🇨🇻 Cabo Verde (12)🇰🇭 Cambodia (283)🇨🇲 Cameroon (58)🇨🇦 Canada (6562)🇰🇾 Cayman Islands (41)🇨🇫 Central African Republic (12)🇹🇩 Chad (21)🇨🇱 Chile (747)🇨🇳 China (4223)🇨🇴 Colombia (687)🇰🇲 Comoros (7)🇨🇬 Congo (36)🇨🇩 Congo (Democratic Republic of the) (98)🇨🇰 Cook Islands (2)🇨🇷 Costa Rica (234)🇨🇮 Cote D'ivoire (208)🇭🇷 Croatia (346)🇨🇺 Cuba (17)🇨🇼 Curacao (53)🇨🇾 Cyprus (261)🇨🇿 Czechia (1607)🇩🇰 Denmark (1537)🇩🇯 Djibouti (21)🇩🇲 Dominica (46)🇩🇴 Dominican Republic (144)🇪🇨 Ecuador (334)🇪🇬 Egypt (218)🇸🇻 El Salvador (126)🇬🇶 Equatorial Guinea (16)🇪🇷 Eritrea (6)🇪🇪 Estonia (445)🇸🇿 Eswatini (28)🇪🇹 Ethiopia (11)🇫🇰 Falkland Islands (Malvinas) (14)🇫🇴 Faroe Islands (15)🇫🇯 Fiji (41)🇫🇮 Finland (1436)🇫🇷 France (6634)🇬🇫 French Guiana (30)🇵🇫 French Polynesia (24)🇬🇦 Gabon (34)🇬🇲 Gambia (23)🇬🇪 Georgia (235)🇩🇪 Germany (12364)🇬🇭 Ghana (159)🇬🇮 Gibraltar (61)🇬🇷 Greece (522)🇬🇱 Greenland (22)🇬🇩 Grenada (39)🇬🇵 Guadeloupe (80)🇬🇺 Guam (43)🇬🇹 Guatemala (155)🇬🇬 Guernsey (53)🇬🇳 Guinea (25)🇬🇼 Guinea-Bissau (6)🇬🇾 Guyana (16)🇭🇹 Haiti (35)🇻🇦 Holy See (7)🇭🇳 Honduras (196)🇭🇰 Hong Kong (6583)🇭🇺 Hungary (735)🇮🇸 Iceland (174)🇮🇳 India (5616)🇮🇩 Indonesia (2789)🇮🇷 Iran (Islamic Republic of) (1292)🇮🇶 Iraq (302)🇮🇪 Ireland (1527)🇮🇲 Isle of Man (81)🇮🇱 Israel (779)🇮🇹 Italy (4336)🇯🇲 Jamaica (79)🇯🇵 Japan (4729)🇯🇪 Jersey (49)🇯🇴 Jordan (150)🇰🇿 Kazakhstan (537)🇰🇪 Kenya (334)🇰🇮 Kiribati (9)🇰🇵 Korea (Democratic People's Republic of) (2)🇰🇷 Korea (Republic of) (1529)🇰🇼 Kuwait (167)🇰🇬 Kyrgyzstan (101)🇱🇦 Lao People's Democratic Republic (57)🇱🇻 Latvia (444)🇱🇧 Lebanon (262)🇱🇸 Lesotho (26)🇱🇷 Liberia (27)🇱🇾 Libya (51)🇱🇮 Liechtenstein (94)🇱🇹 Lithuania (575)🇱🇺 Luxembourg (415)🇲🇴 Macao (60)🇲🇬 Madagascar (28)🇲🇼 Malawi (46)🇲🇾 Malaysia (847)🇲🇻 Maldives (41)🇲🇱 Mali (27)🇲🇹 Malta (146)🇲🇭 Marshall Islands (8)🇲🇶 Martinique (50)🇲🇷 Mauritania (14)🇲🇺 Mauritius (522)🇾🇹 Mayotte (8)🇲🇽 Mexico (802)🇫🇲 Micronesia (Federated States of) (11)🇲🇩 Moldova (Republic of) (424)🇲🇨 Monaco (38)🇲🇳 Mongolia (111)🇲🇪 Montenegro (54)🇲🇸 Montserrat (8)🇲🇦 Morocco (75)🇲🇿 Mozambique (63)🇲🇲 Myanmar (176)🇳🇦 Namibia (55)🇳🇷 Nauru (8)🇳🇵 Nepal (215)🇳🇱 Netherlands (10400)🇳🇨 New Caledonia (43)🇳🇿 New Zealand (1153)🇳🇮 Nicaragua (81)🇳🇪 Niger (17)🇳🇬 Nigeria (389)🇳🇺 Niue (2)🇳🇫 Norfolk Island (4)🇲🇰 North Macedonia (128)🇲🇵 Northern Mariana Islands (9)🇳🇴 Norway (1414)🇴🇲 Oman (83)🇵🇰 Pakistan (601)🇵🇼 Palau (7)🇵🇸 Palestine, State of (178)🇵🇦 Panama (202)🇵🇬 Papua New Guinea (81)🇵🇾 Paraguay (149)🇵🇪 Peru (339)🇵🇭 Philippines (852)🇵🇳 Pitcairn (2)🇵🇱 Poland (4035)🇵🇹 Portugal (491)🇵🇷 Puerto Rico (332)🇶🇦 Qatar (70)🇷🇪 Reunion (42)🇷🇴 Romania (2184)🇷🇺 Russian Federation (8352)🇷🇼 Rwanda (40)🇧🇱 Saint Barthelemy (8)🇰🇳 Saint Kitts and Nevis (34)🇱🇨 Saint Lucia (41)🇲🇫 Saint Martin (French Part) (39)🇵🇲 Saint Pierre and Miquelon (4)🇻🇨 Saint Vincent and The Grenadines (30)🇼🇸 Samoa (21)🇸🇲 San Marino (24)🇸🇹 Sao Tome and Principe (7)🇸🇦 Saudi Arabia (587)🇸🇳 Senegal (31)🇷🇸 Serbia (417)🇸🇨 Seychelles (101)🇸🇱 Sierra Leone (100)🇸🇬 Singapore (5338)🇸🇽 Sint Maarten (Dutch Part) (13)🇸🇰 Slovakia (491)🇸🇮 Slovenia (512)🇸🇧 Solomon Islands (16)🇸🇴 Somalia (34)🇿🇦 South Africa (1553)🇬🇸 South Georgia and The South Sandwich Islands (1)🇸🇸 South Sudan (29)🇪🇸 Spain (4348)🇱🇰 Sri Lanka (87)🇸🇩 Sudan (36)🇸🇷 Suriname (11)🇸🇯 Svalbard and Jan Mayen (1)🇸🇪 Sweden (2983)🇨🇭 Switzerland (2870)🇸🇾 Syrian Arab Republic (193)🇹🇼 Taiwan (Province of China) (962)🇹🇯 Tajikistan (51)🇹🇿 Tanzania, United Republic of (169)🇹🇭 Thailand (822)🇹🇱 Timor-Leste (20)🇹🇬 Togo (19)🇹🇰 Tokelau (3)🇹🇴 Tonga (15)🇹🇹 Trinidad and Tobago (55)🇹🇳 Tunisia (42)🇹🇷 Turkey (1539)🇹🇲 Turkmenistan (13)🇹🇨 Turks and Caicos Islands (15)🇹🇻 Tuvalu (4)🇺🇬 Uganda (107)🇺🇦 Ukraine (3153)🇦🇪 United Arab Emirates (475)🇬🇧 United Kingdom of Great Britain and Northern Ireland (12861)🇺🇲 United States Minor Outlying Islands (1)🇺🇸 United States of America (33743)🇺🇾 Uruguay (63)🇺🇿 Uzbekistan (180)🇻🇺 Vanuatu (23)🇻🇪 Venezuela (Bolivarian Republic of) (273)🇻🇳 Viet Nam (656)🇻🇬 Virgin Islands (British) (90)🇻🇮 Virgin Islands (U.S.) (35)🇼🇫 Wallis and Futuna (3)🇾🇪 Yemen (36)🇿🇲 Zambia (72)🇿🇼 Zimbabwe (62) __ (3439)
Your IP Address Loading...
Your IP Address (as number) Loading...
Detected Location
DNS Name (if any) Loading...
IP Address Owner

You can download individual csv files or the entire database.
These downloads are huge, please be patient. The smallest file is the JSON download because it only contains the bare minimum.

If you just want to block certain IP ranges in your Windows firewall download the latest release of AnyBlock.
Due to a change in the server configuration, all versions before 2.0 (2019-Jan-01) will no longer work.

IP Version 4

Download (gz format) ASN list
Download (gz format) location list

IP Version 6

Download (gz format) ASN list
Download (gz format) location list

Database Dump

Download (7zip format) All tables as individual SQL files

JSON Dump

Download (JSON format) All countries with their version 4 ranges in CIDR notation
Download (JSON format) All countries with their version 6 ranges in CIDR notation
The version 6 exports also contain the IPv4-mapped IPv6 addresses (::FFFF:W.X.Y.Z) for the given country.

Full Lists

We do provide full lists in different formats

These lists contain more ranges than just countries.

JSON Open

This is a structured list in JSON format for easy processing in most programming languages.

P2P Open

This list is formatted in a way that most peer to peer applications want.

This site or product includes IP2Location LITE data available from ip2location