TapCub is live — analytics, insights and live chat, free on one platform
Glossary

TLS Fingerprint: What JA3 and JA4 Capture and Why It Spots Bots

A TLS fingerprint hashes the ClientHello a client sends when it opens an HTTPS connection. It identifies the client software, not the person, which makes it useful for one thing above all: catching bots whose User-Agent claims a browser their handshake does not match.

Xu An Reviewed by Lucas Hayes Also called TLS fingerprinting Last updated Nov 28, 2026 Glossary

Quick answer

A TLS fingerprint is a hash of the fields a client sends in its TLS ClientHello: versions, cipher suites, extensions and curves. It identifies the client software, not the person, so its main use is spotting bots whose User-Agent claims a browser their handshake does not match.

Formula: JA3 = MD5(SSLVersion,Ciphers,Extensions,EllipticCurves,PointFormats), GREASE removed, values joined by hyphens; JA4 = prefix_SHA256(sorted ciphers)[:12]_SHA256(sorted extensions + sig algs)[:12]

What is a TLS fingerprint?

A TLS fingerprint is a short identifier computed from the first message a client sends when it opens an encrypted connection, the TLS ClientHello. That message lists which TLS versions, cipher suites and extensions the client supports, in a form that depends on the software that built it. Chrome, Safari, curl, a Python HTTP library and a Go program each produce a recognizably different ClientHello, so a hash of its fields identifies the client library, not the person using it.

That distinction drives how TLS fingerprints are used. Millions of people running the same browser version share one fingerprint, so it is a poor way to recognize an individual and a good way to check a claim. The most common analytics and security use is exactly that check: a request whose User-Agent says "Chrome" but whose handshake looks like a scripting library is almost certainly automated.

The two widely used formats are JA3, created at Salesforce in 2017, and JA4, its successor published by FoxIO. Both are computed by the server, CDN or network sensor that receives the connection; the client does nothing special.

What does the ClientHello contain?

The ClientHello is defined in the TLS 1.3 specification, RFC 8446. The fields that matter for fingerprinting:

FieldWhat it listsWhy it varies by client
Legacy versionA version number kept for compatibility (0x0303 in TLS 1.3 clients)Older stacks send older values
Cipher suitesEncryption algorithms the client offers, in preference orderEach library ships its own list and order
ExtensionsOptional features such as server name (SNI), ALPN, supported versions, key share, signature algorithmsLibraries implement different sets
Supported groupsKey-exchange curves and groupsDiffers across versions and platforms
EC point formatsPoint encodings for elliptic curvesMostly fixed, but present or absent by library
Signature algorithmsSignature schemes the client acceptsOrder and set differ by stack

Two complications are built into modern clients:

  • GREASE values. RFC 8701 reserves sixteen values (0x0A0A, 0x1A1A, … 0xFAFA) that clients insert at random into cipher and extension lists so servers do not break on unknown values. A fingerprint has to ignore them or every connection looks different.
  • Supported versions. TLS 1.3 is negotiated through the supported_versions extension, not the legacy version field, so a format that reads only the legacy field cannot tell TLS 1.2 and TLS 1.3 clients apart.

How is a JA3 fingerprint built?

JA3 takes five fields from the ClientHello, writes their decimal values in a fixed order, and hashes the result:

  1. SSLVersion: the ClientHello version number.
  2. Ciphers: cipher-suite values, joined with hyphens.
  3. Extensions: extension type values, joined with hyphens, in the order sent.
  4. EllipticCurves: supported groups, joined with hyphens.
  5. EllipticCurvePointFormats: point-format values, joined with hyphens.

Fields are separated by commas; GREASE values are skipped; empty fields stay empty. The JA3 project's own example:

769,47-53-5-10-49161-49162-49171-49172-50-56-19-4,0-10-11,23-24-25,0

Read it field by field: version 769 (0x0301, TLS 1.0), twelve cipher suites, three extensions (0 = server name, 10 = supported groups, 11 = EC point formats), three curves (23, 24, 25) and one point format (0). The MD5 hash of that exact string is:

