tools / ip
IP address & location/
Your public IP appears by default. You can also look up any IPv4 or IPv6 address and compare geolocation sources.
My IP
Location data from DB-IP (CC BY 4.0), updated monthly. The marker shows the approximate city of the network, not your exact location.
From the command line: curl ip.xmmtools.com returns just your IP, curl ip.xmmtools.com/json returns the full details.
Approximate location
No location data for this address
Compare geolocation sources
The site’s DB-IP result is kept. After a public IP is found, GeoJS and IPQuery are queried automatically for the same address; those services receive the queried address and the connection source. Private IP addresses are not compared.
Missing fields are shown as unknown and excluded from comparison. A highlight means the reported text differs, not that one source is correct. Different sources may share the same underlying database. The network organization is not necessarily your broadband provider’s brand.
What is IP geolocation
IP geolocation is the country, city and network operator looked up in a database by IP address range; it is not the precise location of a device. This page looks up the public IP in DB-IP Lite, which is updated monthly, then checks the same address with GeoJS and IPQuery for comparison, waiting up to 8 seconds for each source.
How it works: three sources look up the same address
- The page first asks this site’s location API; with no address entered, it looks up the public exit you used to reach this site. This site uses the DB-IP Lite database, updated monthly.
- Once a public address is found, the browser asks GeoJS and IPQuery about the same address directly, waits up to 8 seconds for each source, and accepts a reply only if the IP it returns matches the one queried.
- Country, region, city, ASN and network organization are compared field by field; the page only marks differences and does not take a majority vote on which source is right. An ASN of 64512 from GeoJS is treated as unknown.
Private address ranges are defined in RFC 1918, and loopback, reserved and other special-purpose addresses are listed in RFC 6890; for these addresses the page shows only the type and does not look up a location.
GeoJS and IPQuery receive the queried address and where your connection comes from; this site’s location API keeps no access log, and the results stay only on the current page.
Example
These are the formats of the two third-party APIs requested for the comparison, with ip replaced by the public address found (for illustration, not lookup results).
- GeoJS
- https://get.geojs.io/v1/ip/geo/<ip>.json
- IPQuery
- https://api.ipquery.io/<ip>
Sources
FAQ
Why is the IP shown here different from the one in my computer’s network settings?
This shows the public exit IP seen by websites. Computer network settings usually show a local address. Multiple devices behind the same router or on an ISP network may share a public IP.
How do I look up another IPv4 or IPv6 address?
Paste a complete IP into the input and search. Looking up another address does not change your network. “My IP” returns to the exit used to access this site.
Why do sources show different cities or providers?
Sources may differ in update schedules and data, and a network organization need not match the broadband brand. Comparison only highlights differences. Missing fields remain unknown; majority agreement does not establish the true location.
Is the map pin my exact location?
No. The map uses approximate DB-IP coordinates, which may point to an ISP facility or a city center, not a home address. Hiding location details hides both the map and location data.
Why can’t private IPs be geolocated?
Private addresses such as 192.168.x.x have no public geographic assignment. The page explains the address type and disables comparison with other sources, without filling gaps with guessed locations.
Are queried IPs stored or sent to others?
This site’s geolocation endpoint keeps no access logs and sends no queries to analytics. Once a public IP is found, the page compares sources automatically, which sends the target IP and connection source to GeoJS and IPQuery. Results stay on this page; third-party logging follows their own policies.