facebook-pixel

Browser Fingerprinting: How Websites Track You Without Cookies

L
Lunyb Security Team
··8 min read

Every time you visit a website, your browser quietly broadcasts a surprising amount of information about your device. Even if you clear cookies, use private browsing, or block ads, trackers can still identify you with uncanny accuracy through a technique called browser fingerprinting. This guide explains how it works, what data is collected, and what you can do to reduce your digital footprint.

What Is Browser Fingerprinting?

Browser fingerprinting is a tracking technique that identifies and follows users across websites by collecting dozens of small details about their browser, device, and configuration. Unlike cookies, which are stored on your device and can be deleted, a fingerprint is generated on the fly from attributes your browser naturally reveals.

When combined, these attributes create a nearly unique identifier. Research by the Electronic Frontier Foundation (EFF) and its Panopticlick project found that most browsers produce fingerprints unique enough to single out one user in hundreds of thousands, without ever setting a cookie or asking permission.

Why Fingerprinting Exists

Websites and advertisers use fingerprinting for several reasons:

  • Ad targeting and attribution: Tracking users across sites to measure ad performance.
  • Fraud detection: Banks and e-commerce sites flag suspicious logins from unfamiliar devices.
  • Analytics: Understanding how visitors move through a site.
  • Bot prevention: Distinguishing automated scripts from real users.

While some uses are legitimate, the same techniques power invasive cross-site tracking that many users never consented to.

How Browser Fingerprinting Works

Fingerprinting relies on the fact that no two devices are configured in exactly the same way. A script embedded in a webpage quietly queries your browser for characteristics that, individually, seem harmless. Combined, they form a signature.

The Fingerprinting Process in 5 Steps

  1. Script loads: You visit a page containing JavaScript from a tracker or analytics provider.
  2. Data collection: The script queries APIs like navigator, screen, canvas, and WebGL.
  3. Hashing: All collected values are combined and hashed into a single identifier.
  4. Storage and matching: The hash is sent to a server where it is matched against previous visits.
  5. Cross-site linking: The same fingerprint appearing on multiple sites links your activity across them.

What Data Does a Fingerprint Include?

Modern fingerprinting scripts can collect over 100 data points. Here are the most common categories and what they reveal.

Data TypeExamplesWhat It Reveals
User agentBrowser name, version, OSYour software stack
Screen propertiesResolution, color depth, pixel ratioDevice model hints
Installed fontsList of system and web fontsOS and user customizations
Canvas fingerprintHash of rendered 2D graphicsGPU and driver details
WebGL fingerprintHash of rendered 3D graphicsGraphics hardware
Audio fingerprintAudioContext output signatureAudio stack configuration
HardwareCPU cores, device memory, touch pointsDevice class
Timezone and languageGMT offset, Accept-Language headerGeographic hints
Browser pluginsPlugin and extension artifactsUser habits
Battery statusCharge level, charging stateShort-term re-identification

Canvas and WebGL Fingerprinting

Two of the most powerful techniques are canvas and WebGL fingerprinting. A script asks your browser to draw a hidden image using the HTML5 canvas or WebGL API. Because every combination of GPU, graphics driver, operating system, and font-rendering engine produces subtly different pixel output, the resulting image hash becomes a strong identifier. Two users with similar laptops but different driver versions will still produce different hashes.

Audio Fingerprinting

Similarly, the Web Audio API can be asked to process a signal without playing anything. The mathematical output varies across devices depending on hardware and software stack, producing another stable identifier.

Fingerprinting vs. Cookies: Key Differences

Cookies and fingerprinting both track users, but they behave very differently.

AttributeCookiesFingerprinting
Stored on deviceYesNo
User can deleteEasilyNot directly
Requires consent (EU)YesLegally yes, often ignored
Works in private modeSession onlyYes
Cross-site trackingThird-party cookies onlyYes, inherently
Visible to userYes (via browser tools)Invisible

As browsers phase out third-party cookies, advertisers are leaning more heavily on fingerprinting, which makes it a growing privacy concern.

How Unique Is Your Fingerprint?

You can test your own fingerprint using free tools such as the EFF's Cover Your Tracks, AmIUnique.org, or Browserleaks. Most users discover that their browser is unique among hundreds of thousands tested. Ironically, users who take steps to look different, such as installing many extensions or setting an obscure language, can become more identifiable, not less. This is known as the paradox of the privacy enthusiast.

Who Uses Browser Fingerprinting?

Fingerprinting is deployed widely across the internet.

  • Ad tech networks: To rebuild user profiles as cookies disappear.
  • Analytics providers: To deduplicate visitors and attribute conversions.
  • Anti-fraud vendors: To score risk during checkout or login.
  • Streaming and ticketing sites: To enforce account limits and detect scalpers.
  • Government and surveillance tools: To track individuals across platforms.

