What is my IP address?
- Dashboard
- Documentation
- API
Your public ip address IPv4
216.73.216.57
Your device connected to this site over IPv4: any IPv6 address you may have cannot be detected on this connection.
What is a public IP address?
Your public IP address is the identifier your internet service provider assigns to your connection. It is the address that every website and online service you contact sees. At home, all the devices connected to the same router (computer, phone, television) usually share the same public IP address: the router translates between your local network and the internet (NAT).
It should not be confused with the private IP address (such as 192.168.1.20 or 10.0.0.5) that your router assigns to each device on the local network: that address is never visible from the internet.
IPv4 and IPv6: what is the difference?
Two generations of addresses coexist on the internet:
- IPv4: the historic format, four numbers from 0 to 255 separated by dots (for example
203.0.113.7). Its 4.3 billion possible addresses have run out, forcing providers to share a single address between several customers (CGNAT). - IPv6: the modern format, eight hexadecimal groups separated by colons (for example
2001:db8::1). Its address space is virtually unlimited, allowing every device to be given its own unique address.
Most modern connections are "dual-stack": they have both types of address at once, and each piece of software chooses which family to use for each connection.
How is your IP address detected?
Detection happens entirely server-side: the tool shows the source address of the connection your browser has just made to the site. No JavaScript, no third-party service and no external database are involved.
A network connection only uses one address family at a time: if your browser reached the site over IPv4, only your IPv4 address is visible (and vice versa). That is why a single address is displayed, along with a note of its version.
Privacy: no data is kept
Your IP address is a piece of information every website automatically receives the moment you visit it: this tool does not "collect" anything, it simply shows you what the server already sees. The address displayed is not stored, not linked to any profile and not passed on to anyone, and the page contains no adverts or advertising trackers.
Why would you need to know your IP address?
A few common situations where you need your public IP address:
- adding your address to the allow list of a firewall, server or database;
- setting up remote access (SSH, VPN, remote desktop) or port forwarding on your router;
- checking that a VPN or proxy is actually working: the address shown should be the VPN's, not your ISP's;
- giving your address to technical support to help diagnose a connection problem;
- checking whether your address changes after your router restarts (dynamic address) or stays the same (static address).
Developers can also fetch their address from the command line via the site's API, documented in this tool's API tab.
Frequently asked questions
Why is my IPv6 address not showing?
The tool shows the address of the connection your browser actually used to reach the site. If that connection was made over IPv4, your IPv6 address (if you have one) is simply not visible to the server: a network connection only uses one address family at a time.
Why does my IP address keep changing?
Most internet service providers assign dynamic addresses: your router may be given a new one after a restart or after a certain amount of time. Some providers also share a single IPv4 address between several customers (CGNAT), which can make it vary from one connection to the next. Fixed (static) addresses are usually a paid extra or reserved for business packages.
What is the difference between the address shown here and the 192.168.x.x on my network?
The 192.168.x.x (or 10.x.x.x) address is your private address, valid only on your local network. The address shown by this tool is your public address, the one that represents you on the internet. Your router links the two using NAT.
I am using a VPN: which address will I see?
The VPN exit server's address, not your ISP's. That is actually a good way of checking that your VPN is working: if the address shown is still your provider's, the tunnel is not active.
Does my IP address reveal my exact location?
No. At best, an IP address gives a rough idea of your area (town or region, depending on the provider), with highly variable accuracy. It reveals neither your home address nor your identity, which only your internet service provider can link to the address.
Example request
curl -X POST https://cdrn.fr/api/v1/tools/what-is-my-ip/execute \
-H "Content-Type: application/json" \
-d '[]'
Input schema
| Field | Type | Required | Default |
|---|
Endpoints
GET https://cdrn.fr/api/v1/tools- lists every available toolGET https://cdrn.fr/api/v1/tools/what-is-my-ip- returns the schema for this toolPOST https://cdrn.fr/api/v1/tools/what-is-my-ip/execute- runs this tool with a JSON payload