What is browser fingerprinting?

Browser fingerprinting is a way to recognize a browser without cookies, by combining many small technical details into one identifier. Here is how it works, where it is used, how unique fingerprints really are and what you can do about it.

Updated · 7 min read

Browser fingerprinting, defined

Browser fingerprinting is a technique that identifies a web browser by collecting attributes it exposes, such as user agent, screen size, timezone, installed fonts, graphics card and the way it renders canvas and audio, and combining them into a fingerprint. Nothing is stored on your device, so clearing cookies or using private mode does not remove it.

In short: each attribute is common on its own, but together they often form a combination shared by very few browsers. Sites use that combination to recognize returning visitors, detect bots and fight fraud, and trackers use it to follow people across sites.

How browser fingerprinting works

  1. Collect. A script on the page, often a third-party one, reads dozens of properties through standard web APIs. The server adds what it sees in the request: IP address, HTTP headers and TLS handshake.
  2. Combine. The values are serialized into one long string or structured record.
  3. Hash. The record is hashed into a short ID, for example a 32-character hexadecimal string.
  4. Match. The ID and the raw attributes are compared with previous visits. Modern systems use probabilistic matching, so a visitor is still recognized after a browser update changes one or two attributes.

You can watch this process on your own browser with our browser fingerprint test, which performs the same steps and shows every component.

Passive vs active fingerprinting

Passive fingerprinting uses only what the browser sends anyway: the IP address, HTTP headers such as User-Agent and Accept-Language, and the TLS and HTTP/2 handshake. It needs no JavaScript and leaves no trace in the page.

Active fingerprinting runs JavaScript to query APIs and render hidden content: canvas, WebGL, audio, font measurements, media devices and so on. It reveals far more, and researchers can detect it by inspecting scripts, which is how its spread has been measured.

Common fingerprinting techniques

Canvas fingerprinting

The script draws text and shapes on an invisible canvas and reads back the pixels. Fonts, anti-aliasing, the GPU and drivers produce tiny differences that change the hash. See the canvas fingerprint test.

WebGL and GPU fingerprinting

WebGL exposes the GPU vendor and model, dozens of driver limits and supported extensions, and rendering a 3D scene adds hardware-specific output. See the WebGL fingerprint test.

Audio fingerprinting

An OfflineAudioContext processes a generated tone through a compressor; small floating-point differences in the audio stack produce a stable number for a given device and browser.

Font fingerprinting

By measuring text drawn in candidate fonts against fallback fonts, a script learns which fonts are installed. The list reflects the operating system, language packs and installed software, such as office suites or design tools.

User agent and Client Hints

The user agent string and User-Agent Client Hints reveal browser, version, operating system and sometimes device model and CPU architecture.

Screen, hardware, timezone and language

Screen resolution, pixel ratio, color depth, CPU core count, device memory, touch support, timezone, locale and language list are each low in entropy but add up quickly.

WebRTC

WebRTC can reveal public and, in older setups, local IP addresses, including the real IP behind a VPN. Check it with the WebRTC leak test.

TLS and HTTP/2

The TLS ClientHello and HTTP/2 settings form a fingerprint of the browser engine itself (JA3, JA4), which is why spoofing only the user agent rarely fools anti-bot systems.

Cross-browser fingerprinting

Classic fingerprints identify one browser. Cross-browser fingerprinting tries to recognize the same device across Chrome, Firefox and others by focusing on features that come from the operating system and hardware rather than the browser: GPU rendering behavior, screen properties, CPU cores, installed fonts and audio hardware. A 2017 NDSS paper by Cao, Li and Wijmans showed that such OS- and hardware-level features can link browsers on the same machine, and later work such as DrawnApart (2022) showed that GPU timing can even separate devices with identical hardware.

Browser fingerprinting vs cookies

CookiesFingerprinting
Where the identifier livesStored in your browserComputed from your browser on each visit
Can you see it?Yes, in browser settingsNo, it is calculated silently
Can you delete it?YesNo, only change the underlying signals
Survives private modeNoMostly yes
Blocked by browsersThird-party cookies widely restrictedPartially, by Tor, Brave, Safari, Firefox
AccuracyExact until deletedProbabilistic, drifts over time

