ASN Lookup

Find the autonomous system (AS) behind any IP address, or look up an AS number to see its owner, country, announced IPv4 and IPv6 prefixes and upstream providers.

  • Free
  • No sign-up
  • Works on phone and computer

Guide

An ASN lookup tells you which network operates an IP address, or, for an AS number, who holds it, which IP blocks it announces to the internet and who it connects to. Enter 8.8.8.8 and you learn it belongs to AS15169, Google; enter AS13335 and you get Cloudflare's full list of announced prefixes.

The internet is a network of networks. Each independently operated network, such as an ISP, a cloud provider, a university or a large company, is an autonomous system (AS) identified by a unique Autonomous System Number. Networks use the Border Gateway Protocol (BGP) to announce which IP prefixes they originate, and every route on the internet is a path of AS numbers. Read our full guide to ASNs.

How to use the ASN lookup

  1. Enter an AS number (AS15169, as15169 or just 15169) or a public IPv4 or IPv6 address. Click your IP to look up your own network.
  2. Press Look up ASN. If you entered an IP, the tool first finds the AS that announces it, then loads that AS's details.
  3. Scroll to the prefix lists. Click any prefix to open it in the subnet calculator, or click an upstream AS to look that network up next.

Reading the results: a worked example

Looking up 8.8.8.8 shows a card headed "AS15169 · GOOGLE - Google LLC" with an Announced badge, and these rows:

  • IP address: 8.8.8.8 → 8.8.8.0/24, the routed prefix that covers the address.
  • Holder: the organization registered for the AS number at its regional internet registry.
  • Country and Registry: where the number is registered (US) and which registry assigned it (ARIN). For global networks, the country is the registration country, not where every server is.
  • IPv4 prefixes / IPv6 prefixes: how many blocks the AS currently originates in BGP. For Google this is well over a thousand IPv4 prefixes. The address total counts each IPv4 address once, even when a /24 is also announced inside a larger block.
  • Neighbours: "upstream/peer" counts networks seen to the left of this AS in BGP paths (providers and peers); "downstream" counts networks to its right (customers).
  • Main upstreams: up to ten of the best-connected neighbours on the upstream side, such as AS6939 or AS1299 for Google.

Below the card, the IPv4 and IPv6 prefix lists show up to 200 entries each, sorted by address. Prefix counts change daily as networks add and withdraw routes, so your numbers will differ from the ones above.

Practical scenarios

Is this traffic from a real user or a data centre?

Look up the IP from your logs. A holder like a residential broadband or mobile provider points to an ordinary user; a cloud or hosting company suggests a server, VPN or bot. For the city and ISP name as well, use IP lookup.

Allowlisting or blocking a whole network

Copy the prefix lists and paste them into the CIDR to IP range converter to merge them into the shortest list for your firewall. Prefixes change, so refresh the list regularly, and remember that blocking a cloud provider's AS blocks all of its customers too.

A service is unreachable

If the badge shows Not announced or the prefix count has dropped to zero, the network has withdrawn its routes and is unreachable from the internet, a sign of an outage or a misconfiguration. If routes are fine, test the host itself with Is it down? or the ping test.

Reporting abuse from an IP

The AS tells you which network is responsible. Run a WHOIS lookup on the same IP to find the registered abuse contact for that block.

Limits and data source

  • Data comes from RIPEstat, run by the RIPE NCC, which aggregates routes seen by its global BGP route collectors. A route that only some networks see may be missing, and changes can take minutes to show.
  • We cache each RIPEstat answer for up to an hour, so a very recent change may not appear straight away.
  • If several networks announce the same prefix, the tool shows only the first origin AS.
  • Private and reserved addresses, such as 192.168.1.10, are not announced by any AS, so the tool refuses them.
  • Neighbour counts are inferred from AS paths. They do not tell you whether a link is paid transit or free peering.

Your query is sent to RIPEstat to fetch the routing data. ToolsForAnyone keeps it in a usage log for up to 90 days, together with your IP address.

Frequently asked questions

How do I find my own ASN?

Click "your IP" above, or see the ASN on the What's My IP Number page and What Is My ISP.

What is the difference between 16-bit and 32-bit ASNs?

Original AS numbers were 16-bit (up to 65,535). Since RFC 4893 (now RFC 6793), 32-bit ASNs allow over four billion networks. Ranges 64512–65534 and 4200000000–4294967294 are reserved for private use (RFC 6996).

Can one company have more than one ASN?

Yes. Large companies often run several, for example separate numbers for different regions, acquired businesses or a content network. Each shows up as its own AS here, so check the holder names.

Does an ASN tell me where an IP is located?

Only roughly. The country row is where the AS is registered, and a global network announces prefixes used all over the world. For a location estimate of a single address, use an IP geolocation tool instead.

How do I get my own ASN?

Apply to your regional internet registry (ARIN, RIPE NCC, APNIC, LACNIC or AFRINIC), usually through a member or sponsoring provider. You typically need your own IP space and a plan to connect to at least one other network with BGP.

Updated

Comments

Share a tip, ask a question or tell others how the tool worked for you.
Copied to clipboard