What Is My IP Address? IPv4/IPv6 + Reverse DNS
See your public IPv4 or IPv6 address and its reverse DNS
Your public IP address
Detecting…
What is my IP address — and which one do websites see?
Every device that talks to the internet is reached through an IP address, but most people actually have two: a public IP address and a private one. The public IP is the address the rest of the internet sees. Your internet provider assigns it to your router (or, on mobile data, to the carrier's gateway), and every device on your home or office network shares it when it goes online. When you ask "what is my IP?", this is almost always the number you need — for allow-listing yourself in a firewall or cloud database, configuring a VPN, setting up port forwarding, or telling support which connection to look at.
This tool shows that public IP address in large type with a copy button. It works by making a single request to our server, which reads the address the request arrived from out of the headers our CDN and reverse proxy attach to it, and sends it straight back. We also run a best-effort reverse DNS (PTR) lookup on it, which often reveals your provider's naming scheme — something like a hostname under your ISP's domain. The address is not stored or logged by this tool, and we deliberately don't run it through a geolocation database: city-level IP location is frequently wrong, and a confident wrong answer is worse than none.
You'll see either an IPv4 address (four numbers such as 203.0.113.42) or an IPv6 address (eight groups of hexadecimal, such as 2001:db8::1). If your connection supports both, your browser picks one per connection — usually IPv6 when it works — so the result tells you which protocol was actually used to reach us. Reload on a different network and the answer changes, because the public IP belongs to the network, not to your device.
Public vs private IP: what is my private IP?
Your private IP address is the one your router hands to each device on the local network, usually from the 192.168.x.x, 10.x.x.x or 172.16–31.x.x ranges. These addresses are reused in millions of homes, so they aren't routable on the internet; your router translates between them and your single public IP using NAT. That's also why no website — including this one — can show you your private IP: it never leaves your network. You have to read it from the device itself.
On Windows, open Command Prompt and run ipconfig; look for "IPv4 Address" under your active Wi-Fi or Ethernet adapter. On macOS, open System Settings → Network → your connection, or run ipconfig getifaddr en0 in Terminal (en1 on some Macs). On Linux, run ip addr show (or hostname -I) and read the inet line for your interface. On an iPhone, go to Settings → Wi-Fi, tap the (i) next to your network and read "IP Address". On Android, open Settings → Network & internet → Internet, tap your Wi-Fi network and look under the advanced details.
If the address shown at the top of this page starts with 100.64 to 100.127, your provider is using carrier-grade NAT (CGNAT): you share a public IP with other customers and inbound connections — port forwarding, hosting a game server — won't reach you without help from the ISP. Our open port checker will confirm that quickly.
How to use the What Is My IP Address? IPv4/IPv6 + Reverse DNS tool
- 1
Open the page
Your public IP address is detected automatically as soon as the page loads — there's nothing to type.
- 2
Check the version badge
The badge shows whether your connection reached us over IPv4 or IPv6.
- 3
Copy the address
Use Copy IP to put it on your clipboard for a firewall rule, allow-list or support ticket.
- 4
Find your private IP if you need it
Follow the per-OS steps in the guide — ipconfig on Windows, ipconfig getifaddr en0 on macOS, ip addr on Linux, or Wi-Fi settings on a phone.
Frequently asked questions
How does this find my IP address?
Your browser makes one request to our server. The server reads the client address from the forwarding headers our CDN and reverse proxy add, and returns it with its version and reverse DNS name. It isn't stored or logged by this tool.
Why doesn't it show my private IP?
Private addresses (192.168.x.x, 10.x.x.x and similar) only exist inside your local network and are translated to your public IP by the router, so no website can see them. The guide above shows how to read yours on Windows, macOS, Linux, iPhone and Android.
Why does my IP show as IPv6 when I expected IPv4?
When both are available, modern browsers prefer IPv6 for the connection. That's normal. If a service needs your IPv4 address specifically, check from a network or browser that only has IPv4, or ask your provider.
Does this tool show my location?
No. We don't send your IP to any geolocation service. IP location databases guess from registry and ISP data and are often wrong at city level, so we don't present one.
Is my public IP the same on every device at home?
Usually yes — everything behind the same router shares one public IPv4 address via NAT. With IPv6, each device typically has its own global address, so phones and laptops on the same network can show different IPv6 addresses.
Related on TechLogHub
Related Network Tools
cURL to Fetch Converter
Convert cURL commands to JavaScript fetch() calls instantly
cURL to Axios Converter
Convert cURL commands to Axios request code in seconds
Test API Online: REST Client with cURL Export
Send HTTP requests to CORS-enabled APIs from your browser and copy them as cURL
Mock REST API with Fake Users, Posts and Todos
Free fake REST API with users, posts, todos, comments and products for testing
HTTP Headers Viewer
View HTTP response headers for any URL
User-Agent Parser
Parse and decode user-agent strings
Get the next tool before you need it
One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.

