Why can a browser detection page read JA4 when your origin logs can’t? Starting with ClientHello, distinguish TLS fingerprints from IP addresses and web fingerprints, and learn how to identify which side actually receives the handshake.
Open two browser environments on the same computer—one for development and one for acceptance testing. Their cookies and page login states are separate, but a TLS detection page may show the same JA4 for both. Another common scenario is that a detection page displays JA4, but you can’t find that field in the website origin server’s access logs. Both scenarios can be explained by where the TLS handshake takes place.
A TLS fingerprint is a digest calculated by the receiving side from the handshake characteristics a client provides when initiating an encrypted connection. JA3 and JA4 are two methods for extracting these characteristics. They’re most useful for comparing connection behavior, grouping logs, and checking whether a monitoring point observed the expected client.
What’s in ClientHello
When a browser initiates a TLS handshake, it uses ClientHello to tell the server which protocol versions, cipher suites, extensions, and key exchange groups it supports. JA3 and JA4 take different subsets of these fields. The User-Agent and cookies in a subsequent web request, as well as Canvas and WebGPU data readable by JavaScript, are separate observation surfaces. An IP address, meanwhile, identifies the endpoints of a network connection.
For compatibility with older implementations, TLS 1.3 uses 0x0303 in ClientHello.legacy_version; the actually supported protocol version is listed in the supported_versions extension. So an older-format record showing a version field of 771 in decimal can coexist with a detection page showing that TLS 1.3 was negotiated. RFC 8446’s ClientHello definition
How JA3 and JA4 Differ
| Observation point | JA3 | JA4 |
|---|---|---|
| Primary inputs | Version field, cipher suites, extension IDs, supported groups, elliptic curve point formats | Transport type, highest supported TLS version, whether SNI is present, counts of cipher suites and extensions, ALPN, as well as cipher suites, extensions, signature algorithms, and more |
| List order | Preserves the order in which relevant lists are received, so the result may differ if extensions are reordered | Sorts cipher suite and extension IDs, reducing the impact of changes in extension order. Signature algorithms still preserve their received order |
| Output | An MD5 digest represented by 32 hexadecimal characters | A three-part string: the first part is human-readable, while the other two are truncated SHA-256 digests |
Both methods filter out GREASE reserved values. In JA4, the ALPN segment comes from the first protocol proposed by the client during the handshake; check the handshake record separately for the protocol that was actually negotiated. For example, in one test, BrowserLeaks returned a JA4 beginning with t13d1517h2. Here, t means TLS over TCP, 13 means the highest TLS version offered by the client is 1.3, d means SNI is present, 15 and 17 are the cipher suite and extension counts, respectively, and h2 means the first ALPN proposal is HTTP/2. Salesforce JA3 implementation notes · FoxIO JA4 technical details
Retest Browsers on the Same Basis
- In two authorized test environments, visit the same BrowserLeaks TLS Client Test. Record the browser version, time of access, JA3, standard JA4, and negotiated TLS version for each. When using PurpleMark, start the baseline and retest environments separately in the client, keeping their page sessions separate.
- If the other party provides multiple JA4 variants, compare the same field. Reloading the page may reuse an existing connection. To verify multiple independent handshakes, first exit the test browser and reopen it, or confirm on a test service you own that each log entry corresponds to a new connection.
- If JA3 sometimes changes while JA4 remains stable under the same conditions, check whether only the order of ClientHello extensions changed. If both change, compare the transport protocol, browser version, and observation point. Matching JA4 values can be used for grouping: multiple devices or profiles may fall into the same group if they use the same handshake implementation.
Why JA4 Appears at the CDN but Not at the Origin
When accessing an HTTPS site proxied through a CDN, the typical path is “browser → CDN edge → origin.” The edge receives the browser’s ClientHello. If the CDN terminates this TLS connection and then connects to the origin over HTTPS, the origin receives a new handshake initiated by the CDN. If the CDN connects to the origin over HTTP, there is no TLS handshake on that hop.
For example, an operations engineer opens a test page in a browser on their own site. The edge logs contain JA4, while the origin logs contain only HTTP access records. In this case, first check whether the edge collects the field and passes it along over a trusted channel, then check which protocol the origin records. If the origin also calculates JA4 independently, compare the records from both sides using the same test request ID. When each side calculates the field from a different connection, the field represents different things. Cloudflare’s technical documentation also lists scenarios where the field may be empty, such as non-TLS requests or some Worker forwarding paths. Cloudflare JA3/JA4 logging documentation
When troubleshooting, include the observation point, protocol, browser version, and test request ID with each sample. Use JA4 in logs to filter for similar handshakes. To determine what happened with a particular business request, you also need to consider the application logs and the actual request path.


