# JA3 vs JA4: what changed and why

> JA3 vs JA4: JA3 hashes the TLS ClientHello in the order sent, JA4 sorts it first. Chrome shuffles that order, so one Chrome has many JA3s and one JA4.

Source: https://mosaicbrowser.com/glossary/ja3-vs-ja4

## JA3 vs JA4: two ways to fingerprint the same TLS hello

JA3 and JA4 both fingerprint the TLS ClientHello, but JA3 is one MD5 of the fields in the order sent, while JA4 is a readable prefix plus two short hashes of the sorted lists. Since Chrome 110 shuffles its extensions, one Chrome gives many JA3 values and a single JA4.

![JA3 vs JA4: same handshake, two readings, drawn as a mosaic of tiles](https://mosaicbrowser.com/covers/ja3-vs-ja4.webp)

JA3 vs JA4 is a question about one packet. Before an HTTPS page loads, the browser sends a ClientHello listing the TLS versions, cipher suites and extensions it supports. Both methods turn that hello into a short string a server can match. They differ in what they keep, in what order, and in how much a person can read without a lookup table.

## JA3 vs JA4 side by side

|  | JA3 | JA4 |
| --- | --- | --- |
| Written | Salesforce, 2017 | FoxIO, led by JA3 co-creator John Althouse |
| Output | 32-character MD5 | `t13d1516h2_8daaf6152771_b186095e22b6` style: a readable part, then two 12-character SHA-256 prefixes |
| Field order | as sent | cipher suites and extensions sorted |
| GREASE values | ignored | ignored |
| Transport | TLS over TCP | `t` TCP, `q` QUIC, `d` DTLS, written in the first character |
| Readable without a database | no | the first part: protocol, TLS version, domain or IP, counts, ALPN |
| Licence | BSD 3-Clause | JA4 BSD 3-Clause; the rest of JA4+ under FoxIO License 1.1 |

The JA3 recipe is in [Salesforce's repository](https://github.com/salesforce/ja3): five fields (version, ciphers, extensions, elliptic curves, point formats) joined in the order the client sent them, then MD5. The JA4 layout is in [FoxIO's technical details](https://github.com/FoxIO-LLC/ja4/blob/main/technical_details/JA4.md). The [JA3](https://mosaicbrowser.com/glossary/ja3-fingerprint) and [JA4](https://mosaicbrowser.com/glossary/ja4-fingerprint) entries go through each format field by field.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Fingerprints set inside the browser](https://mosaicbrowser.com/features/engine)

## Why order decided it

Since Chrome 110, Chrome shuffles the order of its ClientHello extensions on every connection ([Chrome Platform Status](https://chromestatus.com/feature/5124606246518784), read 2 November 2026). JA3 keeps the order, so one copy of Chrome produces a fresh JA3 on almost every connection. JA4 sorts the lists before hashing, so the shuffle cancels out. Cloudflare's bot documentation gives the same reason in one line: JA4 "improves on JA3 by sorting ClientHello extensions, which reduces the number of unique fingerprints for modern browsers" ([Cloudflare](https://developers.cloudflare.com/bots/additional-configurations/ja3-ja4-fingerprint/), read 2 November 2026). Cloudflare offers both only to Enterprise customers with Bot Management.

We saw the split in our own run. Mosaic's engine and Google's Chrome for Testing 153.0.8010.36, same Mac, same minute:

```
ours     JA4 t13d1518h2_8daaf6152771_4980c97edce0
stock    JA4 t13d1518h2_8daaf6152771_4980c97edce0

```

The JA4 values were byte-identical. The JA3 hashes were different, and two connections from the same binary disagreed with each other too. So two different JA3 values from Chrome traffic prove nothing, and a JA3 that never changes across connections says the client is not a current Chrome.

## What each one still catches

Neither tells two Chrome users apart, because every Chrome of one version sends the same set of ciphers and extensions. Both catch a mismatch: a User-Agent that says Chrome over a hello that belongs to an HTTP library, or to a different Chrome major. JA4 makes the second case easy to see, because the counts sit in plain text. Google Chrome 152 on our Mac read `t13d1517h2`, one extension fewer than 153, so a JA4 is only compared against a browser of the same major. JA3 is still in firewall rules written years ago, and it works there for clients that do not shuffle. [TLS fingerprinting](https://mosaicbrowser.com/glossary/tls-fingerprinting) covers the rest of the handshake checks, HTTP/2 included.

## How Mosaic handles it

We do not change the handshake. Tesseract Chrome is Chromium built from stock source with our changes, and none of them touch TLS, so a profile sends Chrome's own hello, shuffle and GREASE included. Its JA4 moves when the [engine](https://mosaicbrowser.com/features/engine) moves to a new Chrome major, the same way Google's does. Mosaic's Detection tests include a JA3/JA4 echo page, so you can read both values from inside a profile and compare them with a Chrome of the same version.

## Sources

1. [Salesforce: JA3, a method for profiling SSL/TLS clients](https://github.com/salesforce/ja3), read November 2, 2026
2. [FoxIO: JA4 technical details](https://github.com/FoxIO-LLC/ja4/blob/main/technical_details/JA4.md), read November 2, 2026
3. [FoxIO: JA4+ network fingerprinting (licensing)](https://github.com/FoxIO-LLC/ja4), read November 2, 2026
4. [Chrome Platform Status: TLS ClientHello extension permutation](https://chromestatus.com/feature/5124606246518784), read November 2, 2026
5. [Cloudflare: JA3/JA4 fingerprint](https://developers.cloudflare.com/bots/additional-configurations/ja3-ja4-fingerprint/), read November 2, 2026

## Questions

### Is JA4 replacing JA3?

For browser traffic, mostly. Salesforce's JA3 repository says the project is no longer actively maintained there, its creator now works on JA4 at FoxIO, and Cloudflare's bot docs say JA4 sorts the extensions, which cuts the number of distinct fingerprints a modern browser produces.

### Can I convert a JA3 hash into a JA4?

No. Both are hashes, so neither can be turned back into the hello it came from. To get both you need the raw ClientHello, which an echo page or a packet capture gives you.

### Do JA3 and JA4 see the same data?

Mostly. Both read the TLS version, cipher suites and extensions of one ClientHello. JA4 also records the transport (TCP or QUIC), whether a server name was sent, the ALPN value and the signature algorithms. Both ignore Chrome's random GREASE values.

### Which one should a detection rule use for Chrome?

JA4. One Chrome version produces one JA4 across connections, while its JA3 changes on almost every connection because of the extension shuffle, so a JA3 rule for Chrome either misses or matches by luck.

## Related

[JA3 fingerprint: an MD5 of the TLS ClientHello](https://mosaicbrowser.com/glossary/ja3-fingerprint): A JA3 fingerprint is an MD5 hash of five fields from a TLS ClientHello. Chrome has shuffled its extensions since version 110, so JA3 no longer pins it.

[JA4 fingerprint: reading a TLS hello that survives shuffling](https://mosaicbrowser.com/glossary/ja4-fingerprint): JA4 is a TLS client fingerprint in three parts: a readable summary of the ClientHello, then hashes of its sorted cipher suites and extensions.

[TLS fingerprinting: identifying a client by its handshake](https://mosaicbrowser.com/glossary/tls-fingerprinting): TLS fingerprinting identifies the software behind a connection from its TLS ClientHello, read before any page loads. JA3 and JA4 are the common formats.

[An anti-detect browser with its own Chromium engine](https://mosaicbrowser.com/features/engine): Mosaic is an anti-detect browser with its own Chromium engine, Tesseract Chrome: stock Chromium source, with fingerprint values changed inside the engine.

[How do sites detect anti-detect browsers?](https://mosaicbrowser.com/guides/how-do-sites-detect-anti-detect-browsers): Sites detect anti-detect browsers by contradictions: a page and its workers disagreeing, a GPU name the driver does not match, fonts from another OS.







[HTTP/2 fingerprinting: identifying a client by its first frames](https://mosaicbrowser.com/glossary/http2-fingerprinting): HTTP/2 fingerprinting names the software behind a connection from its SETTINGS values, window update, priorities and header order, before any script runs.

## See JA3 vs JA4 on a real profile

Mosaic shows the values a site reads, per profile, and runs a leak test from inside the profile’s own page. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
