# IPtoASN

> Free, hourly-updated downloadable database mapping IPv4 and IPv6 ranges to AS numbers and countries.

Source: https://osinttools.io/tools/iptoasn/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** IP address
- **Category:** Infrastructure and domains
- **Pricing:** Free
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Data download
- **Website:** https://iptoasn.com/
- **Listed:** Nov 26
- **Last verified by an editor:** Nov 26, 2026

## What it does

IPtoASN, maintained by Frank Denis, publishes free TSV files that map IP address ranges to the autonomous system announcing them, the AS description and a country code. Files are available for IPv4, IPv6 and both combined, plus simpler IP-to-country lists, and the data is updated hourly under a public-domain licence.

Analysts load the files into scripts or databases to tag large lists of IP addresses with their network owner offline. The public API was shut down at the end of 2020, but the source of the API server is published so you can run your own lookup service.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- IPv4, IPv6 and combined IP-to-ASN files
- IP-to-country files
- 32-bit integer variants for IPv4
- Hourly updates
- Self-hostable API server code

## Pros

- Free with a public-domain licence
- Easy TSV format for bulk work
- No rate limits because lookups run locally

## Cons

- No hosted lookup API anymore
- Country codes reflect AS data, not precise geolocation

## When to use it

- Use it when you need to map thousands of IP addresses to their ASNs without calling an API.
- Use it when you want a free, regularly refreshed IP-to-ASN table inside your own tooling.

## Quick start

1. Open IPtoASN.
2. Paste the ip address and run the lookup.
3. Record the result with the date and the exact query; results change over time.

## Alternatives

- [BGP Ranking](https://osinttools.io/tools/bgp-ranking/): CIRCL service that scores autonomous systems by how much malicious activity they host relative to their size. (Free · IP address · passive)
- [BrowserLeaks](https://osinttools.io/tools/browserleaks/): Suite of tests showing what your browser leaks: IP and WebRTC leaks, canvas, WebGL, font and TLS fingerprints. (Free · IP address · passive)
- [CIDR Report](https://osinttools.io/tools/cidr-report/): Daily report on the global BGP routing table: table growth, AS summaries, possible bogons and aggregation. (Free · IP address · passive)
- [Censys extension](https://osinttools.io/tools/censys-extension/): Censys's Chrome extension for looking up an IP's ports, services, location and WHOIS, and searching highlighted text in Censys. (Freemium · IP address · passive)
- [DB-IP](https://osinttools.io/tools/db-ip/): IP geolocation and ISP database with a lookup site, an API and free monthly Lite downloads under CC BY. (Freemium · IP address · passive)
- [ExoneraTor](https://osinttools.io/tools/exonerator/): Tor Project service that tells you whether an IP address was a Tor relay on a given date. (Free · IP address · passive)

All alternatives to IPtoASN in one table: https://osinttools.io/tools/iptoasn/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
