WebRTC Leak Test with IPv4 and IPv6 Check: Is Your VPN Hiding Your Real IP?
This free test checks two common VPN leaks: WebRTC in your browser, and IPv6 traffic that skips the VPN. Connect your VPN, press the button, and check that every public IP shown belongs to your VPN.
New to this? Read what a WebRTC leak is and why it matters before you start.
Run the leak test
- –
What this test covers: your public IPv4 and IPv6 addresses, and the IPs your browser reveals through WebRTC. It doesn't test DNS leaks. To find your addresses it contacts our server and the public ipify service (api.ipify.org, api6.ipify.org); for WebRTC it uses public STUN servers from Google and Cloudflare. Nothing is saved.
How to read your result
No WebRTC leak
WebRTC is blocked, shows only hidden local addresses, or shows the same public IPs as above. That means your browser isn't revealing a different IP. You still need to check that the IPv4 and IPv6 shown belong to your VPN.
Possible leak
WebRTC shows a public IP that matches none of your addresses above, or your IPv6 address belongs to your own internet provider while the VPN is on. Either way, websites may see your real IP.
Test twice
Run the test once with your VPN off to learn your real IP, then with it on. Your real IP should not appear anywhere the second time.
What is a WebRTC leak, and why should you test for it?
First, what is WebRTC?
WebRTC (Web Real-Time Communication) is a feature built into every modern browser, including Chrome, Firefox, Safari, Edge and Brave. It lets websites make video and voice calls and share files directly between people, without installing any app. Google Meet, Discord, WhatsApp Web and many online meeting tools use it every day.
To connect two people directly, WebRTC needs to know each device's address on the internet. So the browser quietly asks a helper server, called a STUN server: "What public IP address do I have?" The answer is then available to the web page.
How the leak happens
Here's the problem: any website can start this process with a few lines of code, without asking your permission and without showing anything on screen. Normally that's harmless. But if you use a VPN and your browser sends this request outside the VPN tunnel, the answer contains your real IP address, not the VPN's. The website now knows who your internet provider is and roughly where you are, even though your VPN is switched on.
1. You connect your VPN
Websites should now see only the VPN server's IP address.
2. A site runs WebRTC silently
The page asks your browser for your network addresses in the background.
3. Your real IP slips out
If the request bypasses the VPN, the site receives your home IP, and your VPN's privacy is undone.
Why it matters
- It cancels what you pay a VPN for. The main job of a VPN is to hide your IP address. A leak shows it anyway.
- It reveals your provider and location. Your IP tells sites which company connects you to the internet and usually your country and city, as the test above shows.
- It helps tracking. Advertisers can link your real IP to your browsing on other sites, even when you thought you were hidden.
- You won't notice it. There's no pop-up and no warning. Testing is the only way to know.
When should you run this test?
- Right after you install a VPN, or switch to a new one.
- After a browser or VPN update, because settings can change.
- When you start using a new browser, device or browser extension.
- Before sensitive tasks on public Wi-Fi, such as banking or work logins.
How this test works
- It finds your public IPv4 and IPv6 addresses, the ones every website sees, and shows who owns them.
- It asks your browser, through WebRTC, which addresses it would reveal to a website, using public STUN servers.
- It compares the two. If WebRTC reveals a public IP that isn't one of your normal addresses, that's a leak.
- It also checks whether your IPv4 and IPv6 belong to different networks, which can mean IPv6 traffic is going around your VPN.
Is WebRTC bad? Not at all. It's what makes browser video calls work. You don't need to remove it; you only need to make sure it can't reveal your real IP while your VPN is on. A good VPN app with its browser extension, or the browser settings in the fix section, takes care of that.
Hide your real IP address with a VPN
Every website you visit can see your IP address, your internet provider and your approximate location. A VPN replaces it with the IP of a VPN server, so sites, apps and public Wi-Fi networks no longer see your own.
- Hides your IP and location from websites and apps
- Encrypts your traffic on public Wi-Fi
- Kill switch and leak protection in the apps
- Money-back guarantee, so you can test it here first
We may earn a commission when you buy through these links, at no extra cost to you. How we make money
What your IP address tells websites
Your IP address is like a return address on every request your device sends. On its own it doesn't show your name, but it does tell any website or app:
Your internet provider
The company that gave you the address, as you can see in the test above.
Your rough location
Usually your country and often your city or region.
A way to recognise you
Combined with cookies and browser details, your IP helps advertisers follow you from site to site.
Your internet provider can also see which sites you visit, and on public Wi-Fi so can the network owner. A VPN hides all of this behind the VPN server's address and encryption.
WebRTC, IPv6 and DNS leaks: what's the difference?
| Leak | What happens | Tested here? | How to stop it |
|---|---|---|---|
| WebRTC leak | A website uses your browser's WebRTC feature to read your real IP while the VPN is on | Yes | VPN browser extension, or block WebRTC in the browser |
| IPv6 leak | The VPN only tunnels IPv4, so sites that support IPv6 still see your real IPv6 address | Yes | Turn on IPv6 protection in the VPN, or turn IPv6 off on your device |
| DNS leak | Your device asks your internet provider's DNS servers for website addresses instead of the VPN's | No | Use the VPN's own DNS, which good VPN apps do automatically |
How to fix a WebRTC leak
Start with your VPN: update the app and make sure its kill switch and leak protection are on. If the test still shows a leak, block WebRTC in your browser:
Firefox
Type about:config in the address bar, accept the warning, search for media.peerconnection.enabled and set it to false. This turns WebRTC off completely, so browser video calls won't work until you turn it back on.
Brave
Open Settings → Privacy and security → WebRTC IP handling policy and choose Disable non-proxied UDP.
Chrome and Edge
There's no built-in switch. Install your VPN's browser extension if it has one, or Google's free WebRTC Network Limiter extension from the Chrome Web Store, which also works in Edge.
Safari, iPhone and Android
Safari already hides your local addresses, and phone browsers rarely leak through WebRTC. On phones, the important step is to use a VPN app with a kill switch.
Then run the test again with your VPN on to make sure the leak is gone.
IP and WebRTC leaks: common questions
What is a WebRTC leak?
WebRTC is a browser feature for video calls and file sharing. To connect people directly, it can ask a server which IP address your device has. If your VPN or browser doesn't handle this properly, a website can use WebRTC to see your real IP address even while the VPN is on. That's a WebRTC leak.
How do I read the test result?
Turn your VPN on and run the test. Your public IPv4 and, if you have one, IPv6 address should both belong to the VPN, and WebRTC should not reveal any other public IP. If WebRTC or your IPv6 address shows an IP from your own internet provider, your real IP is leaking.
What does this test check, and what doesn't it check?
It checks your public IPv4 and IPv6 addresses and the IP addresses your browser reveals through WebRTC. It doesn't test DNS leaks, which happen when your device asks your internet provider's DNS servers for website addresses instead of the VPN's. Most good VPN apps prevent DNS leaks automatically.
What is an IPv6 leak?
Some VPNs only tunnel IPv4 traffic. If your internet provider gives you an IPv6 address, websites that support IPv6 can still see your real IPv6 address while the VPN is on. Choose a VPN that tunnels or blocks IPv6, or turn IPv6 off on your device.
How do I fix a WebRTC leak?
First make sure your VPN app is up to date and its leak protection or kill switch is on. Then block WebRTC leaks in your browser: install your VPN's browser extension if it has one, or use a privacy extension that stops WebRTC from revealing your IP. In Firefox you can also turn WebRTC off completely. Run the test again to confirm.
Is this leak test safe?
Yes. The test runs in your browser. It asks our server and the public ipify service which IP addresses they see, and asks public STUN servers what WebRTC reveals. We don't save your results or link them to you.
Does a WebRTC leak mean my VPN is bad?
Not necessarily. Many leaks come from browser settings rather than the VPN itself. A good VPN app, its browser extension and the right browser settings together stop them.
Does a VPN stop WebRTC leaks?
A good VPN together with its browser extension usually does. The VPN app hides your IP for normal traffic, and the extension or your browser settings stop WebRTC from revealing it. Test with this page after setting up to be sure.
How do I disable WebRTC in Chrome?
Chrome has no built-in setting to turn WebRTC off. Install your VPN's browser extension if it offers WebRTC protection, or Google's free WebRTC Network Limiter extension, then run this test again.
Why does the test show my IP even though there's no leak?
Because every website can see the public IP you're connecting from. The test shows it so you can check who it belongs to. Without a VPN, it's your internet provider's address; with a VPN on, it should belong to the VPN.
Should I run the test with the VPN off too?
Yes, it helps. Run it once with the VPN off to see your real IP, then again with the VPN on. With the VPN on, your real IP should not appear anywhere in the results.
Want a VPN that keeps your IP private?
Our top picks have audited no-logs policies, kill switches and leak protection built in.