What Is My IP Address?

Your public IP address and detailed network information, detected instantly from our servers.

Detecting your IP address...

Quick Start
curl -H "Authorization: Bearer YOUR_KEY" https://api.iploc.ai/v1/lookup/me

What Is an IP Address?

An IP (Internet Protocol) address is a unique numerical identifier assigned to every device connected to a network that uses the Internet Protocol for communication. Think of it as a mailing address for your computer, smartphone, or any other internet-connected device. Without IP addresses, data packets would have no way of knowing where to go or where they came from.

There are two versions in use today. IPv4 addresses consist of four numbers separated by dots (e.g., 192.168.1.1), each ranging from 0 to 255, providing roughly 4.3 billion unique addresses. IPv6 addresses are much longer, written as eight groups of four hexadecimal digits separated by colons (e.g., 2001:0db8:85a3::8a2e:0370:7334), offering a virtually unlimited address space of 340 undecillion addresses. IPv6 was introduced because the world ran out of available IPv4 addresses, and adoption continues to grow each year.

Understanding Your IP Address

Your public IP address is the identity your device presents to the rest of the internet. It is assigned by your Internet Service Provider (ISP) and is typically shared among all devices on your local network through a router using Network Address Translation (NAT). This means your laptop, phone, smart TV, and any other connected device all appear to the outside world as a single IP address. Inside your home network, each device has a separate private IP address(usually in the 192.168.x.x or 10.x.x.x range) that is only visible locally and cannot be reached directly from the internet.

Your public IP address reveals information about your general location and your ISP. Websites, advertisers, and online services use this information for content localization, fraud prevention, and analytics. Law enforcement agencies can subpoena ISPs to link an IP address back to a specific subscriber account. Because your IP address is embedded in every connection you make, it effectively acts as a digital fingerprint that ties your online activity to a network location. Understanding what your IP reveals — and what it does not — is the first step toward managing your online privacy.

It is important to note that your IP address can change. Most residential ISPs assigndynamic IP addresses that rotate periodically, often when your router restarts or your DHCP lease expires. Businesses and servers typically use static IP addressesthat remain constant, which is necessary for hosting services that others need to reach reliably. You can check whether your IP has changed by revisiting this page at any time.

How to Protect Your IP Address

If you want to prevent websites and services from seeing your real IP address, several tools are available. A VPN (Virtual Private Network) is the most popular option. It encrypts all your internet traffic and routes it through a server in a location of your choosing, replacing your real IP with the VPN server's IP. Reputable VPN providers like Mullvad, ProtonVPN, and WireGuard-based services offer strong encryption and no-logging policies. Use our VPN detector to verify whether your VPN is working correctly.

Proxy servers act as intermediaries for your web traffic, masking your IP from the destination server. Unlike VPNs, most proxies do not encrypt your traffic, making them faster but less secure. Tor (The Onion Router) provides the highest level of anonymity by bouncing your traffic through multiple volunteer-operated relays around the world, making it extremely difficult to trace connections back to your real IP. However, Tor significantly reduces browsing speed and some websites block Tor exit nodes entirely.

For more details on what your IP reveals geographically, try our IP geolocation lookup tool. You can also inspect your domain's DNS configuration using our DNS lookup tool.

How Is My IP Determined?

When you visit a website or use an online service, your device sends a request through your internet service provider (ISP). Your ISP assigns your connection a public IP address, which is included in every network packet you send. The web server on the other end reads this source address to know where to send the response. This is the IP address shown on this page.

If you use a VPN, proxy, or Tor, the server sees the IP address of the intermediary rather than your real one. Similarly, corporate networks and mobile carriers often route many users through a single public IP address using Network Address Translation (NAT), meaning the IP you see here may be shared by multiple devices.

IPv4 vs IPv6

IPv4 has been the backbone of the internet since 1983, but its limited address space led to workarounds like NAT and private address ranges. IPv6 eliminates these constraints with a vastly larger address pool and includes improvements such as simplified packet headers, built-in IPsec support, and more efficient routing. Most modern operating systems and ISPs support both protocols simultaneously (dual-stack), and the transition to IPv6 is well underway, with over 40% of global traffic now using IPv6. The Iploc API supports lookups for both IPv4 and IPv6 addresses, returning the same comprehensive geolocation data regardless of protocol version.

Want this data in your app?

Get a free API key and make 1,000 requests per day. All geolocation fields included, no credit card required.