GeoIP lists

One text file per country, grouped by continent, with every IP block registered there: one block per line in CIDR notation. The lists are rebuilt every day from the regional internet registries (RIRs).

Loading… Download everything (.zip)

How to use

Download a list from the command line, or point your firewall at the URL and refresh it on a schedule:

curl -O lists/South_America/Brazil.txt

IP lookup

Type an IPv4 or IPv6 address in the search box. The country comes from these lists and is looked up in your browser. The server then adds the approximate location (city, region, coordinates), the network (ASN and organization) and the registration record from RDAP, the modern replacement for WHOIS: block name, address range, dates, organization and abuse contact.

City and coordinates come from a free database and are only approximate: they usually point to the middle of a city, not to a street, and are often wrong for mobile networks, VPNs and hosting providers. The organization is the owner of the network (the ASN), which is not always the internet provider the user pays. Contacts of private individuals in RDAP records are never shown.

About accuracy

The data shows the country where each block was registered, not where the equipment is physically located. Multinational providers, CDNs and VPNs can use blocks registered in one country and operate in another. The percentage next to each country is its share of all allocated IPv4 addresses.

Sources

Country lists: ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC, from their delegated-extended statistics files. Location and network details: IP Geolocation by DB-IP (Lite databases, CC BY 4.0). Registration details: RDAP servers of the regional registries, queried live.