Browser fingerprinting is a technique that identifies a browser by collecting and combining characteristics such as its version, time zone, language, installed fonts, and screen resolution, often producing a combination unique enough to recognize it across sites. Unlike cookies, it stores nothing in the browser, so clearing cookies does not reset it.
The W3C defines it as the capability of a site to identify or re-identify a visiting user, user agent, or device. It is one form of device fingerprinting. The IP address is tracked separately: EFF's Cover Your Tracks contrasts fingerprinting with traditional tracking by IP addresses and cookies.
How Browser Fingerprinting Works
- Read the request: the site notes what the browser sends anyway, such as its HTTP headers. This is passive fingerprinting.
- Run a script: JavaScript on the page queries more traits, such as screen size, time zone, fonts, and graphics output. This is active fingerprinting.
- Combine the traits: the values are joined, often hashed, into one identifier.
- Match it later: the site recomputes the identifier on each visit and links visits that match, even across sites that share data.
Common Fingerprinting Techniques
- Canvas: draws hidden text or graphics and hashes the pixels. See canvas fingerprinting.
- WebGL: reads the graphics vendor and renderer the browser reports.
- Audio: processes a signal generated with the Web Audio API's OscillatorNode. The technique relies on differences in how the signal is processed.
- Fonts: works out which fonts are installed, for example from how text is rendered and measured.
- Passive signals: uses what every request already carries, such as the User-Agent header, without running any code on the device.
Browser Fingerprinting vs. Cookies
| Cookies | Browser fingerprinting | |
|---|---|---|
| Where the identifier lives | Stored in the browser | Recomputed from the browser's traits on each visit |
| Can the user clear it? | Yes, by deleting cookies | Typically not |
| Can the browser see it happen? | Yes | Not for passive fingerprinting, which runs no code on the device |
| UK consent rules (PECR) | Apply | Apply, according to the UK's ICO |
How Unique Is a Browser Fingerprint?
Results depend on who is measured and which traits are collected. A 2024 study of about 8,400 US participants, with data from December 2023, found that about 60% had a unique fingerprint. Earlier studies it reviewed ranged from 33.6% in 2018 to 94.2% in 2010. The W3C estimates that 30-some bits of identifying information would be enough to tell every person apart.
Who Uses Browser Fingerprinting
- Security and fraud teams: fingerprinting can serve as a security measure, for example to help authenticate a user.
- Advertisers: Google stopped prohibiting fingerprinting by advertisers using its ad products on February 16, 2025. The UK's ICO responded that fingerprinting relies on signals users can't easily wipe, and that businesses must give users fair choices over whether to be tracked.
- Anti-bot systems: sites compare fingerprint traits to tell browsers from automated clients.
A Proxy Changes the IP, Not the Fingerprint
A proxy only changes the address a site sees. The rest of the fingerprint can contradict it:
- Time zone: scripts read the system time zone. MDN shows
Intl.DateTimeFormat().resolvedOptions().timeZonereturning the runtime's default zone, such as "Europe/Brussels," whatever country the proxy IP is in. - Language: the browser's
Accept-Languageheader follows its own language settings, not the proxy's location. - Automation flag:
navigator.webdriverreports whether the browser is controlled by automation. It is true in Chrome when the--headlessor--enable-automationflag is used, and in Firefox when Marionette is enabled. - Client Hints: OWASP lists Client Hints headers as a declared signal that can be verified against the client's TLS fingerprint.
Reducing Fingerprinting
- Blend in: Tor Browser tries to put all users in a couple of buckets per trait, rather than letting each browser stand out.
- Avoid unique choices: options that set a browser apart make it easier to fingerprint. That is why Tor Browser doesn't let users choose which OS they appear to be.
- Test your browser: Cover Your Tracks compares your browser's traits, such as fonts, screen resolution and canvas hashes, with other visitors and scores how unique it is.
What It Means for Web Scraping
- Rotation doesn't reset it: a new IP from IP rotation leaves the fingerprint unchanged, so a site can still link the requests.
- Match the proxy's location: set the browser's time zone and language to fit the proxy IP's country.
- Keep one identity per session: OWASP recommends treating a change in client properties mid-session as a possible hijacking sign. Keep the same browser setup and IP with a sticky session.