What Is My IP? Public IP, ISP & WebRTC Leak Test
See your public IP, ISP (ASN) and approximate city, check whether your VPN leaks your real IP through WebRTC, and calculate CIDR subnets. Free, no signup.
Updated November 2026
Reviewed by Rafael Duarte
YOUR PUBLIC IP
ISP (PROVIDER)
LOCATION
ASN
PROXY / VPN
WEBRTC TEST
Digital Browser Fingerprint
Operating System
Browser
Screen Resolution
Language
Timezone
Do Not Track
Disabled
User Agent
CIDR / Subnet Calculator
CALCULATED RESULTS
First IP
192.168.1.1
Last IP
192.168.1.254
Usable Hosts
254
Network Address
192.168.1.0
Broadcast
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard
0.0.0.255
IPv4 to IPv6 Converter
e.g. 127.0.0.1
Knowledge Center
What is my IP address, and what else is on this page
Your public IP and a WebRTC leak test run on their own as the page opens
1. Your public IP shows up at the top
The big number under YOUR PUBLIC IP is the address websites see when you connect. Next to it you get the IP version, the ISP and ASN, and an approximate city and country. The copy button puts the IP on your clipboard.
2. The WebRTC leak test runs in parallel
For about 3.5 seconds the browser gathers its WebRTC candidates through Google's STUN server. Any public address that doesn't match the IP at the top is reported as a leak, which is how you catch a VPN that only hides part of your traffic.
3. Network calculators below
Further down, the CIDR / Subnet Calculator takes any IPv4 address and a prefix from /0 to /32, and the IPv4 to IPv6 Converter turns an IPv4 address into its IPv4-mapped IPv6 form.
What this page shows you
Your own connection first, then a couple of calculators for network work
Your public IP, ISP and ASN
Loaded from ipinfo.io as soon as the page opens: IPv4 or IPv6, network provider, ASN, city and country. It always describes the connection you're browsing from; there's no field to look up someone else's address.
WebRTC leak test
Compares the public addresses your browser exposes over WebRTC with the IP at the top. Private addresses are listed separately and mDNS names (*.local) are ignored, because neither one identifies you.
Digital Browser Fingerprint
Seven attributes any site can read without asking: operating system, browser, screen resolution, language, timezone, Do Not Track and the full user agent. Tracking scripts add more (canvas, WebGL, fonts), so read this as the baseline.
CIDR / Subnet Calculator
Any IPv4 address with a prefix from /0 to /32: first and last IP, usable hosts, network address, broadcast, subnet mask and wildcard.
IPv4 to IPv6 Converter
Turns an IPv4 address into its IPv4-mapped IPv6 address in hex (::ffff:c0a8:0101 for 192.168.1.1) and also prints the fully expanded notation.
Runs in your browser
The fingerprint, the CIDR math and the converter run locally. Only two requests leave your device: the IP lookup to ipinfo.io and the WebRTC test to Google's STUN server.
CIDR calculator — quick reference table
Common subnet prefixes and how many hosts they hold
When you'll reach for this tool
The scenarios that bring most people here
Confirming a VPN isn't leaking
Connect the VPN, reload the page and check two things: the IP at the top should be the VPN server's, and the WebRTC card should say No Leak Detected.
Giving someone your IP
A firewall allowlist, a database access rule or a support ticket asks for your public IP. Copy it with one click instead of reading it off a router page.
Checking which network you're really on
The ISP and ASN tell you whether traffic is leaving through your home provider, a mobile carrier, the office network or a VPN exit.
Planning a subnet before deployment
Work out how many hosts fit under a CIDR prefix, and where the range starts and ends, before configuring a router or a cloud VPC.
Seeing what a site learns without asking
The Digital Browser Fingerprint card lists the basic attributes every page can read, such as user agent, timezone and screen size.
Common mistake? Start here
Assuming a VPN hides your IP completely
WebRTC can expose your real IP through the browser even with the VPN tunnel active. Test it instead of assuming.
Trusting the leak test when the IP didn't load
The test needs the IP at the top to compare against. If that card shows an error (an ad blocker can block ipinfo.io), the leak result means nothing; fix that and reload.
Reading local IPs as a leak
Addresses under "Local IPs found" come from private ranges such as 192.168.0.0/16 and 10.0.0.0/8. They only exist inside your network and don't reveal who you are.
Expecting street-level location accuracy
IP geolocation usually gets the country right, but the city is far less reliable, and it never shows an exact address.
Why use this page to check your IP
It answers "what is my IP" and "is my VPN leaking" on the same screen, without a click: your public IP, ISP and ASN at the top, the WebRTC leak test next to it. The Digital Browser Fingerprint, a CIDR / Subnet Calculator and an IPv4 to IPv6 Converter sit underneath for when you need them.
Nothing is stored or logged by this site. The fingerprint and the calculators run in your browser; the only outside requests are the IP lookup to ipinfo.io and the STUN request the WebRTC test needs.
IPv4 vs. IPv6
The two addressing protocols, side by side
Frequently asked questions
It's the number at the top of this page, under YOUR PUBLIC IP: the address your internet provider gives your connection and the one every website sees. It's not the same as your local IP, which your router assigns to each device. To see the local one, run ipconfig in the Windows Command Prompt, ip addr in a Linux terminal, or ipconfig getifaddr en0 in the macOS Terminal.
Connect your VPN first and reload the page, so the IP at the top is the VPN server's. If the WebRTC card says Leak Detected, the browser exposed a different public address, usually your real one, and lists it under "Leaked public IPs". Addresses under "Local IPs found" belong to your own network and are harmless. The test only compares addresses of the same family: an IPv4 address found by WebRTC while the top shows IPv6 isn't a leak, and for IPv6 it compares the /64 network prefix.
WebRTC is the browser API behind video calls. To set up a connection it gathers ICE candidates, and those can include your local and public IP addresses, reachable by any page through JavaScript. If that request goes around the VPN tunnel, a site can see your real IP even while the VPN is on.
For normal web traffic it replaces your IP with the VPN server's. WebRTC is the usual exception, so run the leak test on this page with the VPN connected. If it leaks, the card shows a How to fix WebRTC leaks link to a step-by-step guide.
It's a quick check on the provider name returned by ipinfo.io. If the name contains words like VPN, proxy, hosting, AWS, DigitalOcean or Cloudflare, the badge says DETECTED. It doesn't query a VPN database, so a VPN running on residential IPs can still show NOT DETECTED.
The small badge next to your IP shows which protocol your connection used to reach the lookup. Many connections are dual-stack and have both, and the browser decides which one to use per request. For how the two differ and why IPv4 ran out, see IP addresses: IPv4 vs IPv6.
A public IP is assigned by your ISP and is visible to every website you connect to. A private IP (in the 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 ranges) only exists inside your local network, where your router translates it to the public one. The full explanation, including static vs dynamic, is in Public, private, static and dynamic IP.
It's usually right at the country level and much less reliable for the city, depending on how well the ISP's ranges are mapped in geolocation databases. It never identifies your street address, only an approximate area tied to your provider's infrastructure.
Take 2 raised to the number of host bits (32 minus the prefix), then subtract 2 for the network and broadcast addresses. A /24 has 8 host bits, so 2^8 − 2 = 254 usable hosts; a /16 gives 65,534. The rule holds up to /30. A /31 is the exception used on point-to-point links (RFC 3021), where both addresses are usable, and a /32 is a single host, so the calculator shows 2 and 1 for them.
References
The official IETF specification defining the private IP address ranges reserved for local networks.
Mozilla's documentation for the browser API behind the WebRTC leak test on this page.
The IETF standard that defines CIDR notation and the address allocation scheme this calculator implements.
Related Tools
- ASCII Table Generator: Plain-Text & Markdown Tables Developer Turn CSV or typed data into a plain-text table: MySQL, Unicode box, rounded, double-line, Markdown, RST or minimal style. Copy it or download as .txt.
- Base64 Decode Online — Free Base64 to Text Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 Encoder: Encode Text, PDF & Files Online Developer Encode UTF-8 text or any file (PDF, DOCX, XLSX, ZIP up to 50 MB) to Base64 or Base64URL. Runs in your browser, nothing is uploaded. Free, no sign-up.
- Base64 to Image Online: Preview and Save PNG, JPG, GIF Developer Paste raw Base64 or a data:image URL to preview the image with its type, dimensions and size, then save the original file. No upload, runs in your browser.
- Bcrypt Generator & Checker: Hash and Verify Passwords Developer Generate a bcrypt hash with cost 4 to 18 or check whether a password matches a $2a$, $2b$ or $2y$ hash. Runs in your browser; nothing is uploaded.