ProxySpace

Updated daily from the five RIRs

IP ranges by country

264,399 IPv4 blocks covering 3.7B addresses, sorted into 239 countries and territories. Every list is a plain text file you can download or load into a firewall.

Cloud and network providers

From each provider’s official list, fetched daily.

Countries

Registry
United StatesARIN1.6B70,61210,931
ChinaAPNIC343M8,8162,066
JapanAPNIC188.7M4,808788
United KingdomRIPE NCC139M9,3092,033
GermanyRIPE NCC126.4M11,0733,126
South KoreaAPNIC112.5M2,431183
FranceRIPE NCC81.6M4,7771,415
BrazilLACNIC78.9M13,1078,976
CanadaARIN67.5M9,3411,154
ItalyRIPE NCC54.1M3,7971,070
NetherlandsRIPE NCC47.9M6,3741,943
AustraliaAPNIC46M9,9671,740
RussiaRIPE NCC45.3M11,5102,179
IndiaAPNIC42M9,3542,953
TaiwanAPNIC35.7M1,084325
SpainRIPE NCC31.9M3,803885
SwedenRIPE NCC31.4M2,195861
MexicoLACNIC29M1,401621
SingaporeAPNIC29M1,910529
South AfricaAFRINIC27.2M2,218550
EgyptAFRINIC24.2M18721
SwitzerlandRIPE NCC23.3M3,074878
PolandRIPE NCC20.1M4,341986
ArgentinaLACNIC19.4M1,9341,169
IndonesiaAPNIC18.4M6,3652,863
ColombiaLACNIC17.5M651767
TürkiyeRIPE NCC16.8M2,054672
VietnamAPNIC16.5M1,667972
Hong Kong SAR ChinaAPNIC16.2M3,438952
NorwayRIPE NCC15.5M1,366457
FinlandRIPE NCC13.9M1,143311
BelgiumRIPE NCC12.3M990329
MoroccoAFRINIC12.3M7828
DenmarkRIPE NCC12M1,581412
Saudi ArabiaRIPE NCC11.2M632126
AustriaRIPE NCC11.2M2,138601
IranRIPE NCC10.8M1,975579
IrelandRIPE NCC10M762214
ChileLACNIC9.6M818337
CzechiaRIPE NCC9.6M1,801679
UkraineRIPE NCC9.1M2,923629
SeychellesRIPE NCC9M895728
ThailandAPNIC8.9M1,201243
IsraelRIPE NCC8.1M1,062162
TunisiaAFRINIC7.9M4512
RomaniaRIPE NCC7.9M2,864270
United Arab EmiratesRIPE NCC7.3M1,311597
MalaysiaAPNIC6.7M914343
VenezuelaLACNIC6.7M260245
PortugalRIPE NCC6.7M449120
New ZealandAPNIC6.5M1,464440
PhilippinesAPNIC6.3M924402
KenyaAFRINIC6.3M408184
HungaryRIPE NCC5.9M920172
GreeceRIPE NCC5.7M476107
PakistanAPNIC5.6M833357
AlgeriaAFRINIC4.8M369
BulgariaRIPE NCC4.3M1,841265
LithuaniaRIPE NCC4.2M1,448377
MauritiusAFRINIC3.9M12238
KazakhstanRIPE NCC3.4M69798
PeruLACNIC3.3M270231
NigeriaAFRINIC3.2M414137
EcuadorLACNIC2.7M438285
SloveniaRIPE NCC2.7M549149
SlovakiaRIPE NCC2.7M450151
UruguayLACNIC2.5M9345
CroatiaRIPE NCC2.4M29076
Costa RicaLACNIC2.3M185111
SerbiaRIPE NCC2.3M43989
GhanaAFRINIC2.2M15658
PanamaLACNIC2.2M18686
BangladeshAPNIC2.1M2,3621,702
KuwaitRIPE NCC1.9M13935
SudanAFRINIC1.9M3511
LuxembourgRIPE NCC1.8M556108
LatviaRIPE NCC1.8M45993
BelarusRIPE NCC1.8M11032
Côte d’IvoireAFRINIC1.7M24921
Dominican RepublicLACNIC1.6M167220
ZambiaAFRINIC1.6M4215
UgandaAFRINIC1.4M11239
EstoniaRIPE NCC1.4M505165
CyprusRIPE NCC1.3M565386
GeorgiaRIPE NCC1.3M33882
AngolaAFRINIC1.3M15943
SyriaRIPE NCC1.3M20837
MoldovaRIPE NCC1.3M426216
BoliviaLACNIC1.2M12259
ParaguayLACNIC1.2M152110
British Virgin IslandsRIPE NCC1.1M20348
TanzaniaAFRINIC1.1M20385
OmanRIPE NCC951.9K7824
IcelandRIPE NCC921.1K17672
Puerto RicoARIN878.8K30474
Palestinian TerritoriesRIPE NCC873.7K25046
QatarRIPE NCC856.2K5323
Bosnia & HerzegovinaRIPE NCC795.1K17339
AzerbaijanRIPE NCC773.4K22774
North MacedoniaRIPE NCC685.6K14742
MaltaRIPE NCC675.2K12226
ArmeniaRIPE NCC672.3K21156
El SalvadorLACNIC664.8K8446
GuatemalaLACNIC654.8K15483
JordanRIPE NCC648.2K12940
CameroonAFRINIC600.1K6024
NepalAPNIC585.7K284167
MadagascarAFRINIC579.8K279
LebanonRIPE NCC569.5K255110
Sri LankaAPNIC564K8326
MalawiAFRINIC556.5K5133
Trinidad & TobagoLACNIC543.7K6216
HondurasLACNIC537.1K193119
AlbaniaRIPE NCC505.4K243101
LibyaAFRINIC463.1K7418
IraqRIPE NCC452.9K344118
MozambiqueAFRINIC450.6K6019
CambodiaAPNIC440.8K28392
BahrainRIPE NCC415K6115
NicaraguaLACNIC411.1K5324
RéunionAFRINIC409.9K256
NamibiaAFRINIC409.3K3810
SenegalAFRINIC407.3K4114
GabonAFRINIC393.7K259
EthiopiaAFRINIC371.2K187
TogoAFRINIC354.8K179
Macao SAR ChinaAPNIC339.7K3911
Burkina FasoAFRINIC339.2K5329
UzbekistanRIPE NCC336.4K22649
KyrgyzstanRIPE NCC293.9K12931
RwandaAFRINIC282.4K3222
GambiaAFRINIC274.9K2410
European UnionRIPE NCC267.5K100
CubaLACNIC257K216
Antigua & BarbudaRIPE NCC250.4K479
Myanmar (Burma)APNIC247.3K237132
YemenRIPE NCC233.5K306
JamaicaARIN225.3K5410
GuamAPNIC218.6K2911
BruneiAPNIC216.6K3811
CuraçaoLACNIC197.6K5121
MontenegroRIPE NCC192K4120
MongoliaAPNIC181.2K13956
AfghanistanAPNIC178.2K13334
Congo - KinshasaAFRINIC176.6K8224
BarbadosARIN168.7K304
BotswanaAFRINIC167.2K5823
New CaledoniaAPNIC161.5K4614
JerseyRIPE NCC156.4K4911
HaitiLACNIC154.9K2510
BeninAFRINIC151.3K3917
FijiAPNIC144.6K4118
Congo - BrazzavilleAFRINIC142.8K2213
BahamasARIN138.2K266
BelizeLACNIC134.7K6327
Isle of ManRIPE NCC134.7K7417
MartiniqueRIPE NCC134.7K226
GibraltarRIPE NCC131.6K7513
U.S. Virgin IslandsARIN130.3K246
GuadeloupeARIN124.9K165
LesothoAFRINIC121.3K208
ArubaLACNIC111.9K133
BermudaARIN108.8K4711
LiechtensteinRIPE NCC104.4K6229
LaosAPNIC98.9K6228
ZimbabweAFRINIC97.3K4220
MaldivesAPNIC94K4615
MaliAFRINIC92.9K289
Cayman IslandsARIN91.1K375
TajikistanRIPE NCC86.3K7225
Sierra LeoneAFRINIC85.8K3010
GuernseyRIPE NCC84K609
SurinameLACNIC82.7K155
French PolynesiaAPNIC75.5K197
GuyanaLACNIC68.9K148
Papua New GuineaAPNIC67.8K6526
MonacoRIPE NCC65.8K286
AndorraRIPE NCC63K292
EswatiniAFRINIC55K2610
SomaliaAFRINIC52K3015
MauritaniaAFRINIC51.7K196
BhutanAPNIC51.5K6029
NigerAFRINIC48.1K158
DjiboutiAFRINIC47.4K84
Faroe IslandsRIPE NCC45.1K144
San MarinoRIPE NCC43K2614
LiberiaAFRINIC40.2K208
Cape VerdeAFRINIC38.1K237
GuineaAFRINIC37.1K2312
BurundiAFRINIC36.9K137
GreenlandRIPE NCC34.3K253
Sint MaartenLACNIC34.3K137
Marshall IslandsRIPE NCC31K84
Timor-LesteAPNIC28.4K3815
South SudanAFRINIC26.9K3111
Caribbean NetherlandsLACNIC25.9K136
ChadAFRINIC25.9K206
St. Kitts & NevisARIN24.1K235
French GuianaLACNIC22.5K66
TurkmenistanRIPE NCC22.3K113
St. LuciaARIN22K214
SamoaAPNIC20K168
Equatorial GuineaAFRINIC17.9K113
VanuatuAPNIC17K2212
Northern Mariana IslandsAPNIC16.1K81
Solomon IslandsAPNIC14.3K128
São Tomé & PríncipeAFRINIC12.3K51
TongaAPNIC11.5K115
GrenadaARIN11.3K1510
Vatican CityRIPE NCC10.8K43
DominicaARIN10.5K136
Turks & Caicos IslandsARIN10.5K71
St. Vincent & GrenadinesARIN10.5K123
NauruAPNIC10.2K72
AnguillaARIN9.7K93
Cook IslandsAPNIC8.7K22
MicronesiaAPNIC8.7K52
ComorosAFRINIC8.4K62
TuvaluAPNIC8.2K22
Falkland IslandsRIPE NCC7.2K110
Central African RepublicAFRINIC6.7K60
Guinea-BissauAFRINIC6.7K42
PalauAPNIC6.1K43
American SamoaAPNIC5.1K22
Åland IslandsRIPE NCC4.9K32
St. Pierre & MiquelonARIN4.6K21
KiribatiAPNIC4.4K64
EritreaAFRINIC4.1K10
St. MartinARIN3.6K74
Wallis & FutunaAPNIC3.6K31
British Indian Ocean TerritoryAPNIC3.1K21
TokelauRIPE NCC3.1K55
NiueAPNIC2K22
MontserratARIN1.3K20
AntarcticaARIN1K31
North KoreaAPNIC1K10
MayotteAFRINIC1K10
St. BarthélemyARIN76833
Norfolk IslandAPNIC76821

Where the data comes from

The world’s IP addresses are handed out by five regional internet registries. Each publishes a daily delegation file listing every block it has allocated or assigned, with the country of the holder and the date. ProxySpace downloads all five every night and turns them into one list per country:

Download format

/Ranges/CC.txt holds the IPv4 blocks of a country in CIDR notation, one per line; /Ranges/CC_IPv6.txt holds its IPv6 prefixes. CC is the two-letter ISO code in capitals, for example /Ranges/NL.txt.

What “country” means here

It is the country registered for the organisation that holds the block, not necessarily where each address is used. Large networks route addresses abroad, and cloud providers register blocks in one country and use them worldwide. For the location of a single address use the IP lookup; for cloud networks see the provider pages such as AWS.