Help / What’s my IP
What’s my IP
Shows the public IP address the internet sees for you, both IPv4 and IPv6 if you have them, plus the reverse-DNS hostname and approximate location.
How to use it
- Open the page. Your address is detected automatically; there is nothing to type.
- The big address is the one your browser used for this page. The two rows below test IPv4 and IPv6 separately.
- Use Copy next to any address to put it on your clipboard.
Reading the results
- IPv4 / IPv6
- The two versions of internet addresses. IPv4 looks like 203.0.113.7; IPv6 looks like 2001:db8::1. Many networks have both.
- Dual stack
- Both IPv4 and IPv6 work from your network. Your browser picks one per site.
- Hostname
- The name your provider attached to your address (reverse DNS).
- Forward-confirmed
- That hostname also points back to the same address, so it wasn’t made up.
- ASN / Network
- The provider that owns your address block.
From the command line
curl "https://tools.nexayori.com/ip" curl "https://tools.nexayori.com/ip?format=json"
| format | text (default for curl), json, or html |
Questions
Why is my location wrong?
Location comes from IP address databases and usually points to your provider’s nearest hub, which can be a city or two away. It is never precise to the street.
Why does IPv6 say “Not available”?
Your network or provider doesn’t offer IPv6, or your router has it switched off. Everything still works over IPv4.
How do I get just the address in a script?
curl tools.nexayori.com/ip returns only the address. Use curl -4 or curl -6 to choose the version.
Limitations
- The IPv4/IPv6 test asks ipify (a free public service) for the other version, because one page load only reaches us over one of them.