WebRTC Leak Test — Check Your Real IP Exposure
Automatic test: is WebRTC exposing your real IP?
A WebRTC leak is a privacy flaw where your browser’s WebRTC feature exposes your real public IP address to any website — even when you’re connected to a VPN. WebRTC, the technology behind browser video calls, asks a STUN server for your network addresses to build the fastest connection, and those addresses can include your true IP.
The test starts automatically — WebRTC gathers candidate IPs from your browser.
Everything runs in your browser; we store no test data.
What is WebRTC and why does it leak your IP?
WebRTC (Web Real-Time Communication) is an open standard built into every modern browser. The technology powers Google Meet, Discord voice calls, WhatsApp Web calls and customer-support video widgets — no plugins needed. To build a direct peer-to-peer connection, WebRTC must discover every network path on your device. That happens by exchanging ICE candidates: your browser asks a STUN server (like stun.l.google.com) “what’s my public address?”, and the server answers. Websites can trigger the same process with a few lines of JavaScript and read the answers — including your real IP — without asking permission.
The leak is serious because it defeats the point of a VPN. You use a VPN so websites see the VPN server’s IP, not yours. But WebRTC can query your operating system’s real network interfaces directly, bypassing the VPN tunnel. The website then learns both IPs: the VPN exit IP from normal traffic and your true IP via WebRTC. Your ISP-assigned address becomes visible even though you paid for privacy.
How this WebRTC leak test works
The test above runs entirely in your browser:
- The test builds a WebRTC peer connection and collects ICE candidates for up to 5 seconds — exactly like a tracking script.
- The test extracts every IPv4 and IPv6 address from those candidates.
- Separately, the test fetches your public connection IP from ipapi.co.
- Both are compared: if WebRTC reveals a different public IP than your connection IP, that’s a leak.
Test result vs. meaning
| Result | Meaning | Action |
|---|---|---|
| No leak found | WebRTC shows the same public IP as your connection | No action — re-test after VPN/browser changes |
| LEAK DETECTED | WebRTC exposed a different public IP | Enable WebRTC protection (see below) |
| No leak — WebRTC hidden | No public IP found via WebRTC; your browser blocks or masks it | Good — modern browsers mask local IPs via mDNS |
How to stop WebRTC leaks
Browser vs. WebRTC leak protection
| Browser | Built-in control | Recommended fix |
|---|---|---|
| Chrome / Edge | None (mDNS only masks local IPs) | uBlock Origin → enable “Prevent WebRTC from leaking local IP addresses” |
| Firefox | Full control via about:config | Set media.peerconnection.enabled to false, or media.peerconnection.ice.no_host to true |
| Safari | Limited | “Develop” menu → Experimental Features → disable WebRTC options; or use a content blocker |
| Brave | Strong defaults | Usually protected; verify with this test |
Chrome and Edge (the most-used browsers): install uBlock Origin, open its dashboard → Settings, and enable “Prevent WebRTC from leaking local IP addresses”. That’s the privacy-guide-recommended fix because it stops the leak without breaking video calls.
Firefox: type about:config in the address bar, accept the warning, find media.peerconnection.enabled, set it to false and restart Firefox. If browser video calls should keep working, use the milder option media.peerconnection.ice.no_host = true — it hides local IPs while calls keep working.
Safari: enable the Develop menu (Settings → Advanced → Show Develop menu) and disable the WebRTC-related options under “Experimental Features”. Alternatively, a Safari content blocker with WebRTC protection does the same.
Also check your VPN app: providers like Mullvad, Proton VPN and IVPN offer a “WebRTC leak protection” setting — enable it and test again.
Privacy note
An IP address identifies your connection and, combined with other data, can identify you. This test runs 100% on your device: no results are sent to or stored on our servers.
Re-test after every change
Browser updates can reset experimental flags to defaults, and switching VPNs or networks (e.g. from home WiFi to mobile data) can change the result. Run this test again every time you change privacy settings.
Frequently asked questions
What is a WebRTC leak?
A WebRTC leak happens when your browser's built-in WebRTC feature reveals your real public IP address to a website — even with an active VPN connection. WebRTC is the technology behind browser-based video calls like Google Meet and WhatsApp Web. To find the best connection path, it asks a STUN server for your network addresses, and can hand your real IP to any website that asks. The test on this page replicates exactly that behavior: it collects ICE candidates like a tracking script would, and compares them to your connection IP.
Why doesn't my VPN stop WebRTC leaks?
A VPN encrypts your traffic and hides your IP from most websites, but WebRTC runs in the browser and can query your real network interfaces directly — bypassing the VPN tunnel. Some VPN providers block WebRTC or route it through the tunnel, but many don't — especially free VPNs. A VPN alone is therefore no guarantee; test for WebRTC leaks regularly. If the test shows a leak, enable WebRTC leak protection in your VPN app or block WebRTC in the browser.
How do I disable WebRTC in Chrome?
Chrome offers no built-in switch to disable WebRTC; you need an extension like uBlock Origin (enable 'Prevent WebRTC from leaking local IP addresses') or a dedicated WebRTC blocker. On managed devices, an admin can set the WebrtcIPHandling policy. Note: fully disabling it can break browser-based video calls and file sharing — the uBlock Origin option is usually the better compromise.
How do I disable WebRTC in Firefox?
Type about:config in the address bar, accept the warning, search for media.peerconnection.enabled and set it to false — then restart Firefox. That disables WebRTC entirely. The milder option: set media.peerconnection.ice.no_host to true — it hides local IPs while video calls keep working. Firefox is the only major browser with a built-in switch, which is why privacy guides often recommend it.
Does disabling WebRTC break video calls?
Possibly yes. WebRTC powers Google Meet, Microsoft Teams on the web, Discord voice calls and WhatsApp Web calls in the browser. Fully disabling it breaks these features. Many people choose selective protection instead: the WebRTC option in uBlock Origin or Firefox's no_host setting blocks the IP leak while calls keep working. If you rarely make browser calls, full disabling is the safest choice.