IP Address Lookup
See the public IP this site received for your request, and classify any IPv4 or IPv6 address against reserved ranges. No location or ISP lookup.
What's my IP
This is the public address this site received for your request. There is no location or ISP name here.
Classify an IP address
Classification is against reserved ranges only (private networks, loopback, link-local, documentation ranges, and similar). There is no location or ISP lookup.
Results are provided "as is" and may contain errors or inaccuracies - please verify them before relying on them, and use this tool at your own risk.
How it works
The page has two separate parts. In the top panel, "What's my IP", the site requests /api/my-ip on its own server. The server reads the first address in the x-forwarded-for header, or x-real-ip if that is missing, and returns a JSON object with one field: ip. The panel shows that string, and you can copy it. If the field is empty, you get an error that no address was detected. If the request itself fails, you get a different error. There is no city, country, ISP, or hostname in the response.
In the lower panel you type an IPv4 or IPv6 address, and the tool classifies it against a list of reserved ranges only. The address is not sent to an external lookup service. For IPv4 it checks: loopback (127/8), private per RFC 1918 (10/8, 172.16/12, 192.168/16), link-local APIPA (169.254/16), documentation TEST-NET ranges (192.0.2/24, 198.51.100/24, 203.0.113/24), multicast (224/4), reserved for future use (240/4), and limited broadcast (255.255.255.255). For IPv6 it checks: ::1 exactly (loopback), :: exactly (unspecified), fe80–febf (link-local), fc00–fdff (unique local per RFC 4193), and ff (multicast).
If the address does not match any of those ranges, the label is "Public / globally routable". That is a local label from this tool, not an ownership or routing lookup. Some special ranges are not on the list, including CGNAT (100.64.0.0/10), 0.0.0.0, and the IPv6 documentation range (2001:db8::/32) — those also get that same label. An IPv4 address with a leading zero, such as 192.168.1.01, is treated as invalid. The result line also shows IPv4 or IPv6.
How to use it
- In "What's my IP", press the button. If the request succeeds, you see the address the server read from the headers, and you can copy it. If those headers have no address, or the request fails, you see an error.
- In the classifier, paste an IPv4 or IPv6 address into the field. If it is valid, you see the address family and a classification label. If it is not valid, an error appears under the field.
- There is no copy button on the classification result. The copy control belongs only to the address detected in the top panel.
Examples
Frequently asked
- What is my IP address?
- Press the button in the top panel. The site requests the ip field from /api/my-ip, which is the address the server read from x-forwarded-for or x-real-ip. If you are behind a VPN, that is usually the VPN's exit address, not the address on your home network.
- Why is there no city or ISP name?
- The tool does not run a geolocation lookup. The detection panel returns only the IP string, and the classifier only checks reserved ranges.
- What is a private address?
- For IPv4, the tool labels addresses in 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as Private (RFC 1918). Those ranges are reserved for internal networks. For IPv6, the matching range it checks is fc00::/7, labeled "Unique local (RFC 4193)".
- What does "Public / globally routable" mean?
- It means the address did not match any of the reserved ranges this tool checks. It is not a lookup against an ownership database, and it is not proof that the address is actually routed on the internet. Ranges such as 100.64.0.0/10, 0.0.0.0, and 2001:db8::/32 are not on the list, so they also get that label.
- Why is 192.168.1.01 rejected?
- The tool rejects a leading zero in IPv4. Use 192.168.1.1.
- Can I copy the classification result?
- No. The copy button belongs only to the address detected in "What's my IP".