Home › Developer Tools › ASN Lookup

ASN Lookup

Find out which network operates an IP address, or look up any autonomous system number directly. You get the AS name, organization, country, regional registry, abuse contact and the IPv4 and IPv6 prefixes it announces on the internet.

Last updated:

Try:

Enter an AS number such as AS15169 or an IP address and click Look up ASN to see who operates the network.

Advertisement
Advertisement

How to use the ASN Lookup

  1. Enter an AS number such as AS13335, an IP address such as 8.8.8.8, or a domain name.
  2. Click Look up ASN or press Enter.
  3. Read the summary: the AS number, its operator, country, registry and number of announced prefixes.
  4. For IPs, check which prefix and origin AS cover the address.
  5. Scroll to the prefix table or download it as CSV, and use the abuse contact to report misuse.

Reserved and special AS numbers

RangePurposeDefined in
AS0Reserved; marks address space that must not be routedRFC 7607
AS1 – AS64495Public 2-byte ASNs assigned by the registriesIANA
AS23456AS_TRANS, stands in for 4-byte ASNs on old routersRFC 6793
AS64496 – AS64511Documentation and examplesRFC 5398
AS64512 – AS65534Private use (2-byte)RFC 6996
AS65535ReservedRFC 7300
AS65536 – AS65551Documentation (4-byte)RFC 5398
AS131072 – AS4199999999Public 4-byte ASNsIANA
AS4200000000 – AS4294967294Private use (4-byte)RFC 6996

The five regional internet registries

IANA hands out blocks of AS numbers and IP addresses to five regional internet registries (RIRs), which assign them to networks in their region. The registry shown in the result is where the AS is registered, which usually but not always matches where the network operates.

RegistryRegion
ARINUnited States, Canada, parts of the Caribbean
RIPE NCCEurope, the Middle East and Central Asia
APNICAsia-Pacific
LACNICLatin America and parts of the Caribbean
AFRINICAfrica

Practical uses

  • Abuse reports: find the network that routes a spamming or attacking IP and contact its abuse address.
  • Firewall rules: download an AS's prefix list to allow or block a provider's ranges, and expand ranges with the CIDR to IP Range tool.
  • Troubleshooting: check whether a site is served from a CDN or a particular cloud, and compare with reverse DNS and IP geolocation.

Frequently asked questions

What is an ASN?

An Autonomous System Number identifies a network that runs its own routing policy on the internet, such as an ISP, a cloud provider, a university or a large company. Networks exchange routes with each other using BGP, and every route carries the ASN of the network that originates it. There are about 120,000 ASNs in use today.

How do I find the ASN of an IP address?

Enter the IP address. The tool finds the most specific BGP prefix that currently covers it and the AS that announces that prefix, using Team Cymru's public IP-to-ASN mapping queried over DNS-over-HTTPS. It then loads the AS details from the regional registry.

What is the difference between 2-byte and 4-byte ASNs?

Originally AS numbers were 16-bit (1 to 65535). Since RFC 4893 (now RFC 6793) they are 32-bit, allowing over 4 billion. Numbers above 65535 are 4-byte ASNs and can also be written in asdot notation, for example 4200000000 is 64086.59904. Old routers that do not understand them see AS23456 instead.

What are private ASNs?

AS64512 to 65534 and AS4200000000 to 4294967294 are reserved for private use (RFC 6996), similar to private IP ranges. Companies use them inside their networks or for BGP sessions with their provider, and they must be removed before routes are announced to the internet.

Why does an IP show a different company than I expected?

The ASN shows who routes the address, which is often a hosting or cloud provider, a CDN or an ISP rather than the website owner. A site behind Cloudflare, for example, shows AS13335. To see who registered the IP range itself, use the WHOIS Lookup.

Where does the data come from?

IP-to-ASN mapping and AS names come from Team Cymru's public DNS service, queried via Cloudflare or Google DNS-over-HTTPS. Registration details come from the regional internet registries' RDAP servers through rdap.org, and announced prefixes from the RIPE NCC's RIPEstat API. All requests go directly from your browser.

How current are the announced prefixes?

RIPEstat builds the list from BGP data collected by its route collectors around the world and updates it several times a day. A prefix announced or withdrawn in the last few hours may not appear yet.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.
See all 52 Network, DNS & Email Tools →