~/tools/ip

> what is my ip

show your public ip address, approximate location, and timezone. reads the ip your request hit drwho.me with — not your lan ip.

$ your ip
looking up...

## overview

your 'public ip' is the address the internet sees when your traffic leaves your network. it is usually your router's wan ip, or — if you are behind a vpn — the vpn's exit ip. this tool reads the ip from the incoming http request (vercel's edge forwards the client ip as a trusted header) and shows it back to you along with rough geolocation (country, region, city) and timezone. accuracy varies: wired residential connections geolocate well, mobile carriers and vpns often place you far from your real location. the ip shown is your public ip, not your lan ip (192.168.x.x or 10.x.x.x) — no website can see those. if you need your lan ip, check your os network settings.

## how to use

  1. load the pageeverything is shown on load. no input needed.
  2. read your public ipthe ip shown is the one the internet sees. if you are behind a vpn, this is the vpn's exit ip.
  3. check the locationcity/region/country come from a geoip database — approximate, not gps. expect city-level accuracy at best.
  4. check the timezoneiana timezone id (e.g. europe/london) derived from the ip.

## examples

$ example 1 — example for a residential isp in bengaluru
$ in
(no input)
# out
ipv4 203.0.113.42, country india, city bengaluru, timezone asia/kolkata
$ example 2 — vpn hides your real ip
$ in
(over vpn)
# out
ip and location match the vpn exit, not your physical location
$ example 3 — ipv6
$ in
(ipv6 connection)
# out
starts with 2001:… or 2600:…; geoip data may be sparser than ipv4

## common mistakes

  • vpn masks youif you are on a vpn, the ip and location are the vpn provider's. disconnect the vpn to see your real ip.
  • accuracy is approximategeoip data is not gps. it resolves to the network's registered location, often an isp point-of-presence in the nearest major city.
  • cgnatmobile users often share an ip with thousands of others via carrier-grade nat. the geolocation is the carrier's hub, not your phone.
  • ipv4 vs ipv6if your connection supports both, the site may see the ipv6 address. both are public ips.
  • not your lan ip192.168.x.x and 10.x.x.x are private (rfc 1918). no website can see them.

## faq

does this store my ip?

no. we read it from the request headers and return it to you. no logs.

why is my location wrong?

geoip is approximate. mobile ips, vpns, and corporate networks often geolocate far from your real location.

how is my ip detected?

vercel's edge forwards the client ip in a trusted header. we do not run any javascript probes.

can i hide my ip?

use a vpn or tor. this site will then see the vpn/tor exit ip, not your real one.

what is the difference between this and ip lookup?

this shows your own ip. ip lookup takes any ip and returns geolocation and asn details.

what about my lan ip?

no website can see your lan ip. check your os network settings (ipconfig on windows, `ifconfig` or `ip addr` on linux/macos).

ipv4 or ipv6?

whichever your connection used to reach us. many isps are ipv6-first now.

## related tools

  • ip lookup look up any IP's geolocation, ASN, and ISP (via ipinfo.io).
  • http headers inspect the http request headers your browser sends.

## references

  1. RFC 791 — internet protocol (ipv4)
  2. RFC 8200 — internet protocol version 6 (ipv6)
  3. MDN — Geolocation API (browser, distinct from ip geoip)
ad slot · tool-ip