Your public IP address
Reading your IP address…
Showing your IP address needs JavaScript, which is off in this browser. Turn it on and reload the page to see it.
How to use it
- Open this page. Your public IP address appears at the top as soon as it loads, with nothing to type.
- See which version it is: IPv4, such as
203.0.113.7, or IPv6, such as2001:db8::7. - Copy it with the copy button, so you paste it exactly as it is.
- Read the details shown with it: your network, your approximate location and the Cloudflare data center that answered.
- Check from the device and network you’ll use later. A VPN, a proxy or another Wi‑Fi network gives you a different address.
What an IP address is
An IP address is the number the internet uses to deliver data to the right place. Every request your device sends carries the address it came from, so the answer can find its way back, including the request that loaded this page.
IPv4 addresses are 32 bits long, written as four numbers from 0 to 255. That allows 2³², or 4,294,967,296, possible addresses, and the internet outgrew them. IPv6 addresses are 128 bits long, written as eight groups of up to four hexadecimal digits separated by colons. A run of groups that are all zero can be shortened to ::, as in 2001:db8::7.
Your public IP address and your private one
Your internet provider gives your connection a public address, and with IPv4, every device on your network shares it. Inside your home or office, the router gives each device a private address of its own and translates between the two, a job called network address translation (NAT). Websites only ever see the public address, so that’s the one this page shows.
IPv6 was designed to work without that sharing, so an IPv6 address on this page usually belongs to your device rather than your whole network. Private addresses come from ranges that are never routed on the public internet, so any network can reuse them.
| Range | Used for | Defined in |
|---|---|---|
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 | Private IPv4 networks, such as a home or an office | RFC 1918 |
100.64.0.0/10 | Providers that put many customers behind one public address, called carrier‑grade NAT | RFC 6598 |
fc00::/7 | Unique local addresses, the private range for IPv6 | RFC 4193 |
If your router reports its internet address in the 100.64.0.0/10 range, your provider is using carrier‑grade NAT, and the public address on this page is shared with other customers.
How this page finds your address
Our website runs on Cloudflare’s network, so your browser’s request reaches Cloudflare first. Cloudflare passes on the address the request came from, with what it knows about that address. When this page loads, it asks our site for those details and shows them to you. We store none of it.
- IP address: the public address your request came from, IPv4 or IPv6.
- Network: the autonomous system number (ASN) and the organization behind it, usually your internet provider, or your VPN’s if you use one.
- Approximate location: the country, and where known the region and city, estimated from your address, not from your device’s location settings.
- Data center: the Cloudflare location that handled the request, named by a three‑letter airport code such as
DFW.
To see the network behind any other address, or behind a website, use our IP lookup.
When your web host asks for your IP address
Hosts often limit access by address, so your host or a developer may ask for yours. These are the usual reasons.
- Firewalls. A server’s firewall can let only listed addresses reach it or its admin pages, and if it blocks you, for example after several failed logins, your host needs your IP to find and lift the block. If your own site won’t open for you while our down checker finds it up, a block like this may be why.
- SSH and SFTP. Some hosts and servers accept SSH connections only from addresses you’ve listed, so you add yours before you connect.
- Remote MySQL. To open a site’s database from an app on your own computer, you usually add your IP as an allowed remote host in the control panel first.
- Staging sites. A staging copy of your site can be locked to your address, so you can try changes before anyone else sees them.
Give the address exactly as this page shows it. If it’s IPv6, your connection may also have an IPv4 address, and a server you reach over IPv4 sees that one instead. A rule for one version doesn’t cover the other, so ask your host which one its server sees. A static address from your provider saves updating the rule each time yours changes.
Choosing a host? Our reviews show whether a host’s main plan includes SSH access, a staging site and a firewall, where the host states it, and the hosting finder can narrow the choice to the plans that do.
Why your IP address changes
Unless your provider gives you a static address, your connection’s public address can change, for example when your router restarts or reconnects, or when the lease on the address runs out.
- Moving between networks. Home Wi‑Fi, mobile data, the office and a café each give you a different address.
- A VPN or a proxy. While it’s on, websites see its address instead of yours.
- IPv6 privacy addresses. Devices can use temporary IPv6 addresses that change from time to time, to make them harder to track by address (RFC 8981).
- Mobile networks. A mobile network can share public addresses among many customers, and the one you get can change as you move around.
That’s why a firewall rule that let you in yesterday can lock you out today.
Common questions
How do I find my IP address?
Your public IP address is at the top of this page, and it’s the one websites and your web host see. Your device’s private address is in its network settings: on Windows, run ipconfig in a command prompt, and on a Mac or a phone, open the details of the Wi‑Fi network you’re on.
What is my public IP address?
It’s the address the internet sees for your connection, shown at the top of this page. Your provider assigns it, and with IPv4, every device on your network shares it. Websites, email servers and your host’s firewall all see this address, never your device’s private one.
What is my IP location?
It’s an estimate of where your address is used, shown here as Cloudflare gives it: a country, and where known a region and city. It comes from your address, not your device’s GPS, so it can be wrong, sometimes by a long way. With a VPN, it shows where the VPN’s server is.
What is my IPv4 address?
If you reached this page over IPv4, it’s the address at the top. If it shows an IPv6 address, your browser connected over IPv6, so your IPv4 address wasn’t in the request and we can’t see it. To find it, open this page on a network without IPv6, or check your router’s status page, unless your provider uses carrier‑grade NAT.
What is my IP address on my phone?
Open this page on your phone to see it. On Wi‑Fi, your phone shares your network’s public address. On mobile data, it uses an address from your mobile network, which may be shared with other customers and can change as you move. Its private address on Wi‑Fi is in that network’s details in your settings.
Why does my IP address change?
Your connection can get a new address when your router restarts or reconnects, unless you have a static address. Switching between Wi‑Fi and mobile data changes it, and so does turning on a VPN. On IPv6, devices can use temporary addresses that change for privacy. If a host lets your address through a firewall, update the rule when it changes.
Can someone find me from my IP address?
Not from the address alone. It shows which provider you use and a rough area, often just a country or region, but not your name or your home address. Your provider knows which customer used an address at a given time. A VPN hides your address from the sites you visit, though the VPN service itself can see it.
What’s the difference between a public and a private IP address?
A public address is unique on the internet, and it’s the one websites see. A private address comes from ranges set aside for local networks, such as 192.168.0.0/16 (RFC 1918) or fc00::/7 for IPv6 (RFC 4193). Any number of networks can reuse the same private addresses, because they’re never routed on the public internet.
Does this page store my IP address?
No. The page asks our site for your details, shows them to you and stores none of them. There’s nothing to sign up for and no history of what you saw. Like any website, ours sees your address while it answers your request, because that’s how the answer reaches you.
More tools
-
IP lookup
Find a website’s IP addresses and the network behind them.
-
Is it down?
Check if a website answers right now, and how long it takes.
-
Who is hosting this website?
See which company appears to host a website, and why we think so.