/you shows what a site can learn with no cookie, no login and no permission prompt. The page stores nothing, and this site runs no analytics. Each check below is either the request the browser already made, or code that stays in the browser. Each section ends with what changes the result.
Four kinds of things leak, and they reach a site in different ways:
Your connection
Before a single line of JavaScript runs, the server knows your IP address, because it's where the reply goes. This site runs on Cloudflare, which hands every request a lookup of that address: the network provider that owns it (its ASN and name), a city, region and postal code from a GeoIP database, a map point at the center of that area, the nearest Cloudflare data center, and how many milliseconds away you are. The /you page asks the server what it saw and shows you the same list.
Then it checks whether the pieces agree, the way fraud and streaming sites do to spot a VPN:
- Clock against IP. Your browser reports its time zone. If your IP says Amsterdam and your clock says Chicago, you're probably on a VPN, and the clock says where you really are.
- Language against IP. A browser asking for
en-USpages from a German IP is another mismatch. - Who owns the address. IPs owned by hosting companies and VPN providers are easy to recognize, and many sites flag them.
- WebRTC. The page asks Cloudflare's STUN server what address it sees. Some VPNs only tunnel ordinary web traffic, so this answer can be your real IP, leaking past the tunnel.
What helps: a VPN that also tunnels WebRTC, or a browser that turns WebRTC off. Set your clock and language to match where your VPN says you are, or accept that a careful site will notice. Tor Browser handles all of this for you.
Your fingerprint
The second part runs in your browser. It reads fourteen values that any page can read without asking: your user agent and client hints, languages, time zone, screen size, CPU cores, GPU model, which fonts are installed, how your machine draws a test picture on a canvas, how its audio stack processes a test tone, your keyboard layout, your storage quota and your display preferences. Each one is common on its own. Together they're often unique, and the page hashes them into one short fingerprint.
The math is why this works. If one browser in eight shares your value for some signal, that signal carries three bits of information about you. Identifying one person among 8 billion takes about 33 bits, and every signal you leak adds a few. Here's the arithmetic, with made-up shares for the example:
// Each signal you leak splits everyone into groups. If 1 browser in 8
// shares your value, that signal carries log2(8) = 3 bits about you.
// About 33 bits pick one person out of 8 billion (2 ** 33 is 8.6 billion).
// Write bits(share): the bits a value carries when a 'share' of all
// browsers (between 0 and 1) have it. Then total() adds them up.
// Adding assumes the signals are independent; real ones overlap a bit.
function bits(share) {
return 0; // TODO
}
function total(signals) {
return signals.reduce((sum, s) => sum + bits(s.share), 0);
}
// Made-up shares, for the example only.
const me = [
{ name: 'time zone', share: 1 / 20 },
{ name: 'language order', share: 1 / 30 },
{ name: 'screen size', share: 1 / 40 },
{ name: 'GPU model', share: 1 / 60 },
{ name: 'installed fonts', share: 1 / 500 },
{ name: 'canvas hash', share: 1 / 2000 },
];
for (const s of me) console.log(s.name.padEnd(16), bits(s.share).toFixed(1), 'bits');
console.log('total'.padEnd(16), total(me).toFixed(1), 'bits of about 33');
Real signals overlap (a Mac usually has a Mac's fonts), so you can't simply add them, but it doesn't take many. The page has a test you can run yourself: open it in a private window and compare the fingerprint. If it matches, a site can recognize you even after you clear your cookies.
What helps: blending in, not hiding. A rare setting makes you easier to spot, and that includes turning on privacy signals few people use. Tor Browser makes everyone look the same; Brave and Firefox's resistFingerprinting add noise or report standard values. A fingerprint that changes on every reload is a good sign.
The ad auction
Most ads aren't placed in advance. When a page with an ad slot loads, an auction runs in about a tenth of a second, and the request that starts it describes you to every bidder. The /you page builds that request, an OpenRTB 2.6 BidRequest (the industry's standard format), filled with your real values, and shows it to you instead of sending it.
The request carries the IP, the GeoIP location, the device and browser down to the build, the page, and a browser id. One bidder wins. Every bidder receives the request.
What helps: an ad and tracker blocker such as uBlock Origin blocks most ad scripts, so most of these auctions never start. Global Privacy Control asks sites not to sell your data, and it's legally binding in some US states.
Your typing
The way you type is a signature. Anti-fraud scripts on banking and login pages time each key: how long you hold it (dwell) and the gap between releasing one key and pressing the next (flight). Your averages and their spread stay stable enough to tell you from someone who stole your password. The /you page measures yours while you type one sentence. Here's the core of that measurement:
// Keystroke dynamics. Dwell is how long each key is held (its keyup
// minus its keydown). Flight is the gap from releasing one key to
// pressing the next, in typing order. It goes negative when you roll
// keys: pressing the next one before letting go of the last.
// Times are in milliseconds, in the order the browser fired them.
const events = [
{ key: 't', type: 'down', t: 0 },
{ key: 't', type: 'up', t: 95 },
{ key: 'h', type: 'down', t: 160 },
{ key: 'e', type: 'down', t: 230 }, // pressed before h was released
{ key: 'h', type: 'up', t: 250 },
{ key: 'e', type: 'up', t: 310 },
];
// Return { dwell, flight }: dwell per key in the order keys were
// released, and flight for each press after the first, in press order.
function rhythm(events) {
return { dwell: [], flight: [] }; // TODO
}
console.log(rhythm(events));
What helps: not much, and this one is mostly used for you, not against you. Password managers that fill fields in one go give a page no rhythm to measure. Just know it's there whenever a site watches a text field.
Your photos
A phone photo carries more than the picture. A JPEG starts with a block called APP1 that holds EXIF metadata: the camera make and model, the software, when it was taken, sometimes the lens and serial number, and very often the GPS position where you were standing.
The /you page reads those bytes in your browser (the file is never uploaded) and shows you what's there, with a link to the spot on a map. It then hands you a clean copy, made by drawing the picture onto a canvas and saving that, which carries no metadata at all.
What helps: many big platforms strip EXIF when you upload, but email attachments, file shares, forums and "send original" in chat apps often keep it. Turn off location in your camera app, or strip photos before you send them.
Your passwords
The last check tells you whether a password has shown up in a known breach, without ever sending the password. It uses Have I Been Pwned's range API, which works by k-anonymity:
Hundreds of leaked hashes share any 5-character start, so the service learns almost nothing about which one is yours, and the decoys hide even how many there are. The matching happens in your browser:
// Have I Been Pwned's range API never sees your password or its full
// hash. You send the first 5 hex characters of its SHA-1 and get back
// every leaked hash that starts with them, as "SUFFIX:COUNT" lines.
// With padding on, some lines are decoys with a count of 0.
// Given your full hash (40 hex characters, upper case) and the
// response text, return how many times your password was leaked.
function timesLeaked(hash, response) {
return 0; // TODO
}
const hash = '5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8'; // SHA-1 of "password"
const response = [
'1E2AAA439972480CEC7F16C795BBB429372:1',
'1E4C9B93F3F0682250B6CF8331B7EE68FD8:52256179',
'1E4C9B93F3F0682250B6CF8331B7EE68FD9:0',
].join('\r\n');
console.log('first 5 sent:', hash.slice(0, 5), '· leaked', timesLeaked(hash, response), 'times');
What helps: if a password shows up, change it everywhere it was used. A password manager makes each one unique, so one breach does not unlock the rest.