A 2020 academic study of the top one million websites found fingerprinting scripts active on roughly a quarter of them. That number has grown as regulators tighten cookie rules.

How to Protect Yourself From Browser Fingerprinting

You cannot eliminate fingerprinting entirely without breaking the modern web, but you can meaningfully reduce your exposure. The best strategies focus on blending in with other users rather than standing out.

1. Use a Privacy-Focused Browser

Some browsers actively resist fingerprinting:

  • Tor Browser: Standardizes window size, blocks canvas and WebGL by default, and makes every user look the same. This is the gold standard but comes with speed and usability trade-offs.
  • Brave: Randomizes canvas, WebGL, and audio outputs so each visit returns a slightly different fingerprint.
  • Firefox with resistFingerprinting: Enables protections similar to Tor by setting privacy.resistFingerprinting in about:config.
  • LibreWolf and Mullvad Browser: Preconfigured Firefox forks with strong anti-fingerprinting defaults.

2. Block Trackers at the Network Level

Even the best browser cannot help if trackers are loaded in the first place. Use an encrypted DNS resolver that blocks known tracking domains, such as NextDNS, Control D, or AdGuard DNS. These tools block fingerprinting scripts before they reach your browser, protecting every device on your network.

3. Use Content Blockers Wisely

Extensions like uBlock Origin block many fingerprinting scripts via curated filter lists. Avoid stacking multiple overlapping privacy extensions, which can paradoxically make you more identifiable.

4. Disable or Limit JavaScript on Untrusted Sites

Most fingerprinting requires JavaScript. Extensions such as NoScript let you allow scripts only on sites you trust. This breaks many sites but is extremely effective where it works.

5. Keep Your Browser Up to Date and Stock

The more you customize your browser, the more unique you become. Use popular default settings and the most common browser on your platform to blend into the crowd.

6. Be Careful What You Share in URLs

Links themselves can leak information. Long tracking URLs often contain user IDs, campaign tags, and referrers that combine with fingerprints to enrich tracker profiles. When you need to share a link, using a privacy-respecting link shortener like Lunyb strips unnecessary parameters and avoids handing off your data to advertising networks. For a deeper look at how Lunyb approaches privacy, see our honest review of the privacy-first URL shortener.

7. Compartmentalize Browsing

Use separate browsers or container tabs for different activities. Banking in one browser, social media in another, and general browsing in a third makes it harder for trackers to link your identities. Firefox Multi-Account Containers and similar features make this easy.

Pros and Cons of Anti-Fingerprinting Measures

Pros

  • Significantly reduces cross-site tracking.
  • Limits ad profile accuracy.
  • Improves resistance to invisible surveillance.
  • Often improves page load times by blocking heavy scripts.

Cons

  • Some sites break or demand CAPTCHA solving repeatedly.
  • Highly customized setups can make you more unique, not less.
  • Anti-fraud systems may flag you as suspicious.
  • Requires ongoing maintenance and awareness.

The Future of Fingerprinting and Privacy

Browser vendors are moving slowly but steadily against fingerprinting. Safari's Intelligent Tracking Prevention, Firefox's Enhanced Tracking Protection, and Chrome's Privacy Sandbox all aim to reduce covert identification. The Privacy Sandbox in particular proposes replacing some tracking with aggregated, privacy-preserving APIs, though critics argue it still enables ad targeting under a new banner.

Legislation is catching up too. The EU's ePrivacy Directive, GDPR, California's CPRA, and Brazil's LGPD all treat fingerprinting as personal data processing that generally requires consent. Enforcement, however, remains uneven, and many sites still fingerprint silently.

For the foreseeable future, the best defense is a layered one: a privacy-respecting browser, network-level script blocking, careful habits, and tools that minimize what you expose when you share or shorten links.

Frequently Asked Questions

Can I stop browser fingerprinting completely?

Not entirely, without disabling JavaScript and most modern web features. But you can reduce your uniqueness dramatically by using a browser like Tor, Brave, or Mullvad Browser, blocking tracking scripts, and avoiding unusual customizations.

Does private or incognito mode prevent fingerprinting?

No. Private browsing only prevents local history and cookies from being stored. Your fingerprint is generated fresh each session and remains just as identifiable as in normal mode.

Is browser fingerprinting legal?

In most jurisdictions with modern privacy laws, fingerprinting without informed user consent is considered unlawful tracking. In practice, enforcement is inconsistent and many sites fingerprint without disclosure.

Will clearing cookies change my fingerprint?

No. Fingerprints are built from your device and browser characteristics, not from stored data. Clearing cookies has no effect on fingerprint-based tracking.

How can I test my browser's fingerprint?

Free tools such as EFF's Cover Your Tracks (coveryourtracks.eff.org), AmIUnique.org, and Browserleaks.com show what your browser reveals and how unique your signature is among their visitor database.

Protect your links with Lunyb

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

Get Started Free

Related Articles