A JavaScript library that reads browser attributes in the page and hashes them into a visitor identifier. The ID persists in private browsing and after local data is cleared, unlike cookies or storage.
Overview
FingerprintJS is a client-side library for browser fingerprinting. It collects attributes exposed by the visitor’s browser and combines them into a hashed identifier that can recognize returning visitors without relying on cookies or local storage.
Because processing happens entirely in the browser, the identifier tends to stay the same in incognito or private mode and when the user clears site data. That behavior suits experiments and prototypes where you need a quick way to distinguish browsers without server infrastructure.
You can install the package with npm or load it from a CDN. The project documents a public API reference and sample React usage. It runs in widely used browsers; older browser support is described in the project’s browser support guide.
The maintainers note that in-browser fingerprints are easier to spoof or reverse-engineer than server-processed identification, and that accuracy is lower than their commercial Fingerprint Identification product, which adds server-side validation and more signals. For production fraud prevention they point teams toward that paid platform.
Key features
- Hashed visitor identifier from browser attributes
- Stable ID in incognito and after data purge
- npm and CDN installation
- MIT-licensed client-side processing
- API reference and React sample
- Broad modern browser support
- Migration guides between major versions
Use cases
- Distinguishing anonymous web visitors
- Fraud detection prototyping
- Analytics without cookie storage
- Testing visitor persistence in private mode