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.
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
- Step 1:
Type the string, for example a vehicle model name like adder or a weapon name like WEAPON_PISTOL.
- Step 2:
Read off the form you need. Lua works with the signed value, many databases and logs show the unsigned one.
- Step 3:
Use batch mode for a whole list, one entry per line, and copy everything at once.
- 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.
Related tools
FiveM Common String Hashes - Quick Reference Table
Searchable table of 200+ pre-computed FiveM string hashes. Vehicle models, ped models, weapon names, animation dictionaries. Instant search, click to copy.
FiveM Weapon Hash List - All GTA V Weapons
Complete list of all GTA V weapons with hashes for FiveM. Pistols, SMGs, Rifles, Shotguns, Snipers, Heavy, Throwable, Melee. Copy Lua code snippets.
FiveM Key Hash Lookup - Keyboard & Controller Inputs
Look up FiveM keyboard and controller input control IDs. Press any key to find its hash. Complete list of all GTA V input controls with Lua code.