How to Find Your Public IP Address (2026 Guide)

Step-by-step ways to find your public IPv4 or IPv6 address on Windows, macOS, Linux, iPhone, and Android — plus what websites see when you visit.

How to Find Your Public IP Address (2026 Guide)

Quick ways to find your public IP

Your public IP address is what websites, games, and APIs see when you connect. It differs from a private LAN address like 192.168.1.1.

The fastest method: open PINIP.net My Location — your IP, map, ISP, and ASN appear instantly with no install.

By operating system

Windows 10 / 11

  1. Open Settings → Network & Internet → Wi-Fi (or Ethernet).
  2. Select your active network → view Properties.
  3. Find IPv4 address (local) — for public IP, use a lookup tool.

Or run curl ifconfig.me in PowerShell for your public address.

macOS

System Settings → Network → select interface → details. For public IP, visit pinip.net or run curl ifconfig.me in Terminal.

Linux

Use ip addr for local interfaces. For public IP: curl -4 ifconfig.me or open our My Location page.

iPhone & Android

Mobile settings show Wi-Fi/local addresses only. Use a browser and open My Location on cellular data to see your carrier-assigned public IP.

IPv4 vs IPv6

Many networks are dual-stack. PINIP.net detects both — search either format in the bar or append to the URL: pinip.net/8.8.8.8.

FAQ

Is my public IP permanent?

Usually dynamic on home broadband. Datacenter and VPN IPs may be static or rotate per session.

Can websites see my exact address?

No. IP geolocation is city/region level at best — see our accuracy guide.

← All guides