Find your public IP address
Your public IP is the address your connection shows to the websites you visit. It is assigned by your internet provider and is usually shared by every device connected to the same router. The tool shows this address as soon as the page opens.
In two steps. First, the browser asks ipify for the IP (the standard version first and, if that fails, the IPv6-compatible one). Once it has the address, the page queries ipapi.co and, if that fails, ipwho.is, to find the city, region, country and provider of that IP. Each service is tried with a time limit; if both fail, the page says so plainly instead of making up data.
If ipify does not respond, the page tries an alternative method using the browser's WebRTC feature. This method may return an address from your local network (such as 192.168.x.x) instead of the public one. When that happens, the page marks the result as "Local IP, not the public one" and does not look up the location, because that address is not what websites see.
Keep in mind that location by IP is approximate: it usually points to your provider's region, not to your home, and it can be wrong.
189.40.10.5 are IPv4; the long ones, with colons, are IPv6.To get your IP and location, the page has to query external services (ipify, ipapi.co and ipwho.is), and they naturally see the IP of whoever queries them. The last two receive your IP in the location query itself. This page stores nothing in your browser. Your IP is information that every website you visit already receives, but avoid publishing it together with personal data. See the Privacy Policy.
It is the IP your provider assigns to your connection, and it sits on the router. The devices in your home have different internal IPs, which only show up here in the WebRTC alternative method, marked as local IP.
Location by IP comes from provider databases and is approximate. It is common to see another city in the region, or the provider's headquarters.
The location services may have failed, hit their query limit or been blocked by an extension or by the network. The IP itself is still valid. Try "Refresh IP" later.
The IP alone does not give access to your device and is seen by every website you visit. The real risk lies in exposed services and a weak password, not in the address itself.
All the services failed. Check your connection, disable content blockers that prevent these queries and click "Refresh IP".