How to Find Your IP Address on Any Device
The fastest way to find your public IP address is the box at the top of our homepage — it shows the address the internet sees for your connection, including your VPN or proxy exit if you are using one. The steps below show how to find the address on each device, and how to tell a public address from a private one.
Windows
- Press Windows + R, type
cmdand press Enter to open Command Prompt. - Type
ipconfigand press Enter. - Look for “IPv4 Address” under your Wi-Fi or Ethernet adapter — that is your private address (usually 192.168.x.x).
- Your public address is the one shown on this page — the router's address, not the machine's.
Mac
- Open System Settings → Wi-Fi, click Details next to your network.
- Your private IP address is shown there.
- Or open Terminal and type
ipconfig getifaddr en0for Wi-Fi (oren1for Ethernet). - For your public address, visit this page.
iPhone
- Open Settings → Wi-Fi.
- Tap the ⓘ (info) icon next to your connected network.
- Your private IP address is listed under “IP Address”.
- Your public address is shown on this page in Safari.
Android
- Open Settings → Network & internet → Wi-Fi (wording varies by phone).
- Tap your connected network.
- Your private IP address is shown in the network details.
- Your public address is shown on this page in your browser.
Your router
Open your router's admin page (usually at 192.168.1.1 or 192.168.0.1 in a browser) and look for “WAN IP”, “Internet IP” or “Public IP” on the status page. That is the public address your whole home shares.
From the command line
curl https://myipaddress.anees786804.workers.dev/ip
# returns just your public IP address as plain text
On the machine itself, ipconfig (Windows), ip addr (Linux) or ifconfig (macOS) show your local addresses. If the one printed starts with 192.168. or 10., that is the private address — the public one is on the router, not the machine.
Frequently Asked Questions
How do I find my IP address without JavaScript?
Run curl https://myipaddress.anees786804.workers.dev/ip for plain text, or /json for the full details, from the machine you want the address of. To see the address a specific connection exits from — including a VPN — run it from that connection.
Why does ipconfig show a different IP than this website?
ipconfig shows your private address (192.168.x.x), which only works inside your home network. This website shows your public address — the one your router presents to the internet. Both are correct; they are different addresses.
How do I find my IP address on my phone?
On iPhone: Settings, Wi-Fi, tap the info icon next to your network. On Android: Settings, Network, Wi-Fi, tap your network. Both show the private address; your public address is on our homepage.
What is my router's IP address?
Your router's public IP is the address shown on our homepage. Its private admin address is usually 192.168.1.1 or 192.168.0.1 — type that into a browser while on your home Wi-Fi to open the router settings.