TLS fingerprinting identifies the software behind a connection from the first message of the TLS handshake, the ClientHello. Before any HTTP is sent, the client lists the TLS versions, cipher suites, extensions and parameters it supports. Each TLS library makes different choices, so Chrome, Firefox, Safari, curl, Python and Go are easy to tell apart.
The ClientHello is defined in the TLS 1.3 specification, now RFC 9846.
How it works
The server or CDN edge that terminates TLS reads the ClientHello and turns selected fields into a short identifier. Two formats are common:
- JA3, created at Salesforce in 2017, hashes five fields in the order they were sent. Chrome began shuffling its extension order in early 2023, which made JA3 unstable for modern browsers.
- JA4, released by FoxIO in 2023, sorts ciphers and extensions before hashing and adds a readable prefix.
Both ignore GREASE values, reserved placeholders that clients advertise at random under RFC 8701.
How bot detection uses it
It needs no JavaScript, so it covers APIs and mobile backends as well as web pages. Its main use is consistency. A request whose User-Agent says Chrome but whose handshake says Python’s requests library is not a person in Chrome. Together with an HTTP/2 fingerprint, it describes the client’s network stack before any page loads. The same unusual fingerprint across thousands of residential proxy IPs points to one operator.
The limits: it identifies software, not devices. It can be spoofed. And corporate proxies that terminate and re-open TLS replace the user’s fingerprint with their own.
Read the full guide to TLS fingerprinting, JA3 and JA4.