What is browser fingerprinting?

Browser fingerprinting is a tracking method that identifies your browser by its settings and device properties. A script reads values such as your screen size, time zone, installed fonts and graphics card. Together they form a profile that recognises you on other websites, without a cookie.

By Christian Branbergen Updated 6 min read

On this page
  1. How does browser fingerprinting work?
  2. What does a fingerprint contain?
  3. What is canvas fingerprinting?
  4. Why does clearing cookies not help?
  5. How can you prevent fingerprinting?
  6. Frequently asked questions

How does browser fingerprinting work?

Browser fingerprinting works by reading many small facts about your browser and combining them into one identifier. Every website can ask your browser for details it needs to display a page. Examples are your language, your screen size and your time zone. One value alone is shared by millions of people. Dozens of values together are often unique to one browser.

A fingerprinting script collects these values while the page loads. It turns them into a hash, a short code that stands for the whole set. The script sends that code to the tracking company. When the same code appears on another website, the company knows it is the same browser.

You see nothing of this. The script stores no file on your computer, and your browser shows no permission prompt. Fingerprinting is one of the common types of trackers, next to cookies, pixels and tracking scripts.

Advertising and analytics companies use fingerprints to follow you across websites. Banks and web shops also use them to detect fraud, for example a login from an unknown device. The technique is the same in both cases. The difference is whether the profile stays with one website or travels with you across the web.

What does a fingerprint contain?

A fingerprint contains the browser and device properties that any website can read without asking. These are the signals fingerprinting scripts use most.

Signal Example value Why it tells browsers apart
User agent Chrome on Windows 11 Names your browser, its version and your operating system
Screen size 1440 x 900, 24-bit colour Differs per monitor, laptop and zoom setting
Time zone Europe/Amsterdam Narrows down the region you live in
Language nl-NL, en-US The order of your preferred languages is personal
Installed fonts Calibri, Garamond, Fira Code Every program you install can add fonts
Canvas rendering Code of a drawn image Graphics card, drivers and fonts change the pixels
WebGL rendering Name of the graphics card Reveals your graphics hardware and how it draws 3D
Audio Code of a processed sound Small differences in how your device processes sound

A fingerprinting script reads these values in one go. The result looks like this:

language:    nl-NL, en-US
timezone:    Europe/Amsterdam
screen:      1440 x 900, 24-bit
fonts:       Arial, Calibri, Fira Code, Garamond
webgl:       NVIDIA GeForce RTX 3060
canvas:      a91f03c7
fingerprint: 3e7b19d4c2

No single line identifies you. A Dutch language setting, a programmer's font and a specific graphics card together can. In a 2010 study by the Electronic Frontier Foundation (EFF), 83,6% of the tested browsers had a unique fingerprint.

What is canvas fingerprinting?

Canvas fingerprinting is a technique in which a script draws a hidden image and reads back its pixels. The script draws text and shapes in an invisible HTML5 canvas element. Your graphics card, its drivers, the operating system and the installed fonts all affect the result. Two computers that draw the same image produce slightly different pixels. The script turns those pixels into a short code, which becomes part of the fingerprint.

WebGL fingerprinting does the same with 3D graphics. Audio fingerprinting processes a sound signal that you never hear and measures the output. None of these techniques needs your permission, and none leaves anything behind on your device.

Websites need canvas and WebGL for maps, charts, games and photo editors. A browser cannot turn these features off without breaking those pages. That is why blocking the fingerprinting script itself works better than blocking the feature.

Why does clearing cookies not help?

Clearing cookies does not help because a fingerprint is not stored on your device. A cookie is a file a tracker places in your browser. Delete the file and the tracker forgets you. A fingerprint is calculated again from your browser on every visit.

After you clear your cookies, your screen, fonts and graphics card stay the same. So does your fingerprint. A tracker can even use the fingerprint to link a new cookie to your old profile. Private browsing has the same limit, because a private window runs on the same device.

Deleting cookies still stops the trackers that depend on them. You can remove third-party cookies after each visit, but that does not stop fingerprinting.

How can you prevent fingerprinting?

You prevent browser fingerprinting by blocking the scripts that collect it, or by making your browser look like many others. Changing one value by hand does not work. A rare value can even make your browser easier to recognise.

Firefox blocks known fingerprinting scripts by default in its Enhanced Tracking Protection. Advanced users can also turn on privacy.resistFingerprinting in about:config. That setting reports standard values to websites, but it can break some of them.

Safari presents a simplified system configuration to trackers, so that more devices look alike. Brave randomises some values, such as the canvas and audio output, so they change between websites.

Tor Browser takes the other route and makes every user look the same. It gives all its users the same user agent, time zone and fonts, and rounds the window size. The price is speed, and some websites block visitors from the Tor network.

You can test your own browser on Cover Your Tracks, a website of the EFF. It shows how unique your fingerprint is and which signals give you away.

Stop fingerprinting scripts before they run

UltraBlock blocks known tracking scripts, including the fingerprinting scripts on its list.

Block trackers

Frequently asked questions

What is a device fingerprint?

A device fingerprint is a profile of the properties of your device, such as its screen, graphics card and operating system. A browser fingerprint is the part of it that a website can read through your browser.

Does a VPN stop browser fingerprinting?

No, a VPN hides your IP address, but not the properties of your browser and device. Your fingerprint stays the same with or without a VPN.

Does private browsing stop fingerprinting?

No, a private window deletes cookies and history when you close it. It runs on the same device, so most of the values in your fingerprint stay the same.

Does UltraBlock stop all fingerprinting?

No, UltraBlock blocks the known fingerprinting scripts on its list, so they never run. A script that is not on the list can still read your browser and device properties.