What Is My IP Address?

This tool shows the public IP address your connection uses to reach websites right now, plus its IP version and your approximate country and network. It asks our own server for the address, because a web page cannot read it, and we do not store or log the result.

Your public IP address

Checking…
IP version–
Country (approx.)–
Network–

Your address is read by a small Cloudflare Worker on our own domain and sent straight back to you. Our code does not store or log it. Cloudflare, which delivers this site, processes requests under its own privacy policy. Nothing you type is involved.

How to use it

  1. Open this page. Your address appears in the box above as soon as the page loads.
  2. Press Copy IP address to paste it into a support form, a firewall allow-list or a note.
  3. Press Check again after you switch networks, connect a VPN or restart your router to see whether the address changed.

When to use it

  • Confirming that a VPN or proxy is working: the address and country should change when it is on.
  • Giving your address to IT support, a game-server host or a firewall administrator who asked for it.
  • Finding out whether your connection uses IPv4 or IPv6.
  • Seeing the network and approximate country that websites see you from.

What an IP address is

An IP address is the number that identifies your connection on the internet, so replies to your requests know where to go. Your internet provider assigns a public address to your router or mobile connection, and every device behind it usually shares that one address when it talks to websites.

Your phone or laptop also has a private address on your home or office network. That one is not visible to websites, which is why the number here is different from the one in your device’s network settings.

Worked example. An IPv4 address such as 203.0.113.7 is four numbers from 0 to 255, which is 32 bits in total. That allows 232 = 4,294,967,296 addresses, far fewer than the number of devices online. IPv6 solves this with 128 bits, written in hexadecimal groups such as 2001:db8::1, which allows about 3.4 × 1038 addresses. Both examples come from ranges reserved for documentation, so they never belong to a real connection.

How this page finds your address

A web page running in your browser cannot read the public address your connection uses, because your own device does not know it. When you load this page, a small program on Cloudflare’s network reads the address from the request you sent, along with Cloudflare’s own estimate of your country and network, and returns them to your browser as a short answer. That is why this tool makes one request to our server, unlike our other tools.

What your IP address reveals

Every site you visit sees your public address. It shows your internet provider and a rough area, usually the city or region where the provider’s equipment is, and sometimes only the country. On its own it does not give your name or street address, but your provider knows which customer used an address at a given time. Location estimates are approximate by nature; Cloudflare says plainly that IP geolocation is an estimate and not an exact science.

Address ranges that are not public internet addresses
RangeTypeWhat you will see it used for
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16IPv4 privateDevices inside a home, office or school network (RFC 1918)
100.64.0.0/10IPv4 shared address spaceCarrier-grade NAT used by some providers (RFC 6598)
169.254.0.0/16IPv4 link-localSelf-assigned when no network address was given
127.0.0.0/8 and ::1LoopbackYour own device talking to itself
fe80::/10IPv6 link-localLocal network segment only
fc00::/7IPv6 unique localPrivate IPv6 networks, like IPv4 private ranges

How to find your private (local) address

  • Windows: open Command Prompt and run ipconfig. Look for “IPv4 Address”.
  • macOS: System Settings, then Network, then your connection. Or run ipconfig getifaddr en0 in Terminal (en0 is usually the Wi-Fi interface).
  • Linux: run ip addr in a terminal.
  • iPhone and Android: open the Wi-Fi network’s details in Settings.

Does a VPN change what this page shows?

Yes. Connect to a VPN and press Check again: the page should show the VPN server’s address and network instead of your provider’s. If you still see your own provider, the VPN is not carrying that traffic. This tool shows the address only; it does not test for DNS or WebRTC leaks, which need separate checks.

Frequently asked questions

Why is this different from the IP address in my device settings?

Your device settings show a private address used inside your own network. This page shows the public address that websites see, which belongs to your router or your provider’s network.

Is my IP address private information?

It is visible to every site and service you connect to, so it is not secret. It points to your provider and a rough area rather than to you personally. Treat it as something worth not sharing publicly, but not as a password.

How can I change my public IP address?

Switching to another network, such as a mobile hotspot, gives you a different address. Restarting your router can change it if your provider assigns addresses dynamically, and a VPN replaces it with the VPN server’s address. Your provider can also tell you whether yours is dynamic or static.

Why does the location look wrong?

IP location comes from databases that map address blocks to places, and it often points to a provider’s regional hub instead of your street. That is why this tool shows only the country and network, as an approximation.

What is the difference between IPv4 and IPv6?

IPv4 addresses are 32 bits long, like 203.0.113.7, and are running short. IPv6 addresses are 128 bits long and plentiful. Most connections today can use both, and which one you see depends on your network and the site.

Do you store or log my IP address?

Our code does not. It reads the address, returns it to you and keeps nothing, and the answer is marked so browsers do not cache it. Cloudflare, which delivers the site, handles requests under its own privacy policy.

Sources and further reading