UseToolSuite UseToolSuite

IP Geolocation Lookup

Look up the geographic location of any IP address or domain. See city, country, ISP, timezone, and coordinates — check your own IP or any public IP.

Instant Results IPv4, IPv6 & Domains

What an IP can — and can’t — tell you

IP geolocation answers “roughly where is this network registered?” not “where is this person?”. The accuracy ladder is steep:

SignalTypical reliability
Country95–99% correct
Region / state70–85%
City50–80%, worse on mobile
Street addressNot available from IP alone

Anyone claiming pinpoint accuracy from an IP is selling something. The honest use cases are coarse: choosing a default language, routing to a regional server, fraud signals, and analytics — not surveillance.

The three things that distort the answer

When a lookup looks “wrong,” it’s almost always one of these, and none is a bug in the data:

  • VPN / proxy — the IP belongs to the VPN exit node, so you see Frankfurt for a user sitting in Lagos. This is the point of a VPN, working as designed.
  • CGNAT (Carrier-Grade NAT) — mobile carriers and some ISPs share one public IP across thousands of subscribers, registered at a regional gateway that can be hundreds of kilometres from any given user.
  • ISP registration drift — an ISP may register an entire IP block to a single head-office city even though it serves customers across a whole country. Recently reassigned blocks can also carry stale location data until the databases refresh.

Reading the ASN — the field power users care about

The Autonomous System Number is often more telling than the city. Every network that participates in internet routing has one, and it identifies who operates the address space. Seeing AS15169 Google LLC or AS13335 Cloudflare immediately tells you the traffic is from a cloud or CDN, not a residential connection — invaluable for separating real users from bots, scrapers, and server-side requests. A residential ISP’s ASN versus a hosting provider’s ASN is frequently the single best signal in lightweight fraud screening.

IPv4 vs IPv6, and the privacy-by-default mindset

IPv6 geolocation tends to be coarser than IPv4: the address space is newer, allocations are larger, and the mapping databases are less mature, so expect country-level confidence more often than city-level. Whichever version you’re handling, the responsible posture is the same — geolocate for legitimate, disclosed purposes; store the minimum for the shortest time; and remember that behind every address is a person whose location data you’re inferring. This tool sends lookups directly from your browser to public APIs and stores nothing, but your application’s obligations begin the moment you log a user’s IP.

Last updated

How helpful was this tool?

Click to rate

Embed this tool on your site

Paste this snippet into any HTML page or blog post to embed a live, fully working copy of IP Geolocation Lookup. Free for any use.

Key Concepts

IP Address

A numerical label (IPv4: 192.168.1.1, IPv6: 2001:db8::1) assigned to each device connected to a network. IP addresses serve two functions: identifying the host/network interface and providing the location of the host in the network topology for routing purposes.

ISP (Internet Service Provider)

The organization that provides internet access to customers. The ISP field in geolocation results identifies which company owns and operates the network the IP address belongs to (e.g., Comcast, Vodafone, AWS).

Frequently Asked Questions

How accurate is IP geolocation?

IP geolocation is typically accurate to the city level for most residential and mobile IP addresses (within 25–50 km). It can identify the correct country in 95–99% of cases and the correct city in 50–80% of cases. VPNs, proxies, and corporate networks can reduce accuracy significantly because the IP may be registered in a different location than the user.

Can I look up any IP address?

You can look up any public (routable) IP address. Private IP addresses (10.x.x.x, 172.16–31.x.x, 192.168.x.x) and loopback addresses (127.0.0.1) cannot be geolocated because they are not routable on the public internet. The tool will return an error for invalid or private IP addresses.

Why does my IP show the wrong city?

Several factors can cause this: (1) Your ISP may register its IP blocks in a different city than where you are physically located. (2) If you are using a VPN, the IP belongs to the VPN server location. (3) Geolocation databases are updated periodically, so recently reassigned IP blocks may show outdated location data.

Is my IP address shared with anyone when I use this tool?

The "My IP" feature uses a third-party API (ipify) to detect your public IP address, and the geolocation lookup uses the ip-api.com service. These requests go directly from your browser to these public APIs. We do not store, log, or track any IP addresses.

What is an AS number?

An Autonomous System (AS) number identifies a network or group of networks under a single administrative domain. Every ISP, cloud provider, and large organization has one or more AS numbers. Seeing "AS15169 Google LLC" means the IP belongs to a network operated by Google.

Why do Cloudflare (1.1.1.1) and Google (8.8.8.8) DNS show odd or distant locations?

Those are anycast addresses. The same IP is announced from data centres all over the world simultaneously, and the network routes you to the nearest one. A geolocation database can only tag the IP with a single registered location (often the provider's headquarters or a primary POP), so the result rarely reflects the physical server you actually reached. Anycast is common for DNS resolvers, CDNs, and large APIs — for those, an IP-to-city lookup is inherently approximate.

Is an IP address considered personal data under GDPR?

Yes, in most cases. The EU Court of Justice (Breyer, 2016) ruled that a dynamic IP address is personal data when the holder has a realistic legal means to link it to an individual — which an ISP, with its subscriber records, does. So logging, storing, or geolocating user IPs falls under GDPR: you need a lawful basis, a retention limit, and disclosure in your privacy policy. Treat IPs as PII by default rather than assuming they're anonymous.

Troubleshooting & Technical Tips

Lookup returns "query failed" or no results

This usually means the IP address is private, reserved, or malformed. Verify that you entered a valid public IPv4 or IPv6 address. The tool does not support private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or special addresses like 0.0.0.0 and 255.255.255.255.

Rate limit exceeded

The free geolocation API allows 45 requests per minute. If you exceed this limit, wait 60 seconds before trying again. For high-volume lookups, consider using a paid geolocation service.

Related Guides

Related Tools