Cleared your cookies and turned on a VPN? What websites still learn about you, and how to check your own browser
You open a private window, switch on a VPN set to another country, and visit a shop. It greets you in your own language, shows prices in your currency and, a few pages later, asks you to solve a captcha because your session "looks unusual". A support agent, meanwhile, asks which browser and version you're on, and you have to go and find out. Both situations come from the same place: the information your browser hands to every website, most of it without asking you and much of it unaffected by cookies or VPNs.
This post goes through that information in the order a site receives it, explains where each piece comes from and why it gives you away, and shows how What's My IP & Browser Info lays all of it out for the browser you're using, so you can see what you're actually sharing.
Before any script runs: the request itself
The moment you open a page, before a single line of the site's code has run, the server already has two things: the address your connection comes from, and the request headers your browser sent with it.
Your IP address
Every connection has a source address, and the server needs it to send the reply. It's usually not your device's own address but your router's, your mobile carrier's, or your VPN's or proxy's, whichever is the last hop before the public internet. Two details matter more than people expect:
- A connection uses IPv4 or IPv6, not both. When both are available, browsers race the two and generally prefer IPv6. A server sees only the one that won. To show both, the page asks two outside lookup services from your browser: one reachable only over IPv4 and one only over IPv6 (currently ipify's
api.ipify.organdapi6.ipify.org). If one can't connect, you simply don't have that kind of address, which is normal on many networks. - Not every VPN carries IPv6. A VPN that tunnels only IPv4 leaves IPv6 traffic going out the normal way, with your provider's address on it. If the IPv6 box shows an address from your own internet provider while the VPN is on, sites that reach you over IPv6 see where you really are.
The headers
Along with the address come the headers: a few hundred bytes of text the browser attaches to every request. The page lists every one, in the order it arrived. The ones that say most about you are:
User-Agent: your browser, its version and your operating system.Accept-Language: the languages you read, ranked.de-CH,de;q=0.9,en;q=0.8says a lot about where you're likely to be, whatever your IP address says.- Client hints such as
Sec-CH-UAandSec-CH-UA-Platform, which Chromium browsers send alongside the user agent. DNTandSec-GPC, if you've switched on Do Not Track or Global Privacy Control.Referer, often trimmed to just the site you came from.
That's everything a site learns from a visitor with JavaScript switched off, and the page shows exactly that set when scripts are disabled.
The strange history of the user agent
The User-Agent header was meant to be a simple label. A typical one today, for Chrome on Windows, reads Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/… Safari/537.36: it claims to be Mozilla, WebKit, KHTML, Gecko, Chrome and Safari at once. That's thirty years of sniffing. In the 1990s sites sent their best pages only to browsers that said "Mozilla", so Internet Explorer said it too; later sites checked for "Gecko", "Safari" and "Chrome", so each new browser added the names of the ones before it. Microsoft Edge today says everything Chrome does plus Edg/.
That's why a parser has to check the most specific names first. The tool looks for Edge, Opera, Samsung Internet, Vivaldi, Yandex and Brave before it accepts "Chrome", and for Chrome before it accepts "Safari".
Frozen on purpose
Browsers have since started to say less in the user agent, to make it less useful for tracking. Chrome froze most of it: the minor version numbers are zeros, and Windows 11 still reports Windows NT 10.0, the same as Windows 10. So from the header alone, the page can only say "Windows 10 or 11". Chromium browsers offer the exact version through client hints instead, which a script has to ask for (navigator.userAgentData.getHighEntropyValues()); Windows 11 reports a platform version of 13 or higher, and the page uses that where it's offered. Firefox and Safari don't offer client hints, so they keep the vaguer answer.
Two more quirks the page handles: on an iPhone or iPad every browser has long had to use Apple's WebKit engine, so Chrome on an iPhone is reported with the WebKit engine; and an iPad asks for desktop sites by pretending to be a Mac, which gives itself away because Macs don't have touch screens with several touch points.
Where you are, twice over
A site can place you in two quite different ways, and the page shows them side by side.
From your IP address, with no permission at all. Commercial databases map blocks of addresses to places and providers, using registry records, routing data and whatever their makers can gather. The page asks GeoJS, from your browser, for its view of your address: a city, an internet provider with its AS number, and a time zone. Treat it as a rough guess. Mobile networks and many ISPs are placed at a regional hub, sometimes hundreds of kilometres from you, and a VPN puts you wherever its server is.
From your device, only with your permission: GPS, nearby Wi-Fi networks and cell towers, through the browser's Geolocation API. Press Show my exact location, allow it, and two cards fill in: a quick location the browser already had or got from Wi-Fi (with its age, if it was cached), then a precise one it asks for next (GPS where the device has one), each with its accuracy and how far apart they landed. It names the place (by sending the coordinates to BigDataCloud's reverse-geocoding service), and says how far that is from where your IP address puts you. If you've already allowed this site to see your location, the card fills in by itself.
The interesting row, though, is the time zone. Your device's time zone comes from your system settings, read through the Intl API, not from your IP address. When the IP lookup says Europe/Amsterdam and your device says Asia/Kolkata, the page flags it: a VPN, a proxy or travel. Fraud-detection systems run the same comparison, which is one reason a VPN can make a login look suspicious rather than invisible.
What a script reads next
Once the page's own script runs, the list gets much longer, and almost none of it asks permission. The page fills in over sixty rows, each with a ? that explains the source. A selection:
| What | How a script gets it |
|---|---|
| Screen and window size, pixel ratio | screen, innerWidth, devicePixelRatio |
| Processor threads | navigator.hardwareConcurrency |
| Memory, rounded | navigator.deviceMemory (Chromium) |
| Graphics card | WebGL's renderer string, unmasked with a debug extension |
| Installed fonts | Text measured in each of 32 fonts against the fallback fonts |
| Keyboard layout | navigator.keyboard.getLayoutMap() (Chromium) |
| Battery level | The Battery Status API (Chromium) |
| Accessibility settings | Media queries for reduced motion, contrast, forced colours |
| Tab switches | The Page Visibility API and focus events |
The font check is a good example of how indirect these tricks are. There is no API that lists your fonts without asking. Instead, a script draws a line of text in a candidate font with a generic fallback behind it, and measures its width. If the width differs from the fallback's, the font is installed. Some fonts arrive with particular software, so finding Century Gothic suggests Microsoft Office, and finding Myriad Pro suggests Adobe's apps; the page says so when it finds them.
How it adds up to a fingerprint
None of those values identifies you on its own. Millions of people have a 1920 × 1080 screen, eight processor threads and the Europe/Berlin time zone. But each trait divides the crowd, and the divisions multiply. Doubling the number of possibilities takes one bit of information; about 33 bits are enough to pick out one person among eight billion. A browser version, a graphics card, a font list and a screen size together easily get there.
Two signals are especially good at it because they depend on the whole machine:
- Canvas. The page draws text, an emoji and some shapes on a hidden canvas and hashes the pixels. Fonts, anti-aliasing, the graphics card and its driver all nudge the result.
- Audio. It renders a short tone through the audio engine without playing it, passes it through a compressor, and hashes a slice of the output. Small differences in floating-point maths between systems change the numbers.
The page then hashes up to eleven signals (user agent, languages, time zone, screen, processor, memory, touch points, graphics card, fonts, canvas and audio) into one ID, and lists which it used. Real trackers use other recipes, but the result behaves the same way: it survives clearing cookies, and it's the same in a private window, because none of it is stored on your machine. There is nothing to delete.
Browsers defend in two ways. Some make everyone look alike (Tor Browser is the best-known), so the fingerprint is shared by everyone using it. Others add tiny random noise to canvas, audio and similar outputs, so the fingerprint changes between visits (Brave does this). Reloading the page tells you which, if either, your browser does: if the ID changes on every reload, your browser is scrambling it.
Leaks a VPN doesn't cover
WebRTC
WebRTC is the browser's machinery for video calls and peer-to-peer connections. To connect two people behind routers, the browser gathers "candidates", addresses the other side might reach it on: its local network addresses, and its public address as seen by a STUN server, a small service that simply reports back the address a UDP packet arrived from. A web page can start that process without a camera, without a call and without asking.
Two leaks follow. Local addresses used to be handed to any page; browsers now replace them with random .local names unless the site has camera or microphone access. And the public address comes from UDP traffic, which a VPN that only covers web requests (a proxy, or a browser-extension "VPN") doesn't carry. The page sets up a WebRTC connection to nobody, using Google's public STUN server, and compares the public address it reveals with the IPv4 and IPv6 addresses found earlier. A different address means the VPN or proxy is leaking it.
Your clock
The page asks this site's server for its time a few times, corrects for the round trip, and compares the result with your system clock. Most clocks are synchronised to within a fraction of a second, so one that's off by more than a couple of seconds is unusual, and therefore identifying; the page flags it.
Your own consistency
Bot-detection services check whether a browser's claims agree with each other. The page runs a small version of that check: whether the operating system named in the user agent matches navigator.platform and the client hints, whether the browser version matches between the user agent and the hints, whether the user agent and the hints agree on whether you're on a phone, whether the first language in Accept-Language matches the script's language list, and whether the browser reports that it's being driven by automation. A user-agent switcher extension that changes the header but not the rest fails this test, which is exactly how spoofed browsers get spotted.
What you've asked for, and what sites do with it
Do Not Track sends DNT: 1 with every request. It was never given legal force or a clear meaning, the standards effort behind it was abandoned, and most sites ignore it. Ironically, because few people switch it on, it makes you slightly easier to tell apart.
Global Privacy Control sends Sec-GPC: 1. It asks sites not to sell or share your data, and unlike DNT it has teeth in some places: California treats it as a valid opt-out under its privacy law. The page shows whether your browser sends either header and highlights them when it does.
A worked example: checking a VPN
Suppose you're in Delhi with a VPN set to Amsterdam, and you want to know what a site sees. Open the page with the VPN on and read these rows:
- IPv4 and IPv6 boxes. Both should show the VPN's addresses. An IPv4 box with the VPN's address next to an IPv6 box with your Indian provider's address means IPv6 isn't going through the tunnel.
- Where you are. The IP card should say Amsterdam. If its time zone row is highlighted with your device says Asia/Kolkata, sites can tell the IP address and the device disagree.
- Languages you accept.
en-INorhiat the top tells sites more about you than the IP address hides. - WebRTC address leak. It should report the same address sites see. A different public address is a leak.
- Fingerprint ID. Note it, switch the VPN off and reload. If the ID is unchanged, a site that fingerprints can link the two visits, VPN or not.
Then press Copy all as text: every section goes on the clipboard as plain text, with the rows that make you stand out marked, which is also the quickest thing to paste into a support ticket.
What this page itself sends where
It's fair to ask. The server half of the page (your address and headers) is what this site's server receives with the request, as any site would; the Cookie, Authorization and Proxy-Authorization headers are left out of the list, so a screenshot is safe to share. The browser half is read by the page's script. Some rows do need outside services, contacted from your browser: ipify sees your IPv4 and IPv6 addresses, GeoJS sees the address it looks up, BigDataCloud receives your coordinates only once location is allowed, Google's STUN server sees the WebRTC request, and the ad-blocker check requests a missing file from Google's ad server without cookies. The latency and download tests talk to this site's server. The privacy policy covers the rest.
Limits worth knowing
- The browser and system are a best reading of the user agent and client hints, and browsers deliberately make the user agent vague.
- IP location is approximate and depends on the database; mobile networks and VPNs often land in another city or country.
- Many rows (memory, battery, keyboard layout, client hints, monitors) exist only in Chromium browsers.
- The private-window and ad-blocker checks are good hints, not proof, and the download test measures the path to this site's server, not your full line speed.
- The fingerprint here is one recipe. A tracker using different signals could tell apart browsers that look identical here, or the other way round.
Practical tips
- Check IPv6 when you rely on a VPN. Either use a VPN that tunnels it or switch IPv6 off on the device while connected.
- Match your time zone and language to your story if you need them to, and accept that a mismatch is visible otherwise.
- Don't fake the user agent alone. Half a disguise is more conspicuous than none.
- Prefer browsers that resist fingerprinting by design over extensions that block individual APIs; blocking a few APIs is itself a distinctive trait.
- Use Global Privacy Control rather than Do Not Track, where your browser offers it.
Curious about the network behind your address? Paste it into WHOIS: Who Owns a Domain or IP to see which provider holds the block, its AS number and its abuse contact. And if you're choosing where to host something for people on connections like yours, Find the Nearest Cloud Region times every region of a cloud provider from the same browser.