Skip to content
tools.best

Browse all tools

What Is My IP Address

Press the button to see the public IP address that websites see when you connect, and what it reveals about your location and provider.

Pressing the button sends a request to ipapi.co, or to api.ipify.org if that fails. Both see your IP address. Sources: RFC 1918 Updated

Your public IP address

Not looked up yet

Nothing has been requested yet. Pressing the button asks ipapi.co for your address, approximate location and provider. If that fails, api.ipify.org is asked for the address only.

What happens when you look up your IP address

A web page cannot read your public IP address by itself: the browser does not expose it. The page has to ask a server on the internet, "which address did this request come from?"

  1. Your browser sends one request to https://ipapi.co/json/. The request contains no data from this page; your IP address is simply where it comes from.
  2. ipapi.co answers with the address and what its database associates with it: city, region, country, time zone, coordinates and the network that owns the address.
  3. If that request fails, the page asks https://api.ipify.org instead, which returns the address and nothing else.
  4. The answer is shown on this page. It is not stored and not sent to tools.best.

The coordinates are shown as text with a link to OpenStreetMap. No map is loaded into the page, so no map provider is contacted unless you follow the link. The privacy page lists this lookup with the few other tools on the site that contact an outside service.

Public and private IP addresses

The address above is your public address. Inside your own network, each device has a private address that is not reachable from the internet. Private IPv4 addresses come from three reserved blocks:

BlockAddressesTypical use
10.0.0.0/810.0.0.0 to 10.255.255.255Large networks, some home routers
172.16.0.0/12172.16.0.0 to 172.31.255.255Company networks
192.168.0.0/16192.168.0.0 to 192.168.255.255Most home routers

If an address starts with one of these, it is a private address. In IPv6 the equivalent block is fc00::/7.

How to find your router's address

The router's address inside your network is listed on your device as the default gateway:

  • Windows: open Command Prompt and run ipconfig. Look for "Default Gateway".
  • macOS: System Settings, Network, select the connection, Details, TCP/IP: "Router". In Terminal: route -n get default.
  • Linux: run ip route and read the address after "default via".
  • iPhone and Android: open the Wi-Fi settings, tap the connected network and look for "Router" or "Gateway".

Typing that address into the browser's address bar opens the router's settings page.

IPv4 and IPv6 addresses compared

An IPv4 address is four numbers from 0 to 255 separated by dots, such as 203.0.113.42, an address that RFC 5737 reserves for examples. Each number is one byte, eight bits, which text to binary shows for any character.

The IPv4 address 203.0.113.42 as four bytes: 203 is 11001011, 0 is 00000000, 113 is 01110001 and 42 is 00101010, 32 bits that together make the number 3,405,803,818.
32 bits allow 4,294,967,296 different IPv4 addresses in all.

An IPv6 address is eight groups of hexadecimal digits separated by colons, such as 2001:db8::8a2e:370:7334; hex is the base-16 notation of the text to hex converter. Many connections have both. The lookup shows whichever one your browser used to reach the service.

What Is My IP Address: FAQ

What is a public IP address?
It is the address your internet provider assigns to your connection. Every website and service you contact sees it, because it is where their answer is sent. All devices behind the same home router normally share one public IPv4 address.
How accurate is the location?
It is an estimate that lookup services derive from the address ranges of internet providers. It usually gets the country right and often the region or city, but it can be many kilometres off, and with mobile networks or a VPN it shows the location of the provider's or VPN's exit point. It never identifies a street address.
Why is the address different from the one my computer shows?
Your computer shows its private address inside your home or office network, such as 192.168.1.23. The router translates between those private addresses and the single public address shown here.
What is my router's IP address?
The router has a private address inside your network, called the default gateway. It is often 192.168.0.1, 192.168.1.1 or 10.0.0.1, but that depends on the model. The section below shows how to read it from your device.
Does my IP address change?
For most home connections it can: providers hand out addresses for a limited time, and a router restart may bring a new one. Business connections and servers often have a fixed (static) address.
Why did the lookup fail?
Ad blockers and privacy extensions often block requests to IP lookup services, and the free services limit how many lookups they answer per day. The page then tells you that neither service could be reached.

Sources