ProxySpace

Updated daily from the five RIRs

IP ranges by country

264,209 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,61410,916
ChinaAPNIC343M8,8172,065
JapanAPNIC188.7M4,806788
United KingdomRIPE NCC138.8M9,2822,032
GermanyRIPE NCC126.4M11,0683,125
South KoreaAPNIC112.5M2,431183
FranceRIPE NCC81.6M4,7691,415
BrazilLACNIC79.3M13,1018,971
CanadaARIN67.5M9,3391,149
ItalyRIPE NCC54.1M3,7891,069
NetherlandsRIPE NCC48M6,3711,940
AustraliaAPNIC46M9,9651,740
RussiaRIPE NCC45.3M11,4992,184
IndiaAPNIC42M9,3452,947
TaiwanAPNIC35.7M1,084325
SpainRIPE NCC31.9M3,803888
SwedenRIPE NCC31.4M2,194860
MexicoLACNIC29M1,399619
SingaporeAPNIC29M1,906525
South AfricaAFRINIC27.2M2,224552
EgyptAFRINIC24.2M18721
SwitzerlandRIPE NCC23.3M3,073877
PolandRIPE NCC20M4,335988
ArgentinaLACNIC19.4M1,9331,168
IndonesiaAPNIC18.3M6,3332,850
ColombiaLACNIC17.5M650765
TürkiyeRIPE NCC16.8M2,052671
VietnamAPNIC16.5M1,666972
Hong Kong SAR ChinaAPNIC16M3,439950
NorwayRIPE NCC15.5M1,361457
FinlandRIPE NCC13.9M1,145311
BelgiumRIPE NCC12.3M989326
MoroccoAFRINIC12.3M7828
DenmarkRIPE NCC12M1,578411
Saudi ArabiaRIPE NCC11.2M632126
AustriaRIPE NCC11.2M2,135600
IranRIPE NCC10.8M1,972579
IrelandRIPE NCC10M761213
ChileLACNIC9.6M824337
CzechiaRIPE NCC9.6M1,800678
UkraineRIPE NCC9.1M2,923628
SeychellesRIPE NCC9M892728
ThailandAPNIC8.9M1,199241
IsraelRIPE NCC8.1M1,060162
TunisiaAFRINIC7.9M4512
RomaniaRIPE NCC7.9M2,863270
United Arab EmiratesRIPE NCC7.3M1,308597
MalaysiaAPNIC6.7M914343
VenezuelaLACNIC6.7M260244
PortugalRIPE NCC6.7M449121
New ZealandAPNIC6.5M1,463438
PhilippinesAPNIC6.3M919397
KenyaAFRINIC6.3M407183
HungaryRIPE NCC5.9M920172
GreeceRIPE NCC5.7M476107
PakistanAPNIC5.6M825355
AlgeriaAFRINIC4.8M379
BulgariaRIPE NCC4.3M1,841266
LithuaniaRIPE NCC4.2M1,444377
MauritiusAFRINIC3.9M12238
KazakhstanRIPE NCC3.4M69698
PeruLACNIC3.3M270229
NigeriaAFRINIC3.2M418138
EcuadorLACNIC2.7M438284
SloveniaRIPE NCC2.7M549149
SlovakiaRIPE NCC2.7M450151
UruguayLACNIC2.5M9245
CroatiaRIPE NCC2.4M29076
Costa RicaLACNIC2.3M185111
SerbiaRIPE NCC2.3M43989
GhanaAFRINIC2.2M15658
PanamaLACNIC2.2M18686
BangladeshAPNIC2.1M2,3541,698
KuwaitRIPE NCC1.9M14035
SudanAFRINIC1.9M3511
LuxembourgRIPE NCC1.8M556108
LatviaRIPE NCC1.8M45993
BelarusRIPE NCC1.8M11032
Côte d’IvoireAFRINIC1.7M24820
Dominican RepublicLACNIC1.6M167218
ZambiaAFRINIC1.6M4215
UgandaAFRINIC1.4M11239
EstoniaRIPE NCC1.3M494165
CyprusRIPE NCC1.3M565386
GeorgiaRIPE NCC1.3M33682
AngolaAFRINIC1.3M15943
SyriaRIPE NCC1.3M20835
MoldovaRIPE NCC1.3M425216
BoliviaLACNIC1.2M12259
ParaguayLACNIC1.2M152110
TanzaniaAFRINIC1.1M20385
OmanRIPE NCC951.9K7825
IcelandRIPE NCC921.1K17672
British Virgin IslandsRIPE NCC910.8K20048
Puerto RicoARIN875.3K30173
Palestinian TerritoriesRIPE NCC873.7K25046
QatarRIPE NCC856.2K5322
Bosnia & HerzegovinaRIPE NCC795.1K17339
AzerbaijanRIPE NCC773.4K22774
North MacedoniaRIPE NCC685.6K14742
MaltaRIPE NCC675.2K12226
El SalvadorLACNIC663.8K8346
ArmeniaRIPE NCC662.3K21056
GuatemalaLACNIC654.8K15483
JordanRIPE NCC648.2K12940
CameroonAFRINIC600.1K6024
NepalAPNIC585.7K284167
MadagascarAFRINIC579.8K279
LebanonRIPE NCC569.2K254111
Sri LankaAPNIC564K8326
MalawiAFRINIC556.5K5133
Trinidad & TobagoLACNIC543.7K6216
HondurasLACNIC537.1K193119
AlbaniaRIPE NCC505.9K244101
LibyaAFRINIC463.1K7418
IraqRIPE NCC452.9K344118
MozambiqueAFRINIC450.6K6019
CambodiaAPNIC440.8K28392
BahrainRIPE NCC415K6115
NicaraguaLACNIC411.1K5324
NamibiaAFRINIC410.4K3910
RéunionAFRINIC409.9K256
SenegalAFRINIC408.3K4215
GabonAFRINIC393.7K259
EthiopiaAFRINIC370.2K177
TogoAFRINIC354.8K179
Macao SAR ChinaAPNIC339.7K3911
Burkina FasoAFRINIC339.2K5329
UzbekistanRIPE NCC336.1K22549
KyrgyzstanRIPE NCC293.9K12931
RwandaAFRINIC282.4K3222
GambiaAFRINIC276K2510
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.9K8324
BarbadosARIN168.7K304
BotswanaAFRINIC166.4K5822
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.7K6329
LaosAPNIC98.9K6228
ZimbabweAFRINIC97.3K4220
MaldivesAPNIC94K4615
MaliAFRINIC92.9K289
Cayman IslandsARIN91.1K375
TajikistanRIPE NCC85.8K7025
Sierra LeoneAFRINIC85.8K3010
GuernseyRIPE NCC84K609
SurinameLACNIC82.7K155
French PolynesiaAPNIC75.5K197
GuyanaLACNIC68.9K148
Papua New GuineaAPNIC67.8K6526
MonacoRIPE NCC65.8K286
AndorraRIPE NCC63K292
EswatiniAFRINIC55K269
SomaliaAFRINIC52K3015
MauritaniaAFRINIC51.7K196
BhutanAPNIC51.5K6029
NigerAFRINIC48.1K158
DjiboutiAFRINIC47.4K84
Faroe IslandsRIPE NCC45.1K144
San MarinoRIPE NCC41K2514
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.