WebRTC Leak Test

  • Free, no sign-up
  • Runs in your browser
  • Updated
Quick answer. The WebRTC Leak Test asks your browser for its WebRTC network candidates through a public STUN server and lists every IP address it reveals, so you can see whether your real public IP leaks past your VPN.

WebRTC Leak Test tool

This test contacts Google’s public STUN server (stun.l.google.com) so your browser can discover its public address. Nothing is stored.

Runs in your browser. Your data never leaves your device.

How to use the WebRTC Leak Test

  1. 1Connect to your VPN if you use one.
  2. 2Press “Start WebRTC leak test”.
  3. 3Compare any public address shown with your VPN server’s address.
  4. 4If your real IP appears, enable WebRTC leak protection and test again.

What is a WebRTC leak test?

A WebRTC leak test checks whether your web browser reveals your IP addresses through WebRTC, the technology browsers use for video calls, voice chat and peer-to-peer file transfer. If you use a VPN to hide your location, a WebRTC leak can expose your real public IP address to any website you visit, even while the VPN is connected. This test shows exactly which addresses your browser gives away.

How does WebRTC reveal IP addresses?

To connect two browsers directly, WebRTC uses a process called ICE (Interactive Connectivity Establishment, RFC 8445). The browser collects "candidates": network addresses where it might be reachable.

Candidate typeWhat it isWhere it comes from
hostAn address on your own device or local networkYour network adapters
srflx (server reflexive)Your public address as seen from the internetA STUN server's reply
relayAn address on a relay (TURN) serverOnly if a TURN server is configured

A website can create a connection object, ask for candidates and read them with JavaScript. No permission prompt appears, because no camera or microphone is involved.

What this test does

  1. It creates an RTCPeerConnection that uses Google's public STUN server, stun:stun.l.google.com:19302.
  2. It opens a data channel and creates an offer, which starts candidate gathering.
  3. It reads each candidate, extracts the address and classifies it as public IPv4, public IPv6, private (local network) or a hidden mDNS name.

The STUN request is the only network call any ATechCraft tool makes to an outside server. The results appear only on your screen.

How do I read the results?

  • Hidden local address (mDNS), for example 3f1c9a2e.local: modern browsers replace your local IP with a random name. This is a privacy feature, not a leak.
  • Private IPv4 such as 192.168.x.x or 10.x.x.x: your address on your home or office network. It reveals little on its own.
  • Public IPv4 or IPv6: an address on the internet. With a VPN on, this should be the VPN server's address.

Worked example

You connect to a VPN server in Germany and run the test. The table shows 203.0.113.45 as a public IPv4 srflx candidate. You look up your VPN's address in its app: it is 198.51.100.20. They do not match, and 203.0.113.45 belongs to your home internet provider. That is a WebRTC leak. If the only public address shown is 198.51.100.20, or no public address appears at all, you are fine.

How do I stop a WebRTC leak?

  1. Turn on leak protection in your VPN app. Many VPNs have a "WebRTC leak protection" or "block non-VPN traffic" (kill switch) option.
  2. Use the VPN's browser extension if it offers WebRTC blocking.
  3. Change browser settings. Firefox lets you disable WebRTC in about:config (media.peerconnection.enabled). Chromium-based browsers can limit it with policies or trusted extensions.
  4. Test again after each change.

Disabling WebRTC can break video calling sites, so prefer the VPN's own protection where possible.

Limitations

  • The test only checks WebRTC. It does not detect DNS leaks or other ways your IP can be exposed.
  • Results depend on your browser, extensions and network. Some corporate networks block STUN entirely, which shows no public address.
  • If your VPN uses IPv4 only and your provider gives you IPv6, an IPv6 leak can appear even when IPv4 is protected.

Frequently asked questions

What is a WebRTC leak?

WebRTC lets browsers make direct audio, video and data connections. To do that it discovers your IP addresses, and a website can read them with a few lines of JavaScript. If your VPN does not route this traffic, your real IP can be exposed.

How do I know if my IP is leaking?

Run the test with your VPN on. If a public address appears that belongs to your internet provider rather than your VPN, you have a leak.

What does an address ending in .local mean?

Modern browsers hide your local network address behind a random mDNS name ending in .local. That is a privacy feature, not a leak.

How do I fix a WebRTC leak?

Turn on your VPN app’s WebRTC or leak protection, use a browser setting or a trusted extension that limits WebRTC, or use a browser that disables non-proxied UDP.

Does this test store my IP?

No. The test runs in your browser. Google’s STUN server sees your IP to answer the request, as with any WebRTC call, but ATechCraft receives nothing.

Last updated: . Written and tested by Abdul Moid Khan, ATechCraft. Read how we build and test tools.