antibot.dev
Sponsored Try LayerSift

TLS fingerprinting: JA3, JA4 and HTTP/2

How the TLS handshake identifies the client software behind a request, why JA3 stopped working on Chrome, how JA4 fixed it, and what HTTP/2 adds.

Updated November 14, 2026

Before a browser sends a single HTTP header, it introduces itself in the TLS handshake. The first message, the ClientHello, lists the TLS versions, cipher suites, extensions and parameters the client supports, in an order chosen by the client’s TLS library. Chrome, Firefox, Safari, Python’s requests, Go’s net/http and curl each send a recognizably different ClientHello.

TLS fingerprinting turns that message into an identifier. It works on the server or at the edge, needs no JavaScript, and covers API clients and mobile apps that never run a browser script.

JA3

JA3 was published by Salesforce engineers in 2017 and quickly became the standard. It takes five fields from the ClientHello:

  1. TLS version
  2. Cipher suites
  3. Extensions
  4. Elliptic curves (supported groups)
  5. Elliptic curve point formats

It joins their decimal values in the order they appear, ignoring GREASE values, and takes an MD5 hash of the result. The outcome is a 32-character string you can look up and compare.

JA3 made it easy to spot a Python script claiming to be Chrome, because the user agent says Chrome while the handshake says Python.

Why JA3 broke

JA3 depends on the order of the extensions. In early 2023, Chrome started randomizing the order of its TLS extensions on every connection, partly to stop servers from relying on a fixed order. One Chrome install now produces a different JA3 hash on almost every connection. Any JA3 blocklist or allowlist covering Chrome stopped working overnight.

JA4

JA4, released by FoxIO in 2023 as part of the JA4+ suite, fixes this by sorting before hashing, and makes the fingerprint partly readable. This is Chrome 157’s JA4, as we measured it in November 2026:

t13d1517h2_8daaf6152771_cb7bf5808d99
  • Part a, t13d1517h2, readable: protocol (t TCP, q QUIC), TLS version (13), whether SNI is a domain (d) or an IP (i), number of cipher suites (15), number of extensions (17), and the first and last characters of the first ALPN value (h2). GREASE values aren’t counted.
  • Part b: a truncated SHA-256 hash of the sorted cipher suites.
  • Part c: a truncated SHA-256 hash of the sorted extensions, leaving out SNI and ALPN (already in part a), followed by the signature algorithms in the order the client sent them.

Because the lists are sorted, extension shuffling no longer changes the result. Because part a is readable, an analyst can see at a glance that a client offered no ALPN or came in over QUIC, without a lookup table.

JA4+ also includes related fingerprints, among them JA4S for the server response, JA4H for HTTP clients, JA4T for TCP and JA4X for certificates. The client JA4 fingerprint is under a BSD license. Most of the rest of the suite is under FoxIO’s own license, which restricts some commercial uses, so check the terms before building on it.

HTTP/2 fingerprinting

The next layer up tells you something too. When a client opens an HTTP/2 connection, it sends a SETTINGS frame, a WINDOW_UPDATE, optional PRIORITY frames, and its pseudo-headers (:method, :authority, :scheme, :path) in a fixed order. Each HTTP/2 implementation makes different choices. Akamai researchers described a format for this fingerprint in 2017, and it has been widely used since.

TLS and HTTP/2 fingerprints together describe the client’s network stack in detail, before any application code runs.

What it’s good for, and what it isn’t

It’s good for:

  • Catching scripts and HTTP libraries that claim to be browsers.
  • Covering endpoints where you can’t run JavaScript, such as public APIs and mobile backends.
  • Spotting tooling shared across many IPs: the same unusual fingerprint from a thousand residential addresses is one operator.

It isn’t enough on its own:

  • It identifies software, not devices. Every Chrome 13x on Windows has roughly the same JA4. It tells you what a client is, not who.
  • It can be spoofed. Libraries exist that reproduce a real browser’s handshake byte for byte. Sophisticated bots run real browsers, which produce real fingerprints.
  • Middleboxes change it. Corporate proxies and some security software terminate TLS and re-originate it, so the fingerprint is the middlebox’s, not the user’s.

The strongest use is consistency. The TLS fingerprint, HTTP/2 fingerprint, user agent and client hints, and the JavaScript environment all describe the same client. They have to agree. A request whose handshake says Go, whose headers say Chrome on Windows and whose browser environment says Linux is not a person on Chrome. Faking one layer is easy, and keeping all of them consistent is much harder.

Who uses it

Most bot management products use TLS fingerprints internally. Cloudflare exposes JA3 and JA4 values to customers in Bot Management, and DataDome documents TLS fingerprinting as one of its detection layers. To see which vendors document network-layer detection, check the Network cell of the layer strip on the vendor list.

Questions

What is the difference between JA3 and JA4?

JA3 hashes the TLS ClientHello fields in the order they were sent, so it changes whenever a browser shuffles its extensions, as Chrome has done since early 2023. JA4 sorts ciphers and extensions before hashing and keeps a readable prefix, so it stays stable and is easier to analyze.

Can a TLS fingerprint be spoofed?

Yes. Tools exist that replay a real browser’s handshake. That’s why a TLS fingerprint is most useful as a consistency check: a handshake that claims to be Chrome has to agree with the HTTP/2 settings, headers and JavaScript environment that follow it.

Does TLS fingerprinting need JavaScript?

No. It is computed from the handshake on the server or edge, before any page loads, so it also covers API clients and mobile apps that never run your script.