ada70206e40642a3e4461f35503241d5

You can recompute it with any MD5 tool; we did, and it matches the value published in the JA3 repository. The repository was archived in May 2025 and its README says Salesforce no longer maintains it, which is one reason new deployments look at JA4.

How does JA4 differ from JA3?

JA4 keeps the idea but changes three things: it adds a readable prefix, it sorts ciphers and extensions before hashing, and it uses truncated SHA-256 instead of MD5. The format is a_b_c. The specification's example:

t13d1516h2_8daaf6152771_e5627efa2ab1
PartValueMeaning
a: protocoltTLS over TCP (q = QUIC, d = DTLS)
a: version13Highest version in supported_versions: TLS 1.3
a: SNIdServer name present (a domain); i means none, for example connecting to an IP
a: cipher count1515 cipher suites, GREASE excluded
a: extension count1616 extensions, GREASE excluded
a: ALPNh2First and last characters of the first ALPN value; 00 if none
b8daaf6152771First 12 hex characters of SHA-256 over the sorted cipher list
ce5627efa2ab1First 12 hex characters of SHA-256 over the sorted extensions (without SNI and ALPN), plus signature algorithms in their original order

The readable prefix is useful on its own. Without decoding any hash, t13d1516h2 already says "TLS 1.3, has a server name, asks for HTTP/2", which is what a current browser visiting a hostname sends.

Why did Chrome's extension shuffling weaken JA3?

In November 2022 the Chrome team posted an Intent to Ship for TLS ClientHello extension permutation: Chrome would randomize the order of its TLS extensions on each connection, so that servers stop depending on one fixed order. JA3 hashes extensions in the order sent, so a randomized order produces a different JA3 on almost every connection from the same browser.

A small demonstration with the example above. Keep every value the same and move extension 11 to the front:

Extension orderJA3 string (extensions field)MD5
As sent first0-10-11ada70206e40642a3e4461f35503241d5
Shuffled11-0-10a86c2965e479e84580c4ec368cf776ba
Sorted, JA4 style0000,000a,000b708547326c13 both times (SHA-256, first 12 characters)

With three extensions there are only 6 possible orders. With 15 permutable extensions there are 15! ≈ 1.3 trillion, so a JA3 blocklist entry for "Chrome" becomes useless. Sorting, as JA4 does, removes the order and gives a stable value again. The practical rule: if your stack still keys rules on JA3, expect current Chrome to look like many different clients; move to a sorted format.

How is a TLS fingerprint used to spot bots?

The useful test is consistency between what a client says (the User-Agent header) and what its handshake shows:

Claimed by User-AgentHandshake signalWhy it does not fitLikely client
Current desktop ChromeJA4 prefix t12… (TLS 1.2 maximum)A current browser offers TLS 1.3Old library or custom script
Current desktop ChromeALPN 00 (none)Browsers ask for HTTP/2 via ALPN on HTTPS sitesHTTP/1.1-only scripting client
Any browser, visiting your hostnameSNI flag i (no server name)Browsers send the hostname they are visitingTool hitting IP addresses or a misconfigured scraper
Mobile SafariCipher and extension hashes identical to a known command-line toolDifferent TLS stacks cannot produce identical listsScript that copied a Safari User-Agent
Many different browsersOne JA4 across thousands of "different" User-AgentsReal browsers differ by stackOne automation framework rotating User-Agents

How to turn the table into decisions:

  1. Treat a mismatch as one strong signal, not a verdict. Corporate proxies and security software can terminate and re-create TLS, giving real people an unusual fingerprint.
  2. Combine it with behavior. A mismatch plus no JavaScript execution plus a request rate no person could produce is a bot with high confidence; a mismatch alone is "suspected".
  3. Verify good bots separately. Search crawlers are confirmed by reverse DNS or published IP ranges, not by TLS; a fingerprint cannot prove a request came from a real search engine.
  4. Expect imitation. Some libraries can mimic a browser's ClientHello. A matching fingerprint lowers suspicion; it does not prove a human.

