Every HTTPS request starts with a handshake that sets up encryption. In it, the client says which protocol versions, cipher suites and extensions it supports, in its own particular combination. Different software (browsers, HTTP libraries, command-line tools) tends to make different combinations, so the handshake describes the client before it sends a single HTTP header. That description is a TLS fingerprint. This article explains the concept and what it means for a data team. It is deliberately not a guide to changing or imitating fingerprints.
Key takeaways
- A TLS fingerprint summarizes how a client opens an encrypted connection. It describes the client software, not the person.
- JA3 (2017) and its successor JA4 (2023) are the best-known methods. JA4 was designed to survive browsers shuffling the order of TLS extensions.
- Sites and their security vendors compare the fingerprint with what the client claims to be, and with how that fingerprint behaves across many sites.
- For a data team the lesson is simple: say what you are. A client whose claim and connection disagree reads as misrepresentation.
What gets fingerprinted
When a client connects over TLS, its first message, the ClientHello, lists what it can do. The lists, and the order of items in them, reflect choices made by whoever built the client’s TLS stack.
What a TLS fingerprint summarizes
The fields of a ClientHello that fingerprinting methods draw on, shown without values
JA3 was published in 2017 by engineers then at Salesforce and became a common way to hash these lists. It had a weakness: it depended on the order of extensions. In early 2023 Chromium-based browsers began randomizing that order, so one browser could produce many JA3 hashes, as Cloudflare explains in an August 2024 post. JA4, released by FoxIO in September 2023, sorts the lists before hashing, adds the ALPN value and covers QUIC. It is part of a wider JA4+ suite that also fingerprints HTTP clients, servers, certificates and SSH sessions. JA4 itself is open source under the BSD 3-Clause license; the other JA4+ methods use FoxIO’s own license, which restricts commercial resale.
What a fingerprint can and cannot tell a site
| It can suggest | It cannot establish |
|---|---|
| Which family of client software made the connection | Who the person or organization is: many users share the same browser version and its fingerprint |
Whether that matches the User-Agent the client sends | What the client intends to do |
| How this fingerprint behaves across many sites, when a network aggregates it | Whether a given request is permitted, which is the site’s policy decision |
The third row is where the method gets its power. One fingerprint on its own says little. Cloudflare, for example, computes statistics for each JA4 fingerprint over the last hour of traffic across its network, such as the share of its requests that claim a browser user agent and its request volume relative to other fingerprints. Bot management customers can use those statistics in their rules (Cloudflare docs). In other words, the fingerprint is one input to a classification. It does not decide the outcome by itself.
Why consistency is the real signal
Consistency matters more than any single signal
What a site can infer when a client's declared identity and its connection are compared
A crawler built on a standard HTTP library has that library’s fingerprint, and there is nothing wrong with that. The problem arises when the same client also claims, in its headers, to be a desktop browser. The connection says one thing and the request says another. Whatever the intent, that mismatch looks like misrepresentation, and sites treat it accordingly.
The alternative is to be consistent and declare yourself. Use a maintained client, send a user agent that names your crawler and links to a page explaining it, and follow the site’s robots.txt for that name. If the site then refuses you, it has made a clear decision about an identified client, and the right response is to stop and ask for permission or a feed, not to change how the client presents itself.
HTTP request headerUser-Agent: ExampleCollector/1.0 (+https://example.com/bot) What it means for a data project
- Header tweaks are not an access strategy. Connection-level information is visible before any header is read, and it is only one of several signals. A project plan that depends on looking like a browser rests on something the site controls and can change at any time.
- Honest clients are cheaper to run. A declared crawler gets clear answers, so you spend time on permitted sources instead of on unexplained failures.
- Vendor due diligence. If a data supplier’s access depends on making its clients look like something they are not, that risk transfers to you. Ask how they access each source.
- Legal context. Misrepresenting a client to get past a site’s controls can matter for contract and access questions. This is not legal advice; for the US picture, see is web scraping legal in the USA.
Where a source offers an API or feed, that is still the better route. We compare the options in web scraping vs official APIs.
Quick answers
What is TLS fingerprinting?
A way of summarizing the parameters a client sends when it opens a TLS connection, such as supported versions, cipher suites and extensions, into a fingerprint that describes the client software.
What is the difference between JA3 and JA4?
JA3, from 2017, hashed TLS parameters in the order the client sent them. JA4, from 2023, sorts them first, so it is not affected by browsers randomizing extension order, and it adds ALPN and QUIC coverage.
Does a TLS fingerprint identify a person?
No. It describes client software. Many people using the same browser version share the same fingerprint.
Why do websites use TLS fingerprints?
To help classify traffic, for example by checking whether a client’s connection is consistent with the browser or tool it claims to be, and by comparing how a fingerprint behaves across many sites.
What should a data team do about TLS fingerprinting?
Use a maintained client, declare it honestly with its own user agent and contact URL, follow robots.txt, and stop if a site refuses you. Don’t misrepresent the client.
Data from declared, permitted collection
Our collectors say who they are and stop when a source says no. See custom datasets or ask about a source.
