FiveM Hash Generator - joaat / GetHashKey

Generate FiveM-compatible hashes using the Jenkins one-at-a-time (joaat) algorithm. Get decimal, hex, and unsigned values instantly.

Recent Hashes
No hashes generated yet. Start typing above!

What this tool is for

GTA V does not store names, it stores numbers. Every model, weapon and animation dictionary is addressed by a joaat hash, and GetHashKey turns one into the other at runtime. Precomputing the hash saves that call and lets you read server logs that only ever show numbers. This generator gives you the signed and the unsigned decimal form and the hex notation at once.

How to use it

  1. Step 1:

    Type the string, for example a vehicle model name like adder or a weapon name like WEAPON_PISTOL.

  2. Step 2:

    Read off the form you need. Lua works with the signed value, many databases and logs show the unsigned one.

  3. Step 3:

    Use batch mode for a whole list, one entry per line, and copy everything at once.

  4. Step 4:

    Paste the value into your code, or keep GetHashKey if readability is more important than the saved call.

Frequently asked questions

What exactly is joaat?

Jenkins one at a time, a simple hash function Rockstar uses throughout the engine. It is not encryption and not reversible: from a hash you cannot compute the string back, you can only look it up in a table of known names.

Why do I see a negative number sometimes?

The hash is a 32 bit value. Lua reads it as signed, so everything above two billion becomes negative. Signed and unsigned are the same number in two readings, and both address the same model.

Is the hash case sensitive?

joaat lowercases the input first, so Adder and adder give the same hash. Where case does matter is your own event names and file paths, which are not hashed at all.

Should I write hashes into my config?

Better not. A config full of numbers cannot be read by a server owner. Keep the names in the config and hash them once at startup. Precomputed hashes belong in hot loops, not in files people edit.