Who uses browser fingerprinting and why

  • Fraud prevention: banks, payment providers and shops flag logins and payments from unfamiliar devices and spot one fraudster behind many accounts.
  • Bot detection: CDNs and security services separate real browsers from scripts, scrapers and credential-stuffing tools.
  • Account security: "new device" alerts and step-up verification rely on device recognition.
  • Advertising and analytics: some trackers use fingerprints to follow users where cookies are blocked, which is the use regulators object to most.
  • Paywalls and free trials: limiting free articles or repeated trial sign-ups.

Pros and cons of browser fingerprinting

ProsCons
Detects account takeover and payment fraud without extra friction for legitimate usersInvisible to users and hard to opt out of
Helps block bots, scraping and fake sign-upsEnables cross-site tracking even when cookies are refused
Works when cookies are unavailable or clearedCan be inaccurate: identical devices collide, updates change fingerprints
Supports "trusted device" security featuresOften lacks transparency and valid consent where the law requires it

The pros of browser tracking mostly apply to security uses; the cons dominate when fingerprinting is used for advertising without the user's knowledge.

How unique and stable are fingerprints?

Eckersley's 2010 Panopticlick study found 83.6% of 470,161 browsers unique (94.2% with Flash or Java). The 2016 AmIUnique study measured 89.4% of about 118,000 fingerprints as unique. A 2018 study of around two million fingerprints from a large French website found only about a third unique, and mobile devices far less distinguishable, showing that results depend heavily on the population and on which attributes are collected.

Fingerprints also change: browser updates, new fonts, a different monitor. The FP-STALKER study (2018) showed that changing fingerprints can often be linked back to the same browser using rules and machine learning, so drift alone is not protection.

In the EU, reading information from a user's device is covered by Article 5(3) of the ePrivacy Directive, and the European Data Protection Board confirmed in its Guidelines 2/2023 that fingerprinting falls under it: consent is required unless the processing is strictly necessary, for example for security. When a fingerprint can identify a person, the GDPR applies as well. In California, the CCPA/CPRA treats device identifiers and probabilistic identifiers as personal information.

Platform rules differ: in December 2024 Google announced that from 16 February 2025 its advertising platform policies would allow fingerprinting techniques, a change the UK Information Commissioner's Office publicly criticized. Legality therefore depends on the purpose, the jurisdiction and whether users were properly informed.

How to check and reduce your fingerprint

Start by measuring: the browser fingerprint test shows your Fingerprint ID, which signals are exposed and whether your protections work. Then reduce what you expose: use a browser with fingerprinting protection, avoid rare extensions, keep the browser up to date and, if you use a VPN, keep your timezone and language consistent with it. The full guide on how to prevent browser fingerprinting compares browsers and settings.

Frequently asked questions

Is browser fingerprinting illegal?

Not in itself. In the EU it generally requires consent unless strictly necessary (for example for security), and the GDPR applies when it identifies people. In the US, laws like the CCPA treat fingerprints as personal information with disclosure and opt-out duties. Fraud prevention is widely accepted; covert ad tracking is the contested use.

Can browser fingerprinting identify me personally?

A fingerprint identifies a browser, not a name. It becomes personal when linked to an account, an email address or a purchase made with that browser, which is exactly how many sites connect anonymous visits to known users.

Does clearing cookies stop fingerprinting?

No. A fingerprint is computed from your browser's properties on each visit, so there is nothing stored to clear. After deleting cookies you will usually get the same fingerprint again.

Does incognito mode prevent fingerprinting?

Mostly not. Private windows keep the same hardware, fonts, screen and browser version. Safari and Firefox add some fingerprinting protection in private windows, but in Chrome the fingerprint is practically the same.

How accurate is browser fingerprinting?

It is probabilistic. On desktops with many fonts and a distinct GPU it can be highly accurate; on popular phones many devices look identical. Commercial systems combine fingerprints with IP, cookies and behavior to improve accuracy.

What are the pros of browser tracking?

The main benefits are security-related: detecting fraud and account takeover, blocking bots and fake accounts, and recognizing trusted devices without extra verification steps. The downsides are lack of transparency and cross-site tracking without consent.

Can websites track me across different browsers?

Sometimes. Cross-browser fingerprinting uses signals tied to your operating system and hardware, such as GPU behavior, screen and fonts, which stay the same in every browser on the device. It is less reliable than same-browser fingerprinting.

Sources and further reading