facebook-pixel

Browser Fingerprinting: How Websites Track You Without Cookies

L
Lunyb Security Team
··9 min read

Every time you visit a website, your browser silently hands over dozens of data points — screen size, installed fonts, GPU model, time zone, language settings — that together form a unique signature. This technique is called browser fingerprinting, and unlike cookies, you can't simply delete it. In fact, studies show that over 80% of browsers have a fingerprint unique enough to identify them across sessions and websites, even in private browsing mode.

This guide explains exactly how browser fingerprinting works, why it's become the preferred tracking method for advertisers and data brokers, and what you can do to reduce your fingerprint footprint without breaking the web.

What Is Browser Fingerprinting?

Browser fingerprinting is a stateless tracking technique that identifies users by collecting a combination of browser and device attributes and hashing them into a unique identifier. Unlike cookies, which are stored on your device and can be cleared, fingerprints are generated on the server side using information your browser voluntarily sends with every request.

The term "stateless" is key: there is no file on your computer to delete. Each time you load a page, the same combination of attributes produces the same fingerprint, letting trackers recognize you across visits, sessions, and even across different websites that use the same tracking library.

Fingerprinting vs. Cookies: The Key Difference

  • Cookies are opt-in, stored locally, and easy to delete. You see them, you control them.
  • Fingerprints are invisible, generated server-side, and persist no matter how often you clear your browser data.
  • Private browsing prevents cookies from being saved, but does little to change your fingerprint.

How Browser Fingerprinting Actually Works

A fingerprinting script runs when a page loads and queries your browser through standard web APIs. Each individual data point may not be unique, but combined, they produce a signature that is statistically rare — often one in millions.

The 7 Steps of a Fingerprinting Attack

  1. Script injection: A tracking script (often a third-party library like FingerprintJS) loads with the page.
  2. Attribute collection: The script queries dozens of browser APIs to gather data points.
  3. Canvas rendering: Hidden text and shapes are drawn to an HTML5 canvas; tiny rendering differences between GPUs and drivers produce unique pixel data.
  4. Audio analysis: A silent audio signal is processed through the Web Audio API; the output varies by hardware.
  5. Hashing: All collected data is combined and hashed into a single identifier.
  6. Server storage: The hash is sent to the tracker's server and linked to any known accounts or past visits.
  7. Cross-site linking: Because the same script runs on many sites, your fingerprint lets trackers follow you across the web.

What Data Does a Browser Fingerprint Include?

Modern fingerprinting scripts collect anywhere from 20 to 100+ attributes. Here are the most important categories:

CategoryExamplesUniqueness
Browser infoUser agent, version, language, platformLow-Medium
Screen & displayResolution, color depth, device pixel ratioMedium
HardwareCPU cores, RAM, GPU model (via WebGL)High
Canvas & WebGLRendered image hashesVery High
AudioAudio context processing signatureHigh
FontsList of installed fontsVery High
NetworkIP address, time zone, connection typeMedium
BehaviorMouse movement, typing cadence, scroll patternsHigh

Canvas Fingerprinting Explained

Canvas fingerprinting is the single most powerful technique. The script asks your browser to render a specific string of text with particular fonts, colors, and emoji onto a hidden HTML5 canvas element. The resulting image is then converted to a pixel data hash.

Because of subtle differences in your GPU, graphics driver, operating system font rendering, and anti-aliasing algorithms, two seemingly identical computers will produce slightly different pixel outputs. These differences are invisible to the human eye but easy for a computer to detect — and they're remarkably stable over time.

WebGL and Audio Fingerprinting

WebGL fingerprinting works similarly to canvas but leverages 3D rendering. The script requests the GPU model string directly and renders a complex 3D scene to extract unique hardware signatures. Audio fingerprinting uses the Web Audio API to process a signal and measure how your audio stack handles it — again, tiny hardware-level variations create a unique output.

Why Websites and Advertisers Use Fingerprinting

Fingerprinting exploded in popularity for a simple reason: regulators and browsers have cracked down on cookies, but fingerprints remain largely unregulated and technically difficult to block.

Legitimate Use Cases

  • Fraud prevention: Banks use fingerprinting to detect account takeovers when a login comes from an unfamiliar device.
  • Bot detection: E-commerce sites identify scraping bots and credential-stuffing attacks.
  • License enforcement: Streaming services prevent password sharing across too many devices.

Privacy-Invasive Use Cases

  • Cross-site tracking: Ad networks follow you from site to site without cookies.
  • Price discrimination: Some retailers show different prices based on your device profile.
  • Data broker profiling: Fingerprints are linked to email addresses, purchase history, and demographic data for resale.
  • Circumventing consent: Even if you reject cookies under GDPR, your fingerprint may still be collected.

How to Test Your Own Browser Fingerprint

Before you can defend against fingerprinting, you need to know how unique your browser looks. Several free tools let you check:

  1. AmIUnique.org — Shows which of your attributes are most identifying.
  2. CoveryourTracks (EFF) — Tests whether your browser blocks tracking and estimates uniqueness in bits.
  3. BrowserLeaks.com — Deep dive into canvas, WebGL, fonts, and audio fingerprints individually.

Run these tests, then run them again after making changes to see which protections actually work.

How to Reduce Your Browser Fingerprint

There's no way to be completely unfingerprintable without breaking most websites, but you can dramatically lower your uniqueness score with the right combination of browser choices and settings.

