IP to ASN Lookup |
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 ASN | IP WHOIS | |
|---|---|---|
| Answers | Which network routes this address | Who holds the registration, and the abuse contact |
| Source | Routing data, here the GeoLite2 ASN database | The regional internet registry (RDAP) |
| Speed | Instant, works for 500 IPs at once | One live query per IP |
| Best for | Grouping and classifying many IPs | Reporting 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
| Item | Detail |
|---|---|
| ASN data | MaxMind GeoLite2 ASN, version of 22 November 2026. Ranges that changed network after that date show the earlier owner. |
| Country | MaxMind GeoLite2 City (where the IP is located, not where the network is registered). |
| Network type hint | Tor: the Tor Project's exit list, refreshed hourly. Hosting / VPN: our list of hosting, cloud and VPN-provider ASNs. A hint, not proof. |
| Address block | The block of the database record containing the IP; the routed BGP prefix can be larger. |
| Limits | Up to 500 different public IPs per list; IPv4 and IPv6; private and reserved addresses are left out. |
| Stored | Nothing: lookups run on our server against the local database, and nothing is sent to a third party. |
| Last verified | 10 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?
Can I look up many IPs at once?
What is the difference between IP to ASN and IP WHOIS?
Why does an IP show a different company than expected?
How accurate is IP to ASN data?
Can I find all IP ranges of an ASN?
Next steps