Guide
What is my IP number?
Your IP number, or IP (Internet Protocol) address, is the public address your internet provider gives your connection. Every website, app and online service you use sees it, because it is where they send their replies. The number shown at the top of this page is your public IP: the one the rest of the internet sees for your home or office network, shared by every device behind your router.
Inside your network, each phone, laptop and smart TV also has a private IP such as 192.168.1.23, which only means something on the local network. Websites never see it. Your router translates between the two using NAT (network address translation). Read more in our guide to public vs private IP addresses.
IPv4 and IPv6
An IPv4 number looks like 203.0.113.42: four numbers from 0 to 255. There are only about 4.3 billion of them, a pool that ran out years ago, so providers increasingly also give you an IPv6 address, a longer hexadecimal number such as 2001:db8:85a3::8a2e:370:7334, with enough addresses for every device on Earth many times over. This page checks both. If IPv6 shows "Not detected", your provider or router has not enabled it yet; test it fully with the IPv6 test.
What your IP number reveals
Websites can see your IP number and, from it, estimate your country, region, city, internet provider and time zone, like the details above. It does not reveal your name, your street address or your browsing history. Only your provider can link an IP number to a subscriber. If you want to keep it private, a VPN, Tor or a privacy relay shows websites a different address. Compare the options.
How accurate is the location?
The location comes from IP geolocation databases, which link address blocks to the place where a provider uses them. The country is almost always right; the city is often the nearest large town or your provider's hub, and can be tens of kilometres away. See how accurate IP geolocation is, or locate any other address with IP to geolocation.
Does my IP number change?
Most home connections have a dynamic IP that changes from time to time, for example when the router restarts. Mobile data usually changes it even more often. Businesses that host servers or need remote access often pay for a static IP, which never changes. A VPN replaces the IP websites see with the VPN server's address; check it is working with the WebRTC leak test.
Get your IP number from the command line
Developers and system administrators can get their public IP without a browser:
curl toolsforanyone.com/ip
curl toolsforanyone.com/json
Both work without an API key. See the free IP API for examples in Python, JavaScript and PowerShell.
Frequently asked questions
Is my IP number the same as my IP address?
Yes. "IP number" and "IP address" mean the same thing: the numeric address of your connection on the internet.
Can someone find my exact address from my IP number?
No. An IP number reveals your provider and an approximate area, usually the city or region. Only your provider can link it to a subscriber, and it normally does so only when legally required.
Why is my IP number showing a different location?
IP geolocation is an estimate. Your location can look wrong because you use a VPN or proxy, because your provider routes traffic through a hub in another city, or because the geolocation database is out of date. The country is usually right; city-level accuracy varies.
Can I change my IP number?
Yes. Restarting your router often gets a new address from providers that assign dynamic IPs. A VPN gives you a different public IP immediately, and switching from Wi-Fi to mobile data also changes it. See how to change your IP address.
How do I hide my IP number?
Use a reputable VPN, the Tor Browser or a privacy relay such as iCloud Private Relay. Each routes your traffic through another server, so websites see that server's IP instead of yours. Our guide on how to hide your IP address compares the options.
Why does my IP number differ on Wi-Fi and mobile data?
Each connection comes from a different provider network, so each gets its own public IP number.
What is an IP address blacklist?
A blacklist (or DNSBL) is a list of IP addresses associated with spam or abuse. Mail servers and firewalls use them to block traffic. If your address is listed, fix the cause, then request removal from the list operator. Check yours with the IP blacklist check.
What is a DNS leak, and how can I prevent it?
A DNS leak happens when your DNS queries bypass your VPN and go to your provider, revealing the sites you visit. Use a VPN with built-in DNS leak protection or set a trusted encrypted DNS resolver.
Updated
Comments
Share a tip, ask a question or tell others how the tool worked for you.