🍱 Lunchbox Hands

What Is My IP

See your public IP address, location, and connection details

Your public IP address, detected automatically. See geolocation data (city, region, country, postal code, and coordinates), your ISP and ASN, and connection details including TLS version and HTTP protocol β€” all read directly from the edge request.

IP addresses come in two flavours: public (what the internet sees β€” shown here) and private (like 192.168.x.x or 10.x.x.x, only visible inside your local network). They also come in two formats: IPv4 (four dot-separated numbers, e.g. 203.0.113.42) and IPv6 (eight colon-separated hex groups, e.g. 2001:db8::1). IPv6 was introduced because IPv4's ~4 billion addresses are exhausted; most modern connections support both. If you're using a VPN or proxy, the IP shown here belongs to the VPN exit node, not your real connection β€” which is exactly how VPNs hide your origin from the sites you visit.

Detecting your IP address…

What this tool shows you

Every time you visit a website, your browser sends a request that carries your public IP address. Servers, CDNs, and the Cloudflare edge network all see it β€” it's not hidden unless you use a VPN or a proxy. This tool reads the IP and the metadata Cloudflare attaches to each request and returns it instantly, with no additional DNS lookups or third-party APIs involved.

Beyond the IP itself, you'll see the geolocation mapped from that IP (city, region, country, postal code, and latitude/longitude), the timezone Cloudflare infers for your location, your ISP and ASN (the autonomous system your IP belongs to), and low-level connection details like TLS version and HTTP protocol version (HTTP/1.1, HTTP/2, or HTTP/3).

Common uses

  • Verify a VPN is working β€” your IP and country should change when connected. If the country still shows your real location, the VPN isn't routing your traffic.
  • Firewall and allowlist setup β€” copy your current IP to add it to an SSH allowlist, database security group, or IP-restricted API key.
  • Debug geolocation issues β€” if a site is serving you content meant for the wrong country, this confirms what IP (and therefore what country) the site sees.
  • Check TLS and HTTP version β€” useful for confirming your connection is using a modern protocol (TLS 1.3, HTTP/2 or HTTP/3) rather than an older, weaker one.

Related tools

Frequently asked questions

What is a public IP address?

A public IP address is the address your Internet Service Provider (ISP) assigns to your network connection β€” the one the rest of the internet sees when you make a request. It's different from a private IP (like 192.168.x.x) that only exists inside your local network. Every device on the same home or office network typically shares one public IP, but shows up on internal traffic with its own private address.

Why does my location look slightly off?

IP geolocation is an approximation. It maps your IP address to a physical location using databases that ISPs and internet registries publish, but those databases reflect where the ISP registered the address β€” often a regional data center or headquarters β€” not where your device actually is. Mobile connections, VPNs, and corporate networks frequently show a city or even a country different from your real one. If you need precise location, your browser's Geolocation API (which uses GPS or WiFi triangulation) is far more accurate.

Is my IP address logged when I use this tool?

Your request passes through Cloudflare's edge network, which can see your IP like any web server. We do not store your raw IP address. Our worker logs only the country, device type (mobile or desktop), HTTP referrer, and tool name for anonymous aggregate usage stats β€” the same data all our network tools log. No IP addresses, no user accounts, no tracking pixels.

What is an ASN?

ASN stands for Autonomous System Number. An autonomous system is a large block of IP addresses managed by a single organization β€” typically an ISP, a cloud provider (like AWS or Cloudflare), or a university network. Every public IP belongs to an AS. The ASN and the organization name shown here tell you which company "owns" the IP block your connection came from, which is usually your ISP or a VPN provider.

Get weekly dev tools and tips