What is a WebRTC leak?
WebRTC (Web Real-Time Communication) is a browser API that enables peer-to-peer audio, video, and data sharing. To establish connections, WebRTC uses STUN servers to discover your network interfaces and IP addresses.
When you use a VPN, your traffic is routed through an encrypted tunnel so websites see the VPN server's IP instead of yours. However, WebRTC operates outside of this tunnel on some browser configurations, potentially exposing your real IP address to any website that requests it via JavaScript.
How this test works
- Click Run Test to start the detection process.
- The tool fetches your public IP (the one websites normally see).
- Simultaneously, it creates a WebRTC peer connection to discover IP addresses exposed through ICE candidates.
- If WebRTC reveals a public IP that differs from your VPN IP, a potential leak is flagged.
Preventing WebRTC leaks
- Firefox: Navigate to
about:configand setmedia.peerconnection.enabledtofalse. - Chrome/Edge: Install a WebRTC leak prevention extension or use a VPN client with built-in leak protection.
- Brave: WebRTC IP leak is blocked by default in Brave's Shields.
- VPN apps: Many VPN providers include a "WebRTC leak protection" toggle in their settings.