How-to
How to Check Your Public IP Address: Browser, CMD, Terminal and Phone
The fastest way to find your public IP in seconds, plus how it differs from your private IP and why the number changes.

Quick answer: The fastest way to check your public IP address is to open an IP lookup page in any browser. Show Me My IP displays your public IP in about a second, along with your city, region, country, internet provider (ISP) and timezone. No signup or app is needed.
Key takeaways
- Open an IP lookup page and read the address at the top. Use the copy button to paste it anywhere.
- Your public IP comes from your internet provider and can change over time.
- Your private IP (often 192.168.x.x or 10.x.x.x) is the address your router gives each device at home.
- Windows, macOS and Linux can all show your public IP with a one-line command.
- A VPN, proxy or switch to mobile data changes the public IP websites see.
Contents
- Check your public IP in a browser
- Public IP vs. private IP
- Check your IP address in CMD and Terminal
- Find your IP address on a phone
- Fix inconsistent results
- Frequently asked questions
The fastest way: check your public IP in a browser
Your public IP address is the one your internet provider assigns to your home network. Every website you visit sees it. A browser lookup is the simplest way to find it, and it works on computers, phones and tablets.
- Open Show Me My IP in any browser.
- Read the address at the top of the results.
- Tap the copy button if you need to paste it into a form, whitelist or support ticket.
Because providers can change your public IP, an address you noted last week may not match today. A fresh lookup always shows the current one.
Public IP vs. private IP: why you see two numbers
Many people find two different IP addresses and wonder which is right. Both are, because they do different jobs:
- Public IP: the single address the internet sees for your whole home network.
- Private IP: the address your router gives each device inside your home, usually starting with 192.168 or 10.
Think of the public IP as your street address and the private IP as a room number. Mail arrives at the house, and your router delivers it to the right room. That's why a browser lookup shows one number while your device settings show another.
Private addresses aren't visible on the open internet. When a website, game server or work whitelist asks for your IP, give it the public address.
How to check your IP address in CMD and Terminal
Prefer the command line? You can get your public IP without opening a website.
Windows (Command Prompt on Windows 10 and 11):
curl https://api.ipify.org
Windows PowerShell:
Invoke-RestMethod -Uri "https://api.ipify.org"
macOS or Linux Terminal:
curl https://api.ipify.org
Each command asks a public IP service for your address and prints only the number, which makes it handy for scripts and remote servers. Note that it sends a request to a third-party service.
To see your private IP instead, run ipconfig on Windows or ipconfig getifaddr en0 on a Mac.
How to find your IP address on a phone
Phones have both kinds of addresses too.
- Private IP: open Settings, tap Wi-Fi, select your connected network and look for the IP address field.
- Public IP: open a browser and visit Show Me My IP, just like on a computer.
- Compare connections: switch between WiFi and mobile data. Each gives a different public IP.
Fix inconsistent results and choose a trustworthy IP checker
Two checks can return different public addresses. The usual causes:
- Your provider assigned a new dynamic IP, which is normal. Learn more in why your IP address keeps changing.
- A VPN or proxy is routing your traffic. Turn it off and check again.
- You switched between WiFi and mobile data.
- You're on a work or school network that shares one address for everyone.
Pick an IP checker that's clear about what it does with your data, and avoid sites that ask for more information than a lookup needs.
If your connection is also slow or unstable, the cause may be your WiFi. The WiFi Signal & Channel Checker spots weak connections, and our guide to optimizing home WiFi speed walks through fixes.

Next step: confirm your public IP, then test your speed
Before you troubleshoot any connection problem, check your public IP first. It shows what the internet sees and gives you a baseline for every later check. Then run a free internet speed test to confirm your network is delivering the speed you pay for.
Frequently asked questions
How do I check my public IP address online?
Open a public IP checker such as Show Me My IP in any browser. The page shows your public IP automatically, with no account or install. If a VPN or proxy is on, you will see the VPN server's address instead of your home connection's.
Is 192.168.1.1 a public IP address?
No. 192.168.1.1 is a private address reserved for local networks, and it is usually your home router's default gateway. Private addresses can't be reached from the internet, so a public IP checker will always show a different number.
How do I check my public IP address in Command Prompt?
On recent Windows versions, type curl https://api.ipify.org in Command Prompt, or run Invoke-RestMethod -Uri https://api.ipify.org in PowerShell. On macOS and Linux, run curl https://api.ipify.org in Terminal. Each command prints only your public address.
Can I find my public IP address without visiting a website?
Not from your device alone, because it only knows its private address. Your router's status page usually lists the WAN IP, which is your public address. Otherwise, a command-line query to an IP service is the quickest option.
Why does my public IP address keep changing?
Most home internet providers assign dynamic IP addresses that change after a router restart, a lease renewal or network maintenance. Switching between WiFi and mobile data, or turning a VPN on, also changes the address websites see.
Photos from Wikimedia Commons, credited in each caption.