What Are My Public & Private IPs?

See both your public and private/local IP addresses

Public IP Address

Detecting...

Private (Local) IP Address

Detecting...

Public IP Location

Loading...

ISP / Organization

Loading...

IP Type

IPv4

Private IP Range

Not detected

Public vs Private IP: What is the difference?

Public IP is the address assigned by your ISP that identifies you on the internet. Every website you visit can see this address. It is unique across the entire internet and is used to route traffic back to your network.

Private IP is the address your router assigns to your device on your local network (e.g., your home Wi-Fi). Private IPs are not visible on the internet and are reused across millions of networks. Common ranges include 192.168.x.x, 10.x.x.x, and 172.16-31.x.x.

Your router performs Network Address Translation (NAT) to map your private IP to your public IP, allowing multiple devices to share a single public address.

How it works

Your public IP is detected by our server when your browser makes a request. Your private IP is detected using WebRTC, a browser API for peer-to-peer communication. By creating a temporary peer connection with a STUN server, the browser reveals the local network address assigned to your device. Some browsers or extensions may block this for privacy.

Frequently Asked Questions

What is the difference between public and private IP?
Your public IP is the address visible to the internet — assigned by your ISP to your router. Your private IP is used within your local network (home Wi-Fi). Devices on your network share one public IP but each has a unique private IP (like 192.168.x.x).
Why does my private IP start with 192.168?
IP ranges 192.168.x.x, 10.x.x.x, and 172.16-31.x.x are reserved for private networks (RFC 1918). They can't be routed on the public internet. Most home routers use 192.168.0.x or 192.168.1.x by default.
How is my private IP detected?
This tool uses WebRTC (Web Real-Time Communication) to discover your local/private IP. WebRTC is a browser technology for peer-to-peer connections that can reveal local network information. Some browsers and VPNs block this to prevent IP leaks.
Can a website see my private IP address?
Normally no — websites only see your public IP. However, WebRTC can sometimes expose your private IP. This is why VPN leak tests check for WebRTC leaks. Privacy-focused browsers and extensions can disable WebRTC to prevent this.

You might also like