What is WebRTC?
WebRTC (Web Real-Time Communication) is a browser feature for voice and video calls, screen sharing and direct file transfer. To connect two devices it collects the addresses each one can be reached on. These are called ICE candidates.
A web page can ask the browser for its ICE candidates with a few lines of JavaScript. No permission prompt appears, because nothing is recorded: the page only starts the first step of a connection. That is all this test does.
How this WebRTC test works
Your browser opens a WebRTC connection that leads nowhere and asks two public STUN servers, stun.l.google.com and stun.cloudflare.com, which address they see it coming from. A STUN server does one thing: it answers with the public IP address and port of whoever asked.
At the same time the page reads the IP address of ordinary web requests: the one our server saw when this page loaded, and the ones api4.ipify.org and api6.ipify.org see over IPv4 and IPv6.
The result compares the two. Each public address WebRTC shows is checked against the web address of the same IP version. The addresses stay in your browser, and we do not store them.
What the results mean
| Result | What it means |
|---|---|
| Same IP as your web requests | WebRTC shows the address websites already get from page loads. Nothing extra is shown. |
| A different public IP | WebRTC shows an address that page loads do not. This is typical when the browser uses a proxy: web requests go through the proxy, and WebRTC goes out directly. |
| No public IP | WebRTC is switched off, limited to proxied traffic, or the STUN servers could not be reached. Websites get no public address from it. |
| Names ending in .local | Placeholders that modern browsers show in place of the address on your home or office network. They change often and say nothing about your public IP. |
Why WebRTC can show a different IP than your proxy
An HTTP or SOCKS5 proxy set in a browser carries web requests, which travel over TCP. WebRTC prefers UDP, and most browser proxy setups do not carry UDP. Unless it is told otherwise, the browser sends the STUN request straight from your network connection.
A website that reads WebRTC candidates then gets two addresses: the proxy IP from the page load and your connection's own IP from WebRTC. If your work depends on a site seeing one consistent address, for example when you test localised pages, set the browser up as described below.
How to make WebRTC match your proxy
The reliable fix is to let WebRTC use only the route your web requests use. How you do that depends on the browser:
- Chrome, Edge and other Chromium browsers: set the WebRTC IP handling policy to "Disable non-proxied UDP", with an extension that offers it or the enterprise policy WebRtcIPHandling.
- Brave: open Settings > Privacy and security > WebRTC IP handling policy and choose "Disable non-proxied UDP".
- Firefox: open about:config and set media.peerconnection.ice.proxy_only to true. To switch WebRTC off completely, set media.peerconnection.enabled to false.
- Automated Chromium (Playwright, Puppeteer, Selenium): start the browser with --force-webrtc-ip-handling-policy=disable_non_proxied_udp.
Then run the test again
Reload this page with the proxy still connected. The result should be "No public IP" or the same IP as your web requests.
What this test cannot tell you
- It checks this browser profile only. Another browser, a private window with other extensions or a desktop app can behave differently.
- If a firewall stops UDP to the STUN servers, the test reports no public IP even though WebRTC is on.
- It does not test DNS, cookies or other signals a website can read.
See the IP and headers websites get →See what your browser says about itself →
