ThisCalculator

Everyday

Device Fingerprint: What It Is and How It Works

Updated · Standard formula, shown below

Device fingerprinting is a technique used to identify a specific device (like a smartphone, laptop, or tablet) based on its unique combination of characteristics. When you visit a website, the site can collect various data points from your browser and operating system — such as screen resolution, installed fonts, timezone, and browser version — and combine them into a “fingerprint” that is highly likely to be unique to your device. This article explains what device fingerprinting is, how it works, what it’s used for, and the privacy concerns it raises.

What Is a Device Fingerprint?

A device fingerprint is a collection of information about a device’s software and hardware that, when combined, can be used to identify that device with a high degree of confidence. Unlike a cookie, which is a small text file stored on your device, a fingerprint is derived from the device’s own properties. It is often called a “browser fingerprint” because it is typically created from data your browser exposes to websites.

The key idea is that no two devices are exactly alike. For example, your device has a specific screen resolution, a particular set of installed fonts, a certain operating system version, and a unique combination of browser extensions. When these data points are combined, they create a pattern that is very likely to be unique to your device — much like a human fingerprint.

How Device Fingerprinting Works

Websites can collect a wide range of data points without asking your permission. Some of the most common pieces of information used in device fingerprinting include:

  • User agent string: identifies the browser, its version, and the operating system.
  • Screen resolution and color depth: the size of your screen and the number of colors it can display.
  • Installed fonts: the list of fonts available to the browser (detected via JavaScript).
  • Time zone: the time zone set on your device.
  • Browser plugins and extensions: what plugins are installed and their versions.
  • Canvas fingerprint: a unique image rendered by the browser’s canvas element, which differs slightly between devices due to graphics hardware, drivers, and rendering algorithms.
  • WebGL fingerprint: similar to canvas, but uses the WebGL graphics library to extract a string that reflects the GPU and driver.
  • Language and locale: the language settings of the browser and operating system.
  • Hardware information: such as the number of CPU cores, memory, and the device’s battery level (in some cases).
  • Network information: like IP address, which can reveal your approximate location.

These data points are collected via JavaScript that runs in the browser. The website then hashes the collected data into a single identifier — the fingerprint. The hash is not a direct identifier, but it is consistent for the same device, so the site can recognize you on subsequent visits even if you clear cookies.

What Is Device Fingerprinting Used For?

Device fingerprinting is used for both legitimate and potentially invasive purposes:

  • Fraud detection: Banks and online retailers use fingerprints to detect if a user is trying to commit fraud by using multiple accounts or stolen credentials.
  • Security: Services may use fingerprints to verify that a user is logging in from their usual device, adding an extra layer of security.
  • Advertising and tracking: Advertisers and analytics companies use fingerprints to track users across the web, even when cookies are blocked or deleted.
  • Bot detection: Websites can distinguish between human users and automated bots by analyzing the consistency of the fingerprint.
  • Personalization: Some sites use fingerprints to remember user preferences without using cookies.

Privacy Concerns and Misconceptions

Device fingerprinting raises significant privacy concerns because it is often done without the user’s knowledge or consent. Unlike cookies, which users can delete or block, fingerprints are difficult to avoid. A common misconception is that using a private browsing mode (like Incognito) prevents fingerprinting — this is false. Private browsing only prevents the browser from storing history and cookies locally; it does not change the device’s characteristics that are used for fingerprinting.

Another misconception is that a fingerprint is a single number that directly identifies you. In reality, it’s a probabilistic identifier. A fingerprint might be shared by a few devices, but the combination of many data points usually makes it unique enough to track you. The accuracy depends on how many data points are collected and how common your device’s configuration is.

How to Protect Your Device from Fingerprinting

While you cannot completely prevent device fingerprinting, you can reduce its accuracy:

  • Use a privacy-focused browser: Browsers like Tor Browser are designed to make all users look identical, defeating fingerprinting.
  • Disable JavaScript: Many fingerprinting techniques rely on JavaScript. Disabling it will break many websites, but it can help.
  • Use browser extensions: Some extensions, like Canvas Blocker, can add noise to the fingerprint or block certain APIs.
  • Keep your browser updated: Newer browsers often include anti-fingerprinting measures.
  • Use a VPN: A VPN hides your IP address, but it does not hide your device’s other characteristics.

It’s important to note that there is no perfect solution. The best you can do is make your device less unique among the crowd.

Device Fingerprinting vs. Cookies

Cookies are small text files stored on your device that websites use to remember you. They have a clear advantage: users can see and delete them. Device fingerprints, on the other hand, are invisible and cannot be deleted. Cookies are also tied to a specific browser; if you use a different browser, the cookie is gone. A fingerprint, however, is based on the device itself, so it can be the same across browsers (though not always, because some data points are browser-specific).

In practice, many websites use both: a cookie to store a unique ID, and a fingerprint to re-identify you if the cookie is deleted. This makes fingerprinting a more persistent tracking method.

Frequently Asked Questions

Is device fingerprinting illegal?

Device fingerprinting is not inherently illegal, but it is regulated by privacy laws like the GDPR and CCPA. These laws require websites to inform users about tracking and obtain consent in many cases. However, enforcement varies, and many sites still fingerprint without proper disclosure.

Can I change my device fingerprint?

Yes, but it’s not easy. Changing your browser, updating your operating system, or altering your screen resolution can change some data points. However, the fingerprint is a combination of many factors, so changing one may not be enough. Tools like Tor Browser aim to make all users look the same, which effectively changes your fingerprint.

Does clearing cookies stop fingerprinting?

No. Clearing cookies does not affect the data used for fingerprinting. The fingerprint is based on your browser’s characteristics, not on stored data. So even after clearing cookies, a website can still recognize you.

Can a fingerprint identify me personally?

A fingerprint itself usually does not contain your name or email. It is a pseudonymous identifier. However, if a website combines the fingerprint with other information (like your login credentials or IP address), it can link the fingerprint to your real identity.

Is device fingerprinting the same as browser fingerprinting?

They are often used interchangeably, but technically browser fingerprinting is a subset of device fingerprinting. Browser fingerprinting focuses on data available through the browser, while device fingerprinting can also include hardware-level information. In practice, most “device fingerprints” are actually browser fingerprints.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.