IP Address Detector

Overview

The IP Address Detector simulates a network information dashboard by reading all available client-side network data from the browser’s APIs. It displays the detected IP address (via WebRTC leak simulation), timezone, language settings, screen resolution, color depth, connection type, and other environment details — all without any server-side code.

How to Use

The tool loads and populates all fields automatically. The IP detection uses the browser’s WebRTC API which can expose the local network IP address in some configurations. Additional sections show your system locale and language settings, screen properties (resolution, color depth, pixel ratio), connection info from the Network Information API (connection type, effective type, downlink speed, RTT) where supported, and battery status from the Battery API where available. All data can be copied as a formatted report.

Background & Context

IP address detection from pure client-side JavaScript is limited by design for privacy reasons. Browsers expose only the local/LAN IP via WebRTC, not the public IP seen by external servers. The public IP requires a server-side lookup (e.g., via ipinfo.io or ipapi.co). IPv4 addresses use 32-bit numbers (e.g., 192.168.1.1), supporting ~4.3 billion unique addresses. IPv6, using 128-bit addresses, was developed to address the exhaustion of IPv4 space — its address space is astronomically larger, with approximately 340 undecillion (3.4 × 10³⁸) possible addresses.