By Tim King · Updated
What Is My IP
IPv4 or IPv6, Public or Carrier-Grade NAT Status and Reverse DNS Hostname
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the What Is My IP works
What is my IP? This page answers it the moment it loads: the public IP address your connection presents to every website, whether it is IPv4 or IPv6, what kind of address it is, and the reverse DNS hostname your internet provider has attached to it.
What is my IP address, and where does it come from?
Your device usually has a private address on your home or office network, such as 192.168.1.20, and your router swaps it for one shared public address on the way out. That public address is what a website sees, and it is what this page shows: the server reads the address the connection arrived from and sends it straight back, without storing it.
There is no formula as such, but the reverse DNS name follows a fixed rule: reverse the four numbers of an IPv4 address and add in-addr.arpa, or reverse every hex digit of a full IPv6 address and add ip6.arpa. The PTR record at that name is the hostname your provider chose.
First example. A home broadband line shows an address such as 203.0.113.45 (a documentation address standing in for a real one), version IPv4, type Public, with a PTR hostname such as host-203-0-113-45.example.net that names the provider.
Second example. A phone on mobile data shows an address such as 2001:db8:8e1c::5f, version IPv6. The same phone on an IPv4-only site may appear as a different, shared IPv4 address from the carrier.
How many people share my IP address? On a home line, everyone in the house shares one public IPv4 address. On mobile networks and some fibre providers, carrier-grade NAT puts hundreds of customers behind one address, which is why a 100.64.0.0/10 address is labelled shared.
Special IP address ranges and what seeing one means
| Range | Name | What it means |
|---|---|---|
| 10.0.0.0/8 | Private (RFC 1918) | Inside a LAN; never seen on the internet |
| 172.16.0.0/12 | Private (RFC 1918) | Inside a LAN; common on Docker and corporate networks |
| 192.168.0.0/16 | Private (RFC 1918) | Inside a home network; the usual router range |
| 100.64.0.0/10 | Carrier-grade NAT | Shared with other customers of your provider |
| 127.0.0.0/8 | Loopback | This machine talking to itself |
| 169.254.0.0/16 | Link-local | No DHCP server answered; self-assigned |
| 0.0.0.0/8 | This network | Not a usable destination address |
| 192.0.2.0/24 | Documentation (TEST-NET-1) | Used in examples only |
| 198.51.100.0/24 | Documentation (TEST-NET-2) | Used in examples only |
| 203.0.113.0/24 | Documentation (TEST-NET-3) | Used in examples only |
| 198.18.0.0/15 | Benchmarking | Reserved for network testing |
| 224.0.0.0/4 | Multicast | One-to-many traffic, not a host |
| 240.0.0.0/4 | Reserved | Not routed on the internet |
| 255.255.255.255/32 | Broadcast | Every host on the local network |
| Anything else (IPv4) | Public | Routable on the internet; what websites see |
| ::1/128 | IPv6 loopback | This machine talking to itself |
| fe80::/10 | IPv6 link-local | Valid only on the local link |
| fc00::/7 | IPv6 unique local | Private, like RFC 1918 |
| ff00::/8 | IPv6 multicast | One-to-many traffic, not a host |
| 2001:db8::/32 | IPv6 documentation | Used in examples only |
| 64:ff9b::/96 | NAT64 | An IPv4 address carried over IPv6 |
| 2002::/16 | 6to4 | Legacy IPv6-over-IPv4 tunnelling |
| 2001::/32 | Teredo | Legacy IPv6 tunnelling over UDP |
| 2000::/3 | IPv6 global unicast | Public; what websites see |
Tips and pitfalls
A VPN or proxy replaces your address with its own, so this page is a quick way to confirm one is working. Your address can change when the router restarts unless your provider gives you a static IP. The address reveals your provider and rough region, never your street address.
FAQ
Why is my IP different from the one in my router settings?
The router page usually shows your private LAN address, such as 192.168.1.1. The address here is the public one on the internet side. If the router's WAN address is in 100.64.0.0/10, your provider uses carrier-grade NAT and the public address is shared.
Why does it show IPv6 when I expected IPv4?
Your device and network support IPv6, and browsers prefer it when both are available. Sites that only support IPv4 see a separate IPv4 address. Both belong to you at the same time.
Can a website find my location from my IP?
Only roughly. Geolocation databases map address blocks to the provider's region or city, and are often wrong by tens of miles. Your street address is held only by your provider, which releases it under a court order or similar legal process.
How do I hide or change my IP address?
Use a VPN, Tor or a proxy, and sites see that service's address instead. Restarting your router can get a new dynamic address from some providers. Mobile data and public Wi-Fi also give you a different address.
Is my IP address stored when I use this page?
No. The server reads the address from the connection, sends it back in the response and keeps no log of it. The reverse DNS lookup goes from your browser to Cloudflare's public DNS resolver, the same as any DNS query you make.
See also: all Dev Utilities tools, Formatters & Validators, Data & Encoding, Security & Identifiers, SEO, Accessibility, AI.
Related tools
IP Address Info
Classify any IPv4 or IPv6 address and see its every form.
IP Subnet Calculator
Network, broadcast, host range and counts for any subnet.
Email DNS Record Checker
Check an SPF, DKIM or DMARC record before you publish it.
Browser Detector
See your browser, OS, screen and supported features at a glance.
.htaccess Generator
Build an Apache .htaccess from toggles for HTTPS, caching, headers and more.