1. Choose a Privacy-Focused Browser

BrowserFingerprint ProtectionBest For
Tor BrowserExcellent — all users look identicalMaximum anonymity
BraveStrong — randomizes fingerprint per sessionEveryday browsing
Firefox (hardened)Good with privacy.resistFingerprinting enabledCustomizable protection
LibreWolfStrong — Firefox fork with hardened defaultsFirefox fans wanting zero setup
ChromeMinimal — Google benefits from trackingNot recommended for privacy

2. Enable Fingerprint Randomization or Standardization

There are two philosophies for defeating fingerprinting:

  • Standardization (Tor approach): Make every user look identical so no fingerprint is unique.
  • Randomization (Brave approach): Change key attributes slightly on every page load so the fingerprint is never the same twice.

Both work. Avoid mixing obscure extensions on a mainstream browser — that often makes you more unique, not less.

3. Disable or Limit JavaScript Where Possible

Most fingerprinting requires JavaScript. Tools like NoScript (Firefox) or Brave's Shields let you block scripts on sites that don't need them. This is the most effective single defense but will break some sites.

4. Block Third-Party Trackers

Install uBlock Origin and keep its default filter lists active. Many fingerprinting scripts are loaded from known tracker domains and can be blocked at the network level before they ever run.

5. Be Cautious With Browser Extensions

Every extension you install adds to your fingerprint. A niche combination of extensions can make you uniquely identifiable even on a hardened browser. Stick to a minimal, well-known set.

6. Use Encrypted DNS and Clean Links

Fingerprinting is only part of the tracking ecosystem. Your DNS queries and the links you click also leak data. Enable encrypted DNS (DNS over HTTPS) in your browser settings, and when sharing links, use a privacy-respecting shortener that doesn't attach tracking parameters. Services like Lunyb focus on clean, privacy-first short links without the invasive analytics that most URL shorteners bundle in — if you're curious about how it stacks up, see our honest review of Lunyb.

The Limits of Fingerprint Protection

Even with every protection enabled, perfect anonymity online is extremely difficult. Behavioral fingerprinting — the way you move your mouse, how fast you type, which links you click — is harder to randomize and is increasingly used by sophisticated trackers. Login-based tracking (first-party data) also bypasses fingerprinting entirely: once you sign in, the site knows exactly who you are regardless of browser settings.

The realistic goal is to raise the cost of tracking you high enough that most trackers give up and target easier users. You don't need to be invisible; you need to be forgettable.

The Future of Browser Fingerprinting

As browsers add more APIs (WebGPU, WebBluetooth, WebUSB, sensor access), the surface area for fingerprinting grows. At the same time, regulators in the EU and UK are starting to classify fingerprinting as a form of personal data processing that requires consent under GDPR and the ePrivacy Directive. Enforcement is still spotty, but fines are beginning to appear.

Browser vendors are responding differently. Apple's Safari actively fights fingerprinting through its Intelligent Tracking Prevention system. Mozilla ships anti-fingerprinting protections in Firefox. Google's Chrome, dependent on ad revenue, has been slower to act. Expect the next few years to bring both more aggressive tracking techniques and stronger browser-level defenses.

Frequently Asked Questions

Can I completely stop browser fingerprinting?

Not entirely, but you can get close. Using Tor Browser is the single most effective step, since every Tor user is designed to look identical. For everyday use, a combination of Brave or hardened Firefox, uBlock Origin, and minimal extensions will put you in a much less unique group.

Does private or incognito mode prevent fingerprinting?

No. Private browsing only prevents cookies, history, and form data from being stored on your device. Your browser still reports the same screen resolution, GPU, fonts, and canvas signature to every site you visit, producing the same fingerprint as in a normal window.

Is browser fingerprinting legal?

It depends on jurisdiction. Under GDPR in the EU and the UK, fingerprinting for tracking generally requires user consent, just like cookies. Enforcement has been inconsistent, but regulators are paying more attention. In the US, fingerprinting is largely unregulated at the federal level, though state laws like CCPA may apply.

Do mobile browsers get fingerprinted too?

Yes, and in some ways more easily. Mobile devices have less variation in hardware and fonts, but apps and browsers expose unique identifiers like device model, OS version, and sensor data. Mobile Safari and Firefox Focus offer the best anti-fingerprinting protection on phones.

Will using a privacy browser break websites?

Occasionally. Some sites rely on fingerprinting for fraud detection and may block or challenge you with CAPTCHAs if your fingerprint looks suspicious or changes frequently. Most mainstream sites work fine. If a critical site breaks, consider using a separate, less-hardened browser for that single site rather than weakening your main browser's protections.

Final Thoughts

Browser fingerprinting is the quiet backbone of modern web tracking. It works even when cookies don't, it persists across sessions and private windows, and it's largely invisible to the average user. The good news is that awareness is the hardest part — once you understand how it works, defending against it is mostly about picking the right browser, running the right blocker, and staying thoughtful about the services and links you use.

Privacy online is a layered practice. Fingerprint defense is one layer; clean links, encrypted DNS, minimal account sharing, and good password hygiene are others. Stack them together, and the modern tracking ecosystem has a much harder time building a profile on you.

Protect your links with Lunyb

Create secure, trackable short links and QR codes in seconds.

Get Started Free

Related Articles