0%
Loading...
NolimitHost
FiveM Developer Tool

FiveM JOAAT Hash Generator

Convert any model, weapon, ped or particle name to the JOAAT hash that GetHashKey() returns. Get the signed and unsigned 32-bit values, the 0x hex, and a batch table for hashing whole lists at once.

Order FiveM Server From €6.00/mo
What you get
Signed, unsigned and hex values
Batch hashing for name lists
Runs locally in your browser
Copy-ready Lua and table output
Free No sign-up Runs in browser Lazy lookup

Hash a name or a list

Switch between one name and a whole list. Values are lowercased before hashing, because Rockstar treats ADDER and adder as the same asset.

Unsigned 32-bit
Signed 32-bit
Hex
Normalized input adder

Lua's GetHashKey() returns the signed value. C# and most raw native wrappers use the unsigned value. Both are the same 32 bits.

Client Lua
local hash = GetHashKey('adder') -- -1216765807

How the JOAAT hash works

JOAAT stands for Jenkins one-at-a-time. Rockstar uses it for every named asset in GTA V, and FiveM exposes it through GetHashKey(), joaat() and backtick hashes in Lua 5.4.

  1. Lowercase the input. ADDER, Adder and adder all hash to the same value.
  2. Add each byte into a 32-bit accumulator, mix the bits, and repeat.
  3. Finalize with three more shifts and additions.
  4. Read the result as unsigned for C#, signed for Lua, or hex for logs.

Backtick hashes such as `adder` are computed once when the script loads, so they are the cheapest option in a hot loop. GetHashKey() works in both Lua and JavaScript but costs a native call each time.

Algorithm (pseudo code)
h = 0
for each byte c in lowercase(input):
    h = (h + c) & 0xFFFFFFFF
    h = (h + (h << 10)) & 0xFFFFFFFF
    h = h ^ (h >> 6)
h = (h + (h << 3)) & 0xFFFFFFFF
h = h ^ (h >> 11)
h = (h + (h << 15)) & 0xFFFFFFFF

FiveM JOAAT Hash FAQ

JOAAT is the Jenkins one-at-a-time hash Rockstar uses for named GTA V assets. FiveM converts names with GetHashKey(), so a vehicle, weapon, ped or particle can be stored and compared as a 32-bit number instead of a string.

Hashes show up everywhere in server work. These tools use the same values.

// Ready to build?

Run your FiveM server on NolimitHost

NVMe storage, one-click artifact updates and 10Tbit/s DDoS protection on every FiveM plan.

View FiveM hosting