TLS fingerprinting is the practice of recognising a client's software from the way it opens an encrypted connection. At the start of a connection, a TLS client sends a ClientHello message describing the protocol versions, cipher suites, extensions, elliptic curves, signature algorithms and application protocols it supports. Different implementations assemble that list differently. Browsers, mobile SDKs and command-line libraries can produce different shapes. A server or an intermediary able to observe the handshake can hash selected fields and compare the result against known values. ECH encrypts an inner ClientHello while leaving an outer message observable. The result is a TLS client fingerprint: a label for the implementation and its configuration. It is not a certificate check, it does not identify a person, and it is one of the few signals a server receives before a single byte of HTTP arrives, which is why bot detection and traffic classification rely on it.
Observable TLS Handshake Features
The handshake begins with the client's offer. The ClientHello carries version information: in TLS 1.3, the legacy field says TLS 1.2, while a supported-versions extension advertises the actual offered versions. It also carries an ordered list of cipher suites; an ordered list of extensions such as server name indication, application-layer protocol negotiation, supported groups, key share and signature algorithms; and within those extensions, the specific curves, algorithms and protocol names the client offers. The order of these lists is set by the implementation, and so is their content. Browsers also insert GREASE values, deliberately meaningless entries intended to keep servers tolerant of unknown values; fingerprinting methods strip those before hashing so that the random values do not change the result.
A ClientHello fingerprint is therefore built from structure rather than from secrets. Its selected fields describe the TLS implementation and configuration rather than a device serial number. An HTTP automation library with its own TLS stack can differ from a browser. Driving a real browser does not, by itself, replace that browser's TLS stack.
Fingerprint Construction and Matching
Two published methods illustrate how fingerprints are built.
| Method | Inputs from the ClientHello | Output |
|---|---|---|
| JA3 | TLS version, cipher suites, extensions, elliptic curves and point formats, in the order sent, with GREASE values ignored | Comma-joined string hashed with MD5 into a 32-character value |
| JA4 | Transport protocol, TLS version, presence or absence of SNI, cipher and extension counts, first ALPN value; then sorted cipher suites; then sorted extensions excluding SNI and ALPN plus signature algorithms | Three readable sections, with the sorted lists hashed using truncated SHA-256 |
JA3, published by Salesforce, concatenates the fields in the order the client sent them and produces an MD5 hash; its companion JA3S applies the same idea to the server's ServerHello. The documentation describes its purpose as detecting the client application regardless of destination, including malware that uses a recognisable TLS stack. JA4, from FoxIO, separates the fingerprint into sections and sorts the cipher and extension lists before hashing, reducing variation caused by shuffled cipher or extension order, and it keeps a human-readable prefix that states the protocol, version and counts. Removing SNI and ALPN from the final hashed section reduces destination-related variation in that section; the readable prefix can still change, and signature-algorithm order remains significant. Both JA3 and JA4 are designed to label software, and both have public databases mapping values to browsers, libraries and tools.
Matching is a lookup: the observed hash is compared against lists of known fingerprints for benign browsers, known automation tools and known malware families, and against the fingerprint expected for the User-Agent the client claims. A request whose User-Agent names a current desktop browser but whose handshake matches a Python HTTP library is inconsistent, and that inconsistency is the signal rather than the hash alone.
TLS Fingerprints Compared With Certificates and Browser Signals
The phrase fingerprint has other meanings in TLS that should be kept apart. A certificate fingerprint is a hash of a server's or client's X.509 certificate, used to pin or verify an identity; it is about who the party is cryptographically, not how its software negotiates. A TLS client fingerprint, by contrast, is about implementation behaviour and involves no certificate at all; most web clients present no certificate. Browser fingerprinting signals such as canvas rendering, installed fonts or screen metrics are collected by JavaScript after the page loads, inside the encrypted session; a TLS fingerprint is observed at the connection layer, before any page exists and by any device that sees the handshake, including proxies and intermediaries. The TLS signal is coarser, labelling a client class rather than approaching a device, and it is available earlier and without cooperation from the page.
Where It Is Used
Content delivery networks and bot management systems use handshake fingerprints as an input to their scoring, because a mismatch between claimed browser and observed TLS stack is cheap to compute on every connection. Network security monitoring uses JA3 and JA4 values to spot malware and unauthorised tools by their TLS libraries. API operators can use these signals when investigating unofficial clients, although a matching fingerprint cannot authenticate an application. Researchers measure which TLS implementations are in use on the internet. On the other side, automation frameworks and some privacy tools reshape their handshakes to resemble common browsers, while tools based on a full browser can retain its native TLS stack. Neither approach makes automation unrecognisable.
Limitations and the Effect of ECH and QUIC
Many installations can share a fingerprint, and one installation can produce several. Extension randomisation changes order-sensitive JA3 values; configuration, transport and session state can also affect the selected fields. The result cannot identify a person by itself, but it can contribute to correlation alongside other signals. Updates may change fingerprints, so databases need maintenance. An unknown value is not proof of malicious traffic. Proxies that terminate TLS replace the client's fingerprint with their own, so what the destination observes depends on where in the path TLS is terminated; a transparent tunnel preserves the client's handshake, while an intercepting proxy presents the proxy's.
Newer protocol features alter visibility without removing it. Encrypted Client Hello, published as RFC 9849 in March 2026, encrypts the sensitive parts of the ClientHello, including the server name, inside an outer ClientHello that carries innocuous values; its configuration can be distributed through DNS HTTPS records, and it operates with TLS 1.3 or DTLS 1.3. An observer still sees the outer message with its own version, cipher and extension lists, so the handshake remains fingerprintable, but the server name and some inner fields are hidden; the RFC itself notes that the destination may still be visible through plaintext DNS or server IP addresses. QUIC carries TLS 1.3 inside UDP, which is why JA4 records the transport protocol as its first character, and QUIC handshakes have their own observable structure. TLS fingerprint limitations are thus stable in kind: the method describes negotiation behaviour rather than proving identity or intent, and protocol changes affect the available evidence.