Skip to content
DevToolKit

What Is My IP Address

See your public IP address, geolocation, ISP, ASN, and connection details instantly. Includes WebRTC leak detection for VPN users. No tracking, no cookies.

Was this tool helpful?

How to Use

Find your public IP address and connection details instantly:

  1. View your IP address — Your public IP address is detected automatically when you load the page. No button click needed. The tool sends a single request to a Cloudflare Worker that reads your IP from the CF-Connecting-IP header — the IP address visible to every website you visit.
  2. Check your connection details — Along with your IP, the tool displays geolocation data (country, city, region), your ISP and ASN (Autonomous System Number), the Cloudflare data center serving you, your HTTP protocol version, and TLS version. This information comes from Cloudflare's edge network metadata.
  3. Run the WebRTC leak test — Click the leak test button to check if your browser exposes your local network IP through WebRTC. This is important for VPN users — if your local IP is visible, websites can potentially identify you even behind a VPN. The test creates a temporary RTCPeerConnection and analyzes the ICE candidates.

About This Tool

How IP Address Detection Works

Every device connected to the internet has a public IP address assigned by its Internet Service Provider (ISP). When your browser requests this page, the request passes through your ISP's network, potentially through a VPN or proxy, and arrives at Cloudflare's edge network. Cloudflare records the source IP address in the CF-Connecting-IP header, which our Worker reads and returns to your browser.

IPv4 addresses use 32-bit notation (e.g., 93.184.216.34) and are the most common format. IPv6 addresses use 128-bit hexadecimal notation (e.g., 2606:4700::6810:85e5) and are gradually replacing IPv4 as the address space is exhausted. The tool automatically detects which version your connection uses.

IP Geolocation Accuracy

IP geolocation maps IP addresses to physical locations using databases maintained by Regional Internet Registries (RIRs) and commercial providers. Cloudflare's geolocation data comes from its network-level routing intelligence. Accuracy varies: country-level detection is typically 99%+ accurate, city-level is around 50-80% accurate, and exact street-level location is not possible from an IP address alone. VPN and proxy users will see the server location, not their physical location.

WebRTC Leak Detection

WebRTC (Web Real-Time Communication) is a browser API for peer-to-peer audio, video, and data sharing. During connection setup, WebRTC gathers ICE (Interactive Connectivity Establishment) candidates, which can include your local network IP address (e.g., 192.168.1.x). This happens even when using a VPN, potentially revealing your identity. Modern browsers like Firefox and Brave mitigate this by using mDNS hostnames instead of raw IPs, but Chrome still exposes local IPs by default. The leak test checks what information your browser reveals.

ASN and ISP Information

An Autonomous System Number (ASN) identifies a network under a single administrative entity. Your ISP has one or more ASNs that route your traffic across the internet. The ASN and organization name shown by this tool identify your ISP or hosting provider. Common ASNs include AS13335 (Cloudflare), AS15169 (Google), AS16509 (Amazon AWS), and AS32934 (Meta). This information is publicly available from routing tables and is not private. For DNS-related tools, see DNS Lookup and Subnet Calculator.

Why Use This Tool

Network Troubleshooting

Knowing your public IP is the first step in network diagnostics. When configuring firewall rules, setting up remote access, or troubleshooting DNS resolution, you need to know what IP the outside world sees. This tool provides that information instantly without installing any software.

Common Use Cases

  • VPN verification: Confirm your VPN is working by checking that the displayed IP and location match your VPN server, not your physical location. Run the WebRTC leak test to ensure your local IP isn't exposed.
  • Firewall configuration: When setting up IP whitelists for servers, APIs, or admin panels, you need to know your current public IP to add it to the allow list.
  • DNS troubleshooting: Compare the Cloudflare data center (colo) serving your requests to verify that DNS routing is working correctly and you're hitting the nearest edge.
  • Geo-restriction testing: Verify which country your IP maps to when testing location-based content delivery, regional pricing, or geo-blocked services.
  • Security audit: Check what information your connection reveals to every website you visit. The ASN, ISP, city, and protocol details are all visible to any server you connect to.

Privacy

This tool does not log, store, or track your IP address. The API endpoint reads Cloudflare request metadata, generates the response, and discards everything. No cookies are set, no analytics are collected, and no IP database is maintained. The WebRTC leak test runs entirely in your browser — no network request is made. Related network tools include DNS Lookup, Subnet Calculator, IPv4 Converter, and MAC Address Lookup.

FAQ

How is my IP address detected?
Your browser sends a request to our Cloudflare Worker, which reads the CF-Connecting-IP header set by Cloudflare's edge network. This is your public-facing IP address as seen by websites you visit.
What is the WebRTC leak test?
WebRTC is a browser API for real-time communication. It can reveal your local network IP even when using a VPN. This test creates a temporary RTCPeerConnection to check if your local IP is exposed through ICE candidates.
Is my IP address stored or logged?
No. The API endpoint does not store or log any IP addresses. The response is generated on-the-fly from Cloudflare request metadata and discarded immediately.
Why does my location seem inaccurate?
IP geolocation is approximate and based on ISP routing data from Cloudflare. It typically identifies your city or region but not your exact address. VPN and proxy users will see the VPN server location instead.