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.
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:
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:
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:
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: