---
site: steel.dev
collection: blog
canonical_url: https://steel.dev/blog/how-browser-fingerprinting-works
markdown_url: https://steel.dev/blog/how-browser-fingerprinting-works.md
content_signal: ai-input=yes, ai-train=yes, search=yes
related:
  - https://steel.dev/blog/what-is-bot-detection.md
  - https://steel.dev/blog/what-is-an-ai-agent-benchmark.md
  - https://steel.dev/blog/how-to-choose-browser-automation-api.md
title: "How browser fingerprinting works: signals, collection, and scoring"
description: Learn how browser fingerprinting collects signals like canvas, WebGL, and fonts, hashes them into an identifier, and scores consistency.
date: 2026-11-27
authors:
  - Hussien Hussien
category: Guides
minutes: 11
tldr: A browser fingerprint combines dozens of browser attributes, each adding measurable entropy. Sites score internal consistency, such as whether the GPU, fonts, and timezone fit the claimed OS and location. Fingerprints drift, so resilient systems tolerate small changes. An authorized agent should aim for session consistency.
topics:
  - Browser fingerprinting
  - Bot detection
  - Canvas fingerprinting
  - WebGL fingerprinting
  - Fingerprint entropy
  - AI agents
entities:
  - Steel
  - Steel Cloud
  - Steel Local
  - Playwright
  - Puppeteer
  - Selenium
  - FingerprintJS
  - Cloudflare
  - Cloudflare Bot Management
  - Panopticlick
answers_questions:
  - What is the difference between a unique fingerprint and an identifying fingerprint?
  - Can an agent randomize its fingerprint to avoid detection?
  - Does fingerprinting work in private/incognito mode?
  - How often do fingerprints change?
  - What signals does Cloudflare check?
