test.cihat.dev

What is my IP address

Your IP address is shown at the top of this page: it is the public address that websites see when you visit them from this device and connection, with whether it is IPv4 or IPv6, an approximate location and the network it belongs to.

Your public IP address

Looking it up…

Details of this address
Protocol–
Approximate location–
Network (provider)–

This site’s server reads the address from your request and sends it back. It is not stored.

How to use it

  1. Open the page. Your public address appears at the top, with whether it is IPv4 or IPv6.
  2. Read the approximate location and the network: they come from Cloudflare’s data about the address, not from your device.
  3. Press Copy IP address to paste it into a support chat, a router or a firewall rule. Turn a VPN on or off and press Check again to see the change.

How this page finds your address

Every request your browser sends carries the address it came from, because the server has to know where to send the answer. This site runs on Cloudflare’s network: when the page loads, it asks this site’s own server for /_ip, and the server sends back the address of that request together with the country, city and network (ASN and owner) that Cloudflare attaches to it. Nothing is written to a log or a database, and the answer is marked not to be cached.

No page can read your address from your device itself. What you see is what any website sees, which is also why it changes when you switch networks or turn on a VPN.

IPv4 or IPv6

An IPv4 address is 32 bits, written as four numbers from 0 to 255, such as 203.0.113.7; there are 4,294,967,296 of them in all. An IPv6 address is 128 bits, written as eight groups of hexadecimal digits with runs of zeros shortened to ::, such as 2001:db8::1. Both examples here come from ranges reserved for documentation, so they belong to no one.

Most connections today have both. The standard rules for choosing an address prefer IPv6, and browsers race the two (“Happy Eyeballs”), falling back to IPv4 if IPv6 is slow to connect, so this page usually shows IPv6 when your provider supports it. Many devices also use temporary IPv6 addresses for privacy; the standard default replaces the preferred one every day, so your IPv6 address can change while the IPv4 one stays the same.

Public and private addresses

Your router has one public address on the internet, shared by every device at home. Inside your network each device gets a private address from a range set aside for that purpose, which websites never see.

Address ranges that are not public
RangeWhat it isSeen as
10.0.0.0 – 10.255.255.255private network (RFC 1918)offices, some home routers
172.16.0.0 – 172.31.255.255private network (RFC 1918)offices, virtual machines
192.168.0.0 – 192.168.255.255private network (RFC 1918)most home routers, e.g. 192.168.1.20
100.64.0.0 – 100.127.255.255carrier-grade NAT (RFC 6598)the router’s outside address when the provider shares one public address among customers

Finding the local address of a device

To find the private address, look on the device. On Windows, type ipconfig in Command Prompt: it lists the IPv4 and IPv6 address of every network adapter. On a Mac, open the details of your Wi-Fi network in System Settings. On iPhone and Android, open the Wi-Fi settings and tap the network you are connected to.

If your router shows an outside address that starts with 100.64 to 100.127 and differs from the one on this page, your provider uses carrier-grade NAT. Port forwarding for a game server or a home camera will not work from outside until the provider gives you a public address of your own.

Why the location can be wrong

IP addresses are given to providers, not to homes. The location comes from where the provider registers or routes an address, so it is often the nearest large city, and with a VPN or a mobile carrier it can be another city or country. A VPN replaces the address entirely: the page then shows the VPN server’s address and network.

Checking your connection before a call? The webcam and mic test checks the other half. The screen resolution checker shows what this device reports about its display.

Questions people ask

What is my IP address?

The address in large type at the top of this page is the public IP address your connection uses right now.

Does this site keep my IP address?

No. The server reads it from your request to show it to you and does not store it.

Why does the location show the wrong city?

Location from an IP address comes from where the provider registers or routes it. It is often the nearest large city, and a VPN moves it entirely.

What is my IPv4 address if the page shows IPv6?

Your browser reached this page over IPv6. Your IPv4 address is a separate one; turn IPv6 off or open the page on a network without IPv6 to see it.

How do I find my IP address on my phone or computer?

For the public address, open this page on that device. For the local address, look in the Wi-Fi details in your phone’s settings, or run ipconfig on Windows.

How can I change my IP address?

Switch networks, for example from Wi-Fi to mobile data, or use a VPN. Many providers also hand out a new address when the router reconnects, but that depends on the provider.