IP to ASN Lookup

Find the network (ASN) behind one IP or a whole list.

Look up a list of IPs

Paste up to 500 IPs, or any text that contains them, such as a log. We find the addresses, map each one to its network and group them.

How to Find the ASN of an IP Address

IP to ASN lookup finds the autonomous system, the network, that an IP address belongs to, such as AS15169 (Google) for 8.8.8.8. Paste a list to map hundreds of IPs at once and see which networks they come from.

Enter the IP: we look it up in MaxMind's GeoLite2 ASN database and show the AS number and organisation, the address block the IP is in, its country and a hint about the type of network. An autonomous system is a network with its own routing policy, run by an ISP, a cloud, a hosting company or a large organisation; every public IP is routed by one.

Bulk IP to ASN: Map a List of IPs

Paste IPs or a log; we extract the addresses, map each to its ASN, and group them by network.

  • Abuse and attack triage: paste the failed logins from a server log and see at a glance whether they come from a few hosting networks, which you can report to their abuse contacts or block.
  • Traffic analysis: find how much of your traffic comes from data centres (bots, scrapers, VPNs) rather than home and mobile ISPs.
  • Fraud checks: sign-ups or orders from Tor exits and hosting networks deserve a second look.

Duplicates are counted, not repeated: the "Seen" column says how many times each IP appears in your text. Private and reserved addresses, such as 192.168.x.x, are left out because they're not routed on the internet. The network type is a hint: "Hosting / VPN" means the ASN is on our list of hosting and VPN-provider networks, "Tor exit" means the IP is on the Tor Project's current exit list.

IP to ASN vs IP WHOIS

ASN shows which network routes the IP; WHOIS shows who registered the block. Usually the same company, but not for reassigned or cloud-hosted ranges.

IP to ASNIP WHOIS
AnswersWhich network routes this addressWho holds the registration, and the abuse contact
SourceRouting data, here the GeoLite2 ASN databaseThe regional internet registry (RDAP)
SpeedInstant, works for 500 IPs at onceOne live query per IP
Best forGrouping and classifying many IPsReporting abuse, ownership questions

How to Do It From the Command Line

whois -h whois.cymru.com " -v 8.8.8.8" returns the ASN; Team Cymru also offers bulk and DNS lookups.

# One IP, with prefix, country and AS name
whois -h whois.cymru.com " -v 8.8.8.8"

# DNS: the IP's octets reversed (8.8.4.4 becomes 4.4.8.8)
dig +short 4.4.8.8.origin.asn.cymru.com TXT

# Bulk: a file with "begin", "verbose", one IP per line, then "end"
nc whois.cymru.com 43 < ips.txt

For IPv6 over DNS, Team Cymru uses origin6.asn.cymru.com with the address written out in reversed nibbles. The list box above does the same job without a terminal, and adds grouping and network-type hints.

How This Lookup Works

ItemDetail
ASN dataMaxMind GeoLite2 ASN, version of 22 November 2026. Ranges that changed network after that date show the earlier owner.
CountryMaxMind GeoLite2 City (where the IP is located, not where the network is registered).
Network type hintTor: the Tor Project's exit list, refreshed hourly. Hosting / VPN: our list of hosting, cloud and VPN-provider ASNs. A hint, not proof.
Address blockThe block of the database record containing the IP; the routed BGP prefix can be larger.
LimitsUp to 500 different public IPs per list; IPv4 and IPv6; private and reserved addresses are left out.
StoredNothing: lookups run on our server against the local database, and nothing is sent to a third party.
Last verified10 November 2026

This product includes GeoLite2 data created by MaxMind, available from maxmind.com.


Frequently Asked Questions

How do I find the ASN of an IP address?
Enter the IP above: you get its AS number, such as AS15169, the network's name, the address block it's in and the country. It works for IPv4 and IPv6.
Can I look up many IPs at once?
Yes, up to 500. Paste them, or any text that contains them such as a log file, in the list box. You get a table grouped by network, and you can download it as CSV.
What is the difference between IP to ASN and IP WHOIS?
IP to ASN tells you which network routes the address; IP WHOIS tells you who holds the registration of the block. They're often the same company, but cloud and reassigned ranges route through a different network.
Why does an IP show a different company than expected?
The site or service is probably hosted on a cloud or CDN, such as AWS or Cloudflare, and the address belongs to that provider's network, not to the company you expected.
How accurate is IP to ASN data?
Very accurate for most addresses: networks rarely change hands. Ranges that moved after the database was built show the old network, so the page shows the date of the copy in use.
Can I find all IP ranges of an ASN?
Yes, on our ASN lookup page, which lists the prefixes an AS announces.

Next steps

Related Tools

ASN WHOIS Lookup
The owner and details of any AS number.
IP WHOIS Lookup
Who owns an IP, and the abuse contact.
IP Blacklist Checker
Whether an IP is listed for spam or abuse.
IP Extractor
Pull every IP address out of logs or any text.