faqs:
  - question: What is the difference between a unique fingerprint and an identifying fingerprint?
    answer: Uniqueness means no other browser has the same fingerprint. Identification means a site can recognize the browser on return visits. A fingerprint can be unique without revealing a name, email, or account, and it can also be non-unique and still identifying if stable enough to link sessions together.
  - question: Can an agent randomize its fingerprint to avoid detection?
    answer: A site expects a fingerprint to stay stable within a session, so a fingerprint that changes between page loads reads as automation. Run a full browser in a full OS environment with the hardware, drivers, and fonts a normal user's machine exposes, and keep those signals consistent.
  - question: Does fingerprinting work in private/incognito mode?
    answer: Yes. Unlike cookies and local storage, a [fingerprint stays the same](https://www.thumbmarkjs.com/content/browser-fingerprinting-javascript/) in incognito/private mode and even when browser data is purged. Private mode isolates only cookies and local storage, while GPU data, fonts, and screen resolution stay exposed. Fingerprinting is stateless by design.
  - question: How often do fingerprints change?
    answer: Expect the fingerprint to drift slowly, over weeks to months, and it is not frozen. A browser update, a new GPU driver, an OS update, a new font, or a changed display can all shift it. [Research on fingerprint stability](https://dl.acm.org/doi/pdf/10.1145/3419394.3423614) found that user actions accounted for about 13.40% of changes, with browser and OS updates accounting for the largest share, so most drift comes from software and hardware updates.
  - question: What signals does Cloudflare check?
    answer: Cloudflare's [bot management](https://www.cloudflare.com/learning/bots/what-is-bot-management/) runs an ML model, a heuristics engine, JavaScript detection, and per-customer models, and correlates the TLS fingerprint with the claimed browser identity. No single signal determines the bot score. A mismatch between the claimed browser identity and the TLS fingerprint can raise the request's score and contribute to a block or challenge.
---

# How browser fingerprinting works: signals, collection, and scoring

When you run a Playwright or Puppeteer script locally, it passes. When you move the same script to production on cloud infrastructure, bot detection flags it. The difference is the browser environment, and each environment difference changes at least one signal a site's script can read.

This article explains how browser fingerprinting collects signals, hashes them into a stable identifier, and scores consistency. Use it to diagnose why your automation fails and to configure your browser runtime for consistent signals.

## How fingerprinting identifies browser instances

Browser fingerprinting combines dozens of browser attributes into a stable identifier, used to recognize returning browsers and detect automation. Unlike third-party cookies, it is stateless and survives cookie clearing and private windows.

A site's script calls standard web platform APIs and reads the results: the GPU vendor, how text renders, and which fonts are installed.

### Fingerprinting vs. cookie-based tracking

| Attribute | Browser fingerprinting | Cookie-based tracking |
| - | - | - |
| **Storage location** | Browser APIs and rendering engine output. Nothing stored on device | Cookies stored in the browser's profile folder |
| **Persistence** | Survives cookie clearing, private/incognito mode, browser restart | Deleted when the user clears cookies or uses private mode |
| **User visibility** | Runs silently via JavaScript | Visible in browser settings, where users can inspect and delete |
| **User control** | Limited. Requires browser-level privacy settings | Users can delete, block, or disable |
| **Impact on AI agents** | Default automation tools expose obvious signals | Agents can store and replay session cookies |

### Why sites fingerprint browsers

Sites use fingerprinting for fraud prevention, analytics, and bot detection. The first two are largely passive, while the third is adversarial. [Cloudflare Bot Management](https://www.cloudflare.com/learning/bots/what-is-bot-management/) runs a multi-engine detection stack and correlates the observed TLS fingerprint with the browser the request claims to be. The [bot detection guide](https://steel.dev/blog/anti-bot-defense) covers how sites score these signal layers.

When the measurement is internally inconsistent, for example a GPU that does not match the claimed OS, the site flags the request even if every individual signal is honest.

## Identifying visitors through browser attributes

Fingerprinting works in three steps: extract signals, hash them, and calculate entropy.

### Step 1: Extracting browser attributes

The [FingerprintJS library](https://github.com/fingerprintjs/fingerprintjs) aggregates signals from canvas rendering, audio processing, WebGL capabilities, installed fonts, screen properties, and various browser APIs to create a composite identifier.

A fingerprinting script only reads what the browser already exposes:

- **Navigator object**: User agent string, platform, language, timezone, hardware concurrency, device memory

- **Screen object**: Resolution, color depth, pixel density, available height and width

- **Canvas rendering**: Rendered text and shapes, hashed from the pixel output

- **WebGL context**: GPU vendor, renderer, supported extensions, shader precision

- **Audio context**: Oscillator output, analyzer data, sample rate

- **Fonts**: Installed system fonts, detected via text measurement

### Step 2: Creating stable device hashes

The script collects the signals, serializes them to JSON, and passes them to a hash function such as MurmurHash3. FingerprintJS computes a visitor ID this way, so the same browser, device, and settings always produce the same hash.

### Step 3: Calculating fingerprint entropy

Entropy measures how much identifying information a signal carries, quantified in bits.

Eckersley's [Panopticlick study](https://www.freehaven.net/anonbib/papers/pets2010/p1-eckersley.pdf) in 2010 quantified browser fingerprinting entropy. From 470,161 fingerprints, 83.6% were unique, and the composite produced at least 18.1 bits of entropy. With Flash or Java installed, the average browser carried at least 18.8 bits, and 94.2% of those browsers were unique in the sample.

Those figures come from a 2010 sample. Modern browsers add canvas rendering and WebGL to the set of measurable signals, and each site builds its entropy baseline from its own traffic.

## Key components of a browser fingerprint

The most distinctive signals are below.

### Canvas fingerprinting

Canvas fingerprinting uses the HTML5 canvas element to tell browsers apart by how they draw. The script renders text and shapes to a hidden canvas element, reads the pixel data back, and hashes it. Output depends on the operating system, installed fonts, GPU and drivers, and the browser's rasterization and antialiasing.

Canvas captures hardware-level variation. The [tracking-mechanisms survey](https://arxiv.org/abs/1507.07872) found it deployed on 5.5% of the top 100,000 websites as of 2014.

### Identifying hardware via WebGL vendor

WebGL goes deeper than canvas because it queries the GPU directly. A script can pull the exact GPU vendor and renderer string, the full list of supported WebGL extensions (typically 30 to 50), shader precision formats, maximum texture sizes, and viewport dimensions. Each varies by hardware model and driver version.

### Screen resolution

Screen resolution is a weaker signal than GPU data, but it contributes. In the Panopticlick study, screen size had an entropy of 4.83 bits, enough to narrow the possibility space alongside GPU and font signals.

### How locale data aids fingerprinting

Timezone and language are declared signals any page can read. In Panopticlick, timezone had an entropy of 3.04 bits. A browser claiming Eastern Time from a datacenter in Oregon is a mismatch the site can score, while the same browser reporting Portuguese from an IP in Brazil is consistent.

### Identifying installed system fonts

Fonts contributed 13.9 bits of entropy in the Panopticlick study, one of the highest-entropy signals because the installed set reflects both the operating system and the software the user has installed. Font fingerprinting detects installed fonts by measuring how sample text renders, since a missing font falls back to a default with different dimensions.

### Extracting media device fingerprints

The browser exposes an enumeration of audio and video input devices: microphones, cameras, speakers. This signal is weak in absolute terms but useful as corroborating evidence, since a headless server claiming to have a camera and microphone is suspicious. Audio processing adds another layer, because oscillator output differs by audio hardware and drivers.

### CPU and hardware concurrency metrics

`hardwareConcurrency` reports the number of CPU cores and is standard in fingerprinting. A browser claiming 32 cores from a residential IP is implausible, since typical consumer machines report 2 to 8. A browser claiming 2 cores from a datacenter is inconsistent with the IP's typical machine profile.

## Quantifying browser identity: from signals to hash

Entropy tells a site how much a signal distinguishes browsers, and hashing turns those signals into one identifier it can compare across visits.

### Fingerprint hashing and collision logic

A fingerprinting library collects signals, serializes them into a canonical format, and passes the string to a hash function:

```js
const signals = {
  userAgent: "Mozilla/5.0...",
  canvas: "a3f7d2e9...",
  webgl: "NVIDIA GeForce...",
  fonts: ["Arial", "Times New Roman", ...],
  screen: { width: 1920, height: 1080 },
  timezone: "America/New_York"
};

const json = JSON.stringify(signals);
const hash = murmurHash3x64128(json);
// hash: "7f3a8e2b1c4d9f6a5e8c3b1d7a9f2e4c..."
```

The probability of two different signal combinations colliding is negligible, so the identifier is stable for a given signal set. Because hashes rely on an exact match across all attributes, they become less stable over longer intervals as real signals drift.

### How fingerprints drift and how sites tolerate it

No fingerprint stays frozen forever. Fingerprinting research documents this drift: [Gomez-Boix et al.](https://dl.acm.org/doi/pdf/10.1145/3419394.3423614) studied how fingerprints change over time and found that browser and OS updates account for a large share of fingerprint changes. A resilient system does not expect an exact match on every visit.

Fuzzy matching replaces exact hashes in modern fingerprinting systems. A site stores a baseline fingerprint from a known user, then allows small deviations. If 10 of 12 signals match, that is a hit. If 2 of 12 match, that is a new visitor.

A real browser's fingerprint drifts slowly and coherently. A browser update changes the user agent and may update fonts, while GPU and screen remain the same. A spoofed fingerprint drifts chaotically: the GPU claims NVIDIA, then Intel. The screen claims 1920x1080, then 2560x1440. Sites flag that incoherence as automated.

### Measuring entropy in browser signals

| Signal | Approximate entropy (bits) | Source |
| - | - | - |
| Fonts | 13.9 | Panopticlick 2010 |
| Plugins | 15.4 | Panopticlick 2010 |
| User agent | 10.0 | Panopticlick 2010 |
| Screen size | 4.83 | Panopticlick 2010 |
| Timezone | 3.04 | Panopticlick 2010 |

Modern systems combine all of these signals when they score a browser.

## Why the same browser produces different fingerprints

Four layers of the environment shape the fingerprint: the operating system, the GPU and drivers, the installed fonts, and codec support.

### Identifying host OS via fingerprints

The operating system determines which fonts are installed by default, how text is rasterized, and what WebGL drivers are available. A Windows machine ships Segoe UI, Calibri, and Courier New. A macOS machine ships SF Pro Display, Helvetica, and Monaco. A Linux container might have only DejaVu Sans.

A Playwright script that works on Windows will produce a different canvas fingerprint on Linux because canvas fingerprinting measures how the browser rasterizes text and shapes.

### GPU vendor and driver signal analysis

WebGL's `UNMASKED_RENDERER_WEBGL` string reflects the GPU driver. A real Chrome instance on an Apple Silicon MacBook returns a renderer string that names the chip, such as Apple M2, inside the ANGLE Metal renderer format. A headless instance without GPU passthrough returns Google SwiftShader or ANGLE (Google, Vulkan 1.3.0 (SwiftShader)).

### Identifying installed fonts and system codecs

Installing Office, Adobe apps, or a design suite changes the installed font list and therefore the fingerprint. A local machine might have hundreds of fonts, while a production container might have ten. On a typical Linux server running headless Chromium with no GPU, emoji rendering falls back to a narrow set, while a real desktop renders a full range.

Codec support varies too. Some machines have FFmpeg and others do not, and these differences compound.

### Running a consistent browser environment

Steel sessions run headful in a [full OS environment](https://steel.dev/docs/stealth/fingerprints), with the real fonts and display stack of a normal machine, so the fingerprint a site reads is coherent end to end. Each session gets a realistic desktop fingerprint by default, and setting `deviceConfig` to `{ device: "mobile" }` switches it to a mobile profile with matching viewport dimensions, touch events, and fingerprint.

If the browser claims to be Windows, the fonts should not include Helvetica Neue, which is a macOS default, and if the GPU reports NVIDIA, the WebGL extensions should match that driver profile.

## The role of consistency in session integrity

Sites score internal coherence. A browser whose signals agree with each other passes, and a browser with contradictions gets flagged, however common its configuration is.

### Detecting mismatched browser signals

A user agent string claiming Chrome 120 on Windows while WebGL reports SwiftShader, or while the TLS fingerprint matches a headless Linux build, is contradictory in a way no real browser produces. A bot detection script compares every signal against the others: fonts against the claimed OS, screen against the claimed device, GPU against the user agent, and timezone and language against the IP geolocation. Each mismatch is a point of suspicion, and sites accumulate evidence across mismatches before scoring a request.

### How sites detect fingerprint jitter

Jitter is instability within a session. A real browser's fingerprint does not change from one page load to the next. A spoofed or misconfigured automation setup might have randomization logic that changes the canvas hash, screen resolution, or font list between requests.

Research on headless browser detection found that headless sessions show measurably rougher timing than interactive sessions on the same hardware, with coarser quantization, more jitter, and a higher coefficient of variation. A headless browser lacks the display compositor and refresh pacing that regularize frame timing in interactive use, so it renders with more timing roughness. [Render-timing research](https://arxiv.org/abs/2607.23389) reports these findings from a 12-hour passive deployment on a single GPU architecture.

Consistency signals a normal browser. Randomization, even when it aims to be realistic, creates observable roughness.

### Configuring and verifying agent browser signals

To run an agent on authorized websites and accounts, focus on consistency across your environments. Check these signals in both the local and production environments:

- `navigator.webdriver`: Returns true under automation.

- `navigator.platform`: Should match the claimed OS.

- `navigator.hardwareConcurrency`: Should be plausible for a machine of that type.

- **Screen resolution**: Should match the user agent's claimed device type and OS.

- **Timezone**: Should be consistent across requests and match IP geolocation when possible.

- **WebGL vendor**: Should match the claimed GPU and OS.

- **Canvas output**: Should be stable across multiple renders on the same page.

- **Font list**: Should match the claimed OS and stay consistent across sessions.

The W3C WebDriver standard requires a conforming automation session to set `navigator.webdriver` to true, so pages can tell they are being driven. Selenium, Playwright, Puppeteer, and any CDP-driven browser launched in automation mode set it. Chrome sets it when launched with the `--enable-automation` switch or controlled via the DevTools Protocol, and Firefox sets it under Marionette.

Read the [session lifecycle documentation](https://steel.dev/docs/sessions/lifecycle) before choosing between Steel Cloud and Steel Local. Steel Cloud runs sessions in isolated environments with a consistent browser fingerprint. Steel Local runs the open-source browser on your infrastructure, which gives you full control over the environment and puts fingerprint consistency on your team. Run the same script locally and in a Steel session, then compare the signals in the checklist above.

## Frequently asked questions

### What is the difference between a unique fingerprint and an identifying fingerprint?

Uniqueness means no other browser has the same fingerprint. Identification means a site can recognize the browser on return visits. A fingerprint can be unique without revealing a name, email, or account, and it can also be non-unique and still identifying if stable enough to link sessions together.

### Can an agent randomize its fingerprint to avoid detection?

A site expects a fingerprint to stay stable within a session, so a fingerprint that changes between page loads reads as automation. Run a full browser in a full OS environment with the hardware, drivers, and fonts a normal user's machine exposes, and keep those signals consistent.

### Does fingerprinting work in private/incognito mode?

Yes. Unlike cookies and local storage, a \[fingerprint stays the same]\(https\://www\.thumbmarkjs.com/content/browser-fingerprinting-javascript/) in incognito/private mode and even when browser data is purged. Private mode isolates only cookies and local storage, while GPU data, fonts, and screen resolution stay exposed. Fingerprinting is stateless by design.

### How often do fingerprints change?

Expect the fingerprint to drift slowly, over weeks to months, and it is not frozen. A browser update, a new GPU driver, an OS update, a new font, or a changed display can all shift it. \[Research on fingerprint stability]\(https\://dl.acm.org/doi/pdf/10.1145/3419394.3423614) found that user actions accounted for about 13.40% of changes, with browser and OS updates accounting for the largest share, so most drift comes from software and hardware updates.

### What signals does Cloudflare check?

Cloudflare's \[bot management]\(https\://www\.cloudflare.com/learning/bots/what-is-bot-management/) runs an ML model, a heuristics engine, JavaScript detection, and per-customer models, and correlates the TLS fingerprint with the claimed browser identity. No single signal determines the bot score. A mismatch between the claimed browser identity and the TLS fingerprint can raise the request's score and contribute to a block or challenge.

## Key terms glossary

**Entropy**: A measure of information diversity or uniqueness, expressed in bits, where one bit halves the possibility space.

**Hash function**: A mathematical function that takes input data and produces a fixed-size output, usually a hexadecimal string. The same input always produces the same output. Different inputs almost never do.

**Canvas fingerprinting**: A technique that renders text or shapes to an invisible HTML5 canvas element, reads the pixel data, and hashes it. The output depends on the GPU, fonts, and browser rendering engine.

**WebGL fingerprinting**: A technique that queries the WebGL context for GPU vendor, renderer strings, supported extensions, and shader capabilities, reflecting hardware-level GPU information that libraries such as FingerprintJS collect.

**TLS fingerprinting**: A network-level technique that analyzes the structure of the TLS ClientHello message, including cipher suites, extensions, and curves. JA3 and JA4 are common TLS fingerprint hashes used in bot detection.

**Jitter**: Instability or variation in a measurement across multiple readings. High jitter in fingerprints is a sign of randomization or evasion.

**Fuzzy matching**: A matching algorithm that allows for small differences. Instead of requiring an exact hash match, fuzzy matching links fingerprints that agree on most signals while tolerating changes in a few.