For the wider family of automated traffic and how each type behaves, see types of bots; for blocking and challenge strategies, see bot mitigation.

TLS fingerprinting vs browser fingerprinting

The two are often mixed up because both say "fingerprint":

AspectTLS fingerprintingBrowser fingerprinting
Where it happensNetwork handshake, before any page loadsIn the page, through JavaScript
Who computes itServer, CDN or network sensorScript running in the visitor's browser
What it identifiesClient software and version familyAn individual device or browser profile
Shared byEveryone on the same browser buildIdeally nobody else
Works on clients without JavaScriptYesNo
Main useChecking whether a client is what it claimsRecognizing a returning device
Privacy weightLow on its own; it does not single out a personHigh; it is designed to single out a device

Because a TLS fingerprint describes software rather than a person, it is mostly a bot-detection and security signal. It is not a substitute for a visitor ID in analytics, and using it to recognize individuals would not work.

What a TLS fingerprint cannot tell you

  • Who the visitor is. Every user of the same browser build looks the same.
  • Anything behind a terminating proxy or CDN. If TLS ends at a CDN, only the CDN sees the visitor's ClientHello; your origin server sees the CDN's. Fingerprint at the edge, or have the edge pass the value along.
  • Intent. A legitimate monitoring tool and a scraper using the same library share a fingerprint.
  • Stable identity over time. Browser updates change cipher lists and extensions, so allowlists of "known browser" fingerprints need regular refreshing.

Where TLS fingerprints fit with TapCub

Take the mismatch table above: a scraper sending a Chrome User-Agent from a scripting library. That check happens on the network handshake to your own site, so it runs at your CDN, firewall or web server, not in an analytics script. TapCub's documentation does not list TLS fingerprints among its bot-detection layers, so do not expect a JA3 or JA4 column. What TapCub does is keep identified automated traffic out of the numbers you report:

  1. In the default mode, recognized bots go to Web analytics › Bots and are left out of human visitors, sessions and pageviews, so a scraper that slipped past your edge does not inflate conversion denominators.
  2. All bots lists each bot's name, operator, purpose, requests, pages, most common status code, trust level (verified, suspected or unknown) and the detection layers it matched. If a row is wrong, you can report a false positive.
  3. With only the page script, TapCub sees bots that execute JavaScript. Bots that never run JavaScript, which is where many handshake mismatches come from, need server-side collection or a log import before they appear.

TapCub does not block traffic; it measures it. Blocking decisions based on TLS fingerprints belong in your edge or bot-management layer.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Xu An

Customer Experience Consultant

Writes about live chat, visitor conversations, and self-service, sharing practical ways to make customer communication clearer and more effective.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is a TLS fingerprint?

An identifier calculated from the ClientHello message that starts every HTTPS connection: the TLS versions, cipher suites, extensions and curves a client offers. Because each TLS library builds that message differently, the fingerprint tells you which software is connecting, such as a browser build or a scripting library, but not who is using it.

What is the difference between JA3 and JA4?

JA3 hashes five ClientHello fields with MD5 in the order they are sent. JA4 adds a readable prefix (protocol, TLS version, SNI, counts, ALPN), sorts ciphers and extensions before hashing, and uses SHA-256 truncated to 12 characters. Sorting keeps JA4 stable when a browser shuffles its extension order.

Can a TLS fingerprint identify a person?

No. Everyone using the same browser build sends the same ClientHello and gets the same fingerprint. It identifies client software, which is why it works as a bot signal and not as a visitor ID. Recognizing an individual device is what browser fingerprinting attempts, through JavaScript in the page.

How do bots get caught with TLS fingerprints?

By comparing the claim with the handshake. A request that says it is current Chrome but offers only TLS 1.2, sends no ALPN or no server name, or matches a known command-line tool's hashes is very likely automated. Treat it as one strong signal and combine it with behavior such as request rate and JavaScript execution.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics