Back to Blog
Guides7 min read

What Is a WebRTC Leak? How to Check Your VPN in 2 Minutes

A WebRTC leak lets a website see your real IP address while your VPN is on. What causes it, a 2-minute check, and how to fix it.

What Is a WebRTC Leak? How to Check Your VPN in 2 Minutes

CasperVPN Team

Reviewed by Omar Atarabay, Founder

November 25, 2026

A WebRTC leak is when a website reads your real IP address through your browser's WebRTC feature while you are connected to a VPN. WebRTC is the browser technology behind voice calls, video calls and file sharing in a web page, and to set up a direct connection it asks outside servers for your public IP address, which a page's script can then read. With a VPN that covers your whole device and is working properly, that address is the VPN server's, not yours, so there is nothing to leak.

Checked on 24 November 2026.

What is WebRTC?

WebRTC, short for Web Real-Time Communication, is a free, open standard built into modern web browsers that lets a web page make voice and video calls, share a screen or send files without installing a plug-in. To connect two people as directly as possible, WebRTC collects a list of addresses where your device can be reached. It does this by sending small requests to helper servers, called STUN servers, which reply with the public IP address they see. Any web page can start this process with a few lines of code, and the page does not need to show you a call or ask you anything first. That is useful for a meeting app, but it also means a page can learn which public IP address your connection uses.

How does a WebRTC leak happen?

A WebRTC leak happens when the WebRTC requests from your browser travel outside the VPN, so the helper server sees, and the page reports, your real IP address instead of the VPN server's. Three situations cause most WebRTC leaks:

  • A browser add-on instead of a VPN app. Many browser "VPN" add-ons are proxies that only carry normal page traffic. WebRTC requests can go around them and leave from your real connection.
  • IPv6 traffic outside the tunnel. If your network gives you an IPv6 address and your VPN only carries IPv4, WebRTC can find and report the IPv6 address.
  • A dropped VPN connection. If the VPN drops for a moment and nothing stops traffic, WebRTC requests go out on your normal connection.
  • What can a website learn from a WebRTC leak?

    A website that catches a WebRTC leak learns your real public IP address, the same address your internet provider gave your home, office, phone or the cafe Wi-Fi you are on. A public IP address usually reveals your approximate city or region and your internet provider, and it lets the site link your visits together even if you clear cookies. Modern browsers now hide your device's local address on the home network behind a random name, so the main risk today is the public address, not the private one. A WebRTC leak does not show the site your browsing history, passwords or messages. Our guide what does your IP address reveal explains what that one address says about you.

    How do you check for a WebRTC leak?

    You check for a WebRTC leak by comparing the IP address a WebRTC test shows with and without your VPN. The check takes about two minutes:

  • Turn the VPN off and search for "what is my IP". Write down the address shown.
  • Turn the VPN on and wait until the app shows it is connected.
  • Open a WebRTC leak test page in the same browser. Search for "WebRTC leak test" and pick a well-known result.
  • Read the public IP addresses the test lists. Ignore addresses that end in ".local" or start with 192.168, 10. or 172.16 to 172.31; those are local or hidden names.
  • Compare. If any public address matches the one you wrote down in step 1, you have a WebRTC leak. If you only see the VPN server's address, you are fine.
  • Repeat the test on each browser you use, and on Wi-Fi and mobile data. Our 2-minute DNS leak check works the same way for a different kind of leak.

    How do you fix a WebRTC leak?

    You fix a WebRTC leak by making sure all your device's traffic goes through the VPN, then limiting WebRTC in the browser if a leak remains. Work through these steps and run the test again after each one:

  • Use a full VPN app, not only a browser add-on. A VPN app on your phone or computer carries traffic from every app and browser, including WebRTC requests.
  • Update the VPN app and the browser. Updates often close leak paths, including IPv6 ones.
  • Turn on the kill switch. A kill switch stops all traffic if the VPN drops, so WebRTC requests cannot go out on your normal connection. See what is a VPN kill switch.
  • Limit WebRTC in the browser. Some browsers have a privacy setting that stops WebRTC from sharing your IP address; others need a trusted privacy add-on. Video calls in the browser may stop working while it is on.
  • Ask the VPN provider about IPv6. If the test still shows an IPv6 address, the provider's support team can tell you whether it carries IPv6 or how to switch IPv6 off on your network.
  • Does a VPN stop WebRTC leaks?

    A VPN app that routes all of your device's traffic through an encrypted tunnel stops most WebRTC leaks, because the WebRTC requests travel through the tunnel like everything else and the helper server sees the VPN server's address. A VPN does not stop WebRTC itself, and it does not need to: calls in the browser still work, they just use the VPN's address. WebRTC leaks are mainly a problem with browser proxy add-ons, VPNs that leave IPv6 outside the tunnel, and connections that drop without a kill switch. Run the 2-minute check above after you install any VPN, and again after a big browser or system update.

    Does CasperVPN protect against WebRTC leaks?

    CasperVPN is a VPN app for iPhone, iPad and Android that carries your device's internet traffic through its encrypted tunnel, so a WebRTC test should show the CasperVPN server's address rather than yours. Premium includes a kill switch, which stops traffic if the connection drops, plus unlimited data and every server location. CasperVPN keeps no activity logs. As with any VPN, run the WebRTC check above on your own devices to see the result for yourself. You can download CasperVPN for iPhone, iPad and Android.

    FAQ

    Is a WebRTC leak dangerous?

    A WebRTC leak is a privacy problem rather than a direct danger. It shows a website your real public IP address, which points to your approximate area and your internet provider. It does not give the site access to your device, your files or your accounts.

    Is a WebRTC leak the same as a DNS leak?

    No. A WebRTC leak shows your real IP address through the browser's calling feature. A DNS leak shows which websites you look up to your internet provider or the network owner. Both can happen while a VPN is on, and you can test for both in a few minutes.

    Should I turn off WebRTC completely?

    You do not need to turn off WebRTC completely if your VPN passes the leak test. Turning it off can stop video calls, screen sharing and some chat sites from working in the browser. Limit it only if the test still shows your real address.

    Do WebRTC leaks happen on phones?

    WebRTC leaks can happen on phones, because phone browsers support WebRTC too. A full VPN app on the phone usually prevents them. Run the same check in your phone's browser with the VPN on, on both Wi-Fi and mobile data.

    Tags:

    what is a webrtc leakwebrtc leakwebrtc leak testwebrtc ip leakdoes a vpn stop webrtc leakshow to fix webrtc leak

    Related Articles

    Ready to Protect Your Privacy?

    Try CasperVPN — privacy in one tap, with our own protocol when you need it.

    Download CasperVPN Free