Skip to content
$ webrtc-test --stun --compare-ip

WebRTC Leak Test

Check whether your browser exposes your real IP through WebRTC while a VPN or proxy is on. The test runs in your browser and compares what it finds with the IP our server sees.

Your IP Address (Server-Detected)
216.73.217.18

Detecting WebRTC leaks...

What is WebRTC Leak?

WebRTC (Web Real-Time Communication) is a technology that enables peer-to-peer communication in browsers. However, it can expose your real IP address even when you're using a VPN or proxy.

This happens because WebRTC uses STUN servers to discover your public IP address for direct peer connections, potentially bypassing your VPN/proxy protection.

How this test works: We use the RTCPeerConnection API to discover all IP addresses visible to your browser and compare them with the IP address our server sees.

// 01

Read your result

Start with the verdict at the top of the result. It compares the addresses your browser reveals through WebRTC with the IP our server sees when you load this page.

  • Public addresses. If a public IP appears that differs from the one our server sees, your browser is exposing a different address than the one your VPN or proxy presents. That is the leak this test looks for.
  • Matching public address. If the only public address matches what the server sees, WebRTC is not revealing anything extra.
  • Local addresses. Private addresses such as 192.168.x.x or 10.x.x.x only describe your own network. They are not reachable from the internet and are rarely the main concern.

The test runs in your browser using STUN requests, so the outcome depends on the browser, its extensions and your network at that moment.

// 02

How to stop WebRTC leaks

The most reliable fix is a VPN client or browser extension that has a WebRTC protection setting, since it blocks the leak inside the browser. Switch it on and run the test again.

  • Firefox. Open about:config, search for media.peerconnection.enabled and set it to false. This turns WebRTC off completely.
  • Chrome and other Chromium browsers. There is no built-in switch. Use a WebRTC-control extension or a VPN with built-in protection, and check the result afterwards.
  • Mobile. Behaviour differs by browser and VPN app, so test on the device you actually use.

Be careful: disabling WebRTC breaks browser-based video calls, screen sharing and some meeting apps. If you rely on them, prefer a setting that hides only the public address rather than turning the whole feature off.

// 03

Test with VPN on and off

Run the test once with your VPN or proxy off and once with it on. With it off, the public address should match your normal IP. With it on, the address you see should be that of the VPN or proxy. A result that still shows your own address with the VPN on points to a leak. One passing test does not prove you are protected everywhere, because other leak paths such as DNS exist, so repeat it after changing browsers, extensions or VPN settings.

// faq

Frequently asked questions

What is a WebRTC leak?

WebRTC lets browsers connect directly for calls and file transfer. To do that it can reveal your IP addresses to websites, including your real one when a VPN or proxy is active.

Is a local IP address a risk?

Usually not. A private address such as 192.168.1.5 is only meaningful inside your own network. The public addresses are the ones to look at.

Does a VPN stop WebRTC leaks?

Not always. Some VPN apps and extensions include WebRTC protection and some do not. Run this test with the VPN on to find out for your setup.

How do I turn off WebRTC in Chrome or Firefox?

In Firefox set media.peerconnection.enabled to false in about:config. Chrome has no built-in switch, so use a WebRTC-control extension or a VPN with protection. Turning it off breaks browser video calls.

Why does the test show no result?

The browser may block WebRTC, an extension may hide the candidates, or the STUN request may be filtered by your network. No candidates in the list is itself a sign that nothing is being exposed through this route.

last reviewed: 2026-12-02 ยท how we test