Device fingerprinting vs browser fingerprinting
Short answer
A browser fingerprint describes one browser through the values it exposes to websites, so it changes when the person switches browser. A device fingerprint aims to recognise the machine or phone itself, using hardware and operating system signals that stay the same across browsers or apps, often collected by a mobile SDK. On the web, most products sold as device fingerprinting combine both.
Vendors use "device fingerprinting" and "browser fingerprinting" loosely, and many products sold under the first name do the second. The difference matters when you decide what you need to recognise: a browser, a physical device, or a returning person who resets both.
What is the difference between device and browser fingerprinting?
A browser fingerprint is built from what one browser exposes to a web page: User-Agent, screen, time zone, languages, fonts, canvas and WebGL output, and similar values. Open a different browser on the same laptop and many of those values change, so the fingerprint changes too.
A device fingerprint tries to describe the machine underneath. In a mobile app, an SDK can read operating system and hardware details that a web page never sees. On the web, it means favouring the values that stay the same across browsers on one computer: the graphics card, screen resolution, CPU core count, fonts installed with the operating system and the time zone. The TCP and TLS fingerprint of the connection can add a network-level view of the operating system and client software.
| Browser fingerprint | Device fingerprint | |
|---|---|---|
| Collected by | JavaScript in the page, plus request headers | Mobile SDK, or web signals chosen to hold across browsers |
| Survives clearing cookies | Yes | Yes |
| Survives switching browser | Mostly not | Mostly, on the web; not relevant in apps |
| Survives reinstalling the app | Not relevant | Partly, depending on the signals |
| Main weakness | Changes with browser updates and privacy settings | Identical devices look alike; emulators fake values |
| Typical use | Bot detection, returning visitor recognition | Multi-accounting, ban evasion, app fraud |
How is a device ID different from a device fingerprint?
A device ID is assigned and stored. A fingerprint is computed from characteristics each time. The difference shapes how each one fails.
Stored IDs are exact but can be reset. On iOS, identifierForVendor is shared by all apps from one developer on a device and changes when the user deletes all of them. On Android since version 8.0, ANDROID_ID is scoped to the app signing key, the user and the device, and changes on a factory reset. A cookie or local storage value on the web disappears when the user clears site data. Platform makers have also closed access to permanent hardware IDs: Android 10 restricts IMEI and serial number to privileged apps, as described in Google's guidance on user data IDs.
Fingerprints are fuzzy but survive a reset of storage, because the hardware and settings stay the same. Production systems use both. The stored ID gives continuity, and the fingerprint reveals when a "new" device is the old one with its storage wiped, which is the usual pattern in free trial abuse and fake signups.
What is device attestation?
Attestation answers a different question: is this request coming from my real app on a real device? Apple's App Attest uses a key held in the device's secure hardware to sign requests from your app, and Apple's DeviceCheck lets your server store two bits per device that persist across reinstalls, enough to record "this device already used its trial". Google's Play Integrity API returns signed verdicts about the app, the device and the Play account. Neither one identifies the person. They make emulators, modified apps and scripts that call your API directly much easier to spot, which a fingerprint alone cannot do reliably.
Which one should you use?
Start from the decision you need to make:
- To spot bots on a website, browser fingerprinting and consistency checks matter most, combined with network signals. Cross-browser stability matters less here, because the question is whether the client is genuine. Recognising a returning device matters more for linking accounts.
- To link accounts created by one person, prefer device-level signals that survive a browser switch, cookie clearing and a private window, and add behaviour and payment data. Detecting multi-accounting covers the linking rules.
- In a mobile app, use an SDK for device signals, a stored ID for continuity and attestation for every sensitive call.
- On the first request of a visit, neither is available yet. Network and TLS signals have to carry that decision.
Fraud operators answer device fingerprinting with antidetect browsers and emulators that give each account a fresh set of values. Their weak point is consistency: invented values tend to contradict each other or the hardware, which detecting antidetect browsers explains.
Both techniques read information from the user's device, so both fall under the same privacy rules in the EU. Collect what the security purpose needs, keep it for a defined time, and document why. Bot protection and GDPR covers the legal side.
Tools that help
StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking.
- FingerprintJS is a free, open-source browser fingerprinting library that runs in the page, enough for experiments and low-risk use on a small site.
- Fingerprint is the commercial service from the same team, with server-side identification and mobile SDKs, suited to account and payment fraud.
- Apple DeviceCheck and App Attest are free for iOS apps and fit when you need to verify that requests come from your genuine app.
- Google Play Integrity does the same job for Android apps distributed through Google Play.
- Kairal links device, network and behaviour signals across signup, login and checkout, and its console shows the related devices, events and IP addresses behind each decision.
Common questions
Is a device fingerprint unique?
Not always. Two phones of the same model, on the same operating system version with default settings, can produce the same fingerprint. Uniqueness is higher on desktop computers, where screens, fonts and graphics hardware vary more.
How accurate is device fingerprinting?
Accuracy depends on the device mix and on how long you need to recognise a device. Matching over days is far more reliable than over months, because browser and system updates change values. Treat a match as strong evidence that needs one more signal, such as the same payment card or network, before you act on it alone.
Is device fingerprinting legal?
In the EU, reading information from a device for fingerprinting falls under the same ePrivacy rule as cookies, and the GDPR applies when the result can identify a person. Whether security use needs consent depends on the country, so take legal advice for your case.