WebRTC Leak Test

Check whether your browser reveals your real IP through WebRTC, even when you use a VPN.

Testing WebRTC…

No leak: WebRTC only shows the IP websites already see

WebRTC is blocked in this browser: nothing can leak

WebRTC shows a public IP that websites do not see

The test could not run. Reload the page to try again.

If you are using a VPN or proxy, this is probably your real IP and the VPN is leaking it: turn on its WebRTC protection. Without a VPN it is normal (for example, your IPv4 and IPv6 addresses).
IP that websites see
Public IPs found by WebRTC

Addresses exposed by WebRTC

AddressKindFound as

The test runs in your browser with Cloudflare's public STUN server. Nothing is stored.

Why a VPN can leak your IP through WebRTC

WebRTC is what lets you make video calls in the browser without installing anything. To connect two people directly, the browser needs to know its own addresses, so it asks a STUN server "which IP do you see?". Any website can trigger that with a few lines of JavaScript, without asking you.

With a VPN, all your traffic should go through the tunnel. But some VPN apps, browser extensions and proxies only route normal web traffic, and the STUN request goes out through your real connection. The page then learns your real IP, and the VPN loses its point.

How this test works

  1. We read the IP websites see, the same as What Is My IP.
  2. Your browser gathers its WebRTC candidates with Cloudflare's public STUN server.
  3. We compare them: a public address that is not the one websites see is a possible leak.

How to stop the leak

  • VPN app: turn on its WebRTC or "leak protection" option, and its IPv6 block if it has one.
  • Firefox: in about:config, set media.peerconnection.enabled to false (video calls in the browser will stop working).
  • Chrome, Edge, Brave: use an extension that limits WebRTC to the VPN's network interface. Brave has the setting built in ("WebRTC IP handling policy").

Run the test again after each change. To check which ports of your connection are reachable from the internet, use the Open Port Checker.

Frequently asked questions

What is a WebRTC leak?

WebRTC lets browsers make video calls directly between users. To do that, the browser finds its own addresses with a STUN server. With some VPNs, that request goes outside the tunnel and reveals your real IP to any website that runs a few lines of JavaScript, even though normal traffic goes through the VPN.

How do I read the result?

We compare the public addresses WebRTC finds with the IP our server sees. If they are the same (the VPN's), there is no leak. If WebRTC finds another public address while you use a VPN, that is probably your real IP. Without a VPN, seeing your own IP is normal.

What are the ".local" addresses?

Modern browsers hide your local network IP behind a random name ending in .local (mDNS). It is a privacy protection, not a leak.

How do I fix a WebRTC leak?

Turn on the WebRTC leak protection of your VPN app or extension, if it has one. In Firefox, set media.peerconnection.enabled to false in about:config. In Chrome and Edge, use an extension that limits WebRTC to the VPN interface. Then run this test again.

Is a public IPv6 address a leak?

If your VPN only tunnels IPv4, the browser can still reveal your IPv6 address, which identifies you as well as your real IPv4. Many VPNs offer an option to block IPv6.

Does this test send my data anywhere?

The browser asks Cloudflare's public STUN server for the addresses, as any WebRTC page does. Our page compares them in your browser and stores nothing. Your public IP comes from the same check as What Is My IP.

Related tools

Last updated: