Guide
What is a WebRTC leak?
A WebRTC leak happens when your browser reveals your real IP address to a website even though your normal traffic goes through a VPN or proxy. WebRTC lets browsers make real-time audio, video and data connections directly to each other, which powers web calls and screen sharing. To find a direct path, the browser gathers "ICE candidates": the IP addresses where it can be reached. It also asks a public STUN server which public IP address it appears to come from. Any web page can trigger this in JavaScript without asking permission. If your VPN or proxy does not handle that traffic, the page learns your real public IP address.
How to run the test
- Connect your VPN or proxy as you normally would. Testing without it tells you nothing about leaks.
- Open this page. The test starts by itself and finishes in about 3 seconds.
- Compare IP seen by websites with IPs exposed by WebRTC. The verdict at the top does the comparison for you.
- After changing a setting or switching VPN server, press Run the test again. For browser setting changes, reload the page too.
Behind the scenes, your browser creates a WebRTC connection using Google's public STUN server (stun.l.google.com), collects every candidate address, and compares the public ones with the IP our server saw when it delivered this page.
Reading the results
The result card has four rows:
- IP seen by websites: the address your ordinary web traffic comes from. With a working VPN, this is the VPN server's address.
- IPs exposed by WebRTC: public addresses that WebRTC revealed, or "No public IP exposed".
- Local addresses: private LAN addresses such as
192.168.1.20, or "Hidden behind mDNS (.local), good" when the browser masks them. - WebRTC support: "Enabled", or "Disabled or unsupported" if WebRTC is switched off.
Open Show raw ICE candidates to see the exact lines the browser produced. A typ host candidate is a local interface, and a typ srflx candidate is the public address the STUN server reported.
| Verdict | Example | What to do |
|---|---|---|
| No WebRTC leak detected | Websites see 198.51.100.7 (VPN); WebRTC shows the same, or nothing | Nothing. Your VPN covers WebRTC. |
| WebRTC is leaking a different public IP | Websites see 198.51.100.7 (VPN); WebRTC shows 203.0.113.45 (your home ISP) | Your real IP is exposed. Apply a fix below, then retest. |
| WebRTC exposes an additional public IP | Websites see 198.51.100.7; WebRTC also shows 2001:db8:4f::21 | Usually your IPv6 address bypassing an IPv4-only VPN. Check it with the IPv6 test. |
| No public leak, but local IPs are visible | WebRTC shows 192.168.1.20 | A minor fingerprinting risk, not a leak of your public IP. |
| No WebRTC leak possible | WebRTC support: Disabled or unsupported | Nothing. Web calls will not work in this browser, though. |
Without a VPN, seeing your own IP in both rows is normal. Websites already know that address.
How to fix a WebRTC leak
- Use a VPN app with WebRTC leak protection, or route all traffic through the VPN at the system level rather than with a browser-only proxy extension. Browser proxy extensions are the most common cause of leaks, because WebRTC traffic does not go through the proxy.
- Firefox: open
about:configand setmedia.peerconnection.enabledtofalse(this disables web calls). - Chrome and Edge: use a WebRTC-limiting extension, such as Google's own WebRTC Network Limiter, which stops WebRTC from using non-proxied routes.
- Brave: in privacy settings, set WebRTC IP handling policy to "Disable non-proxied UDP".
- Safari: does not expose local IPs by default; keep it updated.
- IPv6: if the extra address is IPv6, pick a VPN that tunnels IPv6 or blocks it, or disable IPv6 on the network adapter while connected.
Other leaks to check
WebRTC is only one way a VPN can leak. Your DNS queries can still go to your ISP, revealing which sites you visit, and IPv6 traffic can bypass a tunnel completely. Check what your normal traffic reveals with What is my IP and What is my ISP, and read DNS and WebRTC leaks explained and VPN vs proxy.
Limits
- The test gathers candidates for 3 seconds. A very slow network can miss a late candidate, so run it again if the result looks odd.
- It uses one STUN server. A page using TURN relays or other servers could in theory see other addresses.
- Our private-address check covers the standard IPv4 private and CGNAT ranges and IPv6 unique-local and link-local prefixes. Anything else is treated as public.
- It tests only the browser you open it in. Each browser and profile has its own settings.
Privacy
The test runs in your browser. The ICE candidates are not sent to our server; we only compare them on the page with the IP address our server already saw when it delivered the page. The STUN request goes to Google's STUN server, which sees your public IP, as with any WebRTC call.
Frequently asked questions
Is a local IP like 192.168.1.20 in the results a problem?
Not much. It reveals little on its own, but combined with other data it helps fingerprint you. Most browsers now replace it with an mDNS name.
Does incognito mode prevent WebRTC leaks?
No. Private browsing does not change how WebRTC gathers addresses.
Does a VPN stop WebRTC leaks?
A full-device VPN app usually does, because all traffic, including STUN requests, goes through the tunnel. Browser proxy extensions and some VPN extensions do not, which is exactly what this test catches.
Should I disable WebRTC completely?
Only if you never use browser-based calls. Disabling it removes the leak but breaks video calls, screen sharing and some games in the browser. Leak protection in your VPN is the better fix.
Why does WebRTC show an IPv6 address I do not recognise?
It is most likely your own IPv6 address from your ISP. Many VPNs tunnel only IPv4, so IPv6 traffic goes out directly and reveals it.
Updated
Comments
Share a tip, ask a question or tell others how the tool worked for you.