What Is My IP Address?
Your browser & device
These details are read locally by JavaScript and are not sent to our server.
Get your IP from the command line
curl -s "https://mini-tools.top/tools/my-ip/?format=text" | curl -s "https://mini-tools.top/tools/my-ip/?format=text" |
curl -s "https://mini-tools.top/tools/my-ip/?format=json" | curl -s "https://mini-tools.top/tools/my-ip/?format=json" |
What is an IP address?
An IP address is the number that identifies your connection on the internet. The address shown above is your public IP โ the one websites and online services see when you connect. It is usually assigned by your internet provider to your router, and every device on your home or office network shares it.
Public vs private IP
| Public IP | Private IP | |
|---|---|---|
| Visible to | Every website you visit | Only devices on your local network |
| Examples | 203.0.113.42, 2001:db8::1 | 192.168.1.10, 10.0.0.5, 172.16.0.2 |
| Find it | This page | ipconfig (Windows), ip addr (Linux), System Settings โ Network (macOS) |
IPv4 vs IPv6
IPv4 addresses look like 203.0.113.42 (four numbers 0โ255) and there are only about 4.3 billion of them.
IPv6 addresses such as 2001:db8::1 are 128-bit and practically unlimited. If your provider supports IPv6,
websites may see your IPv6 address instead of your IPv4 address.
Why is my IP different from what I expected?
- VPN or proxy โ you will see the VPN serverโs address, not your providerโs.
- Mobile networks and CGNAT โ many customers share one public IP, which can change often.
- Dynamic IP โ most home connections receive a new address from time to time, e.g. when the router restarts.
Frequently asked questions
Is my IP address stored?
No. The page shows the address your request came from and does not save it. Our web server keeps standard access logs for security, which are rotated regularly.
Can someone find my home address from my IP?
Not directly. An IP address usually reveals only your internet provider and an approximate city or region. Only the provider can link it to a customer, typically with a legal order.
How do I hide or change my IP address?
Use a VPN or Tor to route traffic through another server, or restart your router to get a new address from a provider with dynamic IPs.
How do I get my public IP in a script?
Call https://mini-tools.top/tools/my-ip/?format=text for plain text or ?format=json for JSON, for example with curl.