CS2 bind generator

Pick a key on the keyboard and give it a buy, a grenade or a quick command. The generator writes CS2's own key and buy names, so every bind works in the game today.

Mouse

Key kp_1

Ready buys

Rifles and snipers

SMGs and heavy

Pistols

Gear

Grenades 0 of 4

As T: $2,700As CT: $2,900

A gun is only bought when it is in your loadout. Guns of the other side do nothing, so one bind can hold the T and the CT rifle.

autoexec.cfg

// CSStats binds: csstats.xyz/tools/bind-generator
// Put this file into the cfg folder. CS2 runs autoexec.cfg at start; type exec autoexec to load it now.

bind "kp_1" "buy ak47; buy m4a1_silencer"
bind "kp_2" "buy vesthelm; buy defuser"
bind "kp_3" "buy smokegrenade; buy flashbang; buy hegrenade; buy molotov; buy incgrenade"

echo "autoexec.cfg loaded"

Save it as autoexec.cfg in the cfg folder. CS2 runs it at every start; add +exec autoexec to the launch options to make sure.

3 binds

  • buy ak47; buy m4a1_silencer
  • buy vesthelm; buy defuser
  • buy smokegrenade; buy flashbang; buy hegrenade; buy molotov; buy incgrenade

How to use the bind generator

  1. Pick a key

    Click a key on the keyboard or a mouse button, or click the keyboard and press the key. The numpad is the classic place for buy binds.

  2. Give it something to do

    Buy: put together the guns, armor and grenades, or take a ready buy. Command: a grenade slot, voice, ping, a volume toggle and more. Custom: anything else CS2 runs.

  3. Take it into the game

    Download autoexec.cfg into the cfg folder, or paste the console line once. The address bar keeps every bind, so a link brings them back.

How CS2 binds work

A bind gives a key one or more console commands: the key's name in quotes, then the commands in quotes, separated by semicolons. The generator writes exactly that:

bind "kp_1" "buy ak47; buy m4a1_silencer"

CS2 names keys differently from CS:GO. The numpad keys are kp_0 to kp_9 now; CS:GO's kp_end, kp_downarrow and kp_ins are refused as invalid keys, which is why many old buy binds no longer work.

Since August 2024, CS2 ignores a bind with two or more movement or attack commands, such as jump and attack together. Jump throws need no bind anymore: Valve made them reliable in the game itself.

Frequently asked questions

What is a CS2 bind generator?

A tool that writes CS2 bind commands for you. Pick a key, give it a buy, a grenade or a command, and copy the bind lines or download an autoexec.cfg, with every key and buy name the way CS2 expects it.

Where does autoexec.cfg go?

Into the cfg folder: Steam, steamapps, common, Counter-Strike Global Offensive, game, csgo, cfg. CS2 runs it when it starts. If it does not load, add +exec autoexec to the launch options in Steam.

Why does my buy bind not buy the M4?

CS2 buys a gun by name only when it is in your loadout. buy m4a1 is the M4A4 and buy m4a1_silencer the M4A1-S, so bind the one you play. Guns of the other side do nothing, so buy ak47 and the M4 fit in one bind.

Can I still make a jump throw bind?

No, and you don't need one. Since August 2024, CS2 ignores binds with two or more movement or attack commands, jump throws included. Valve made jump throws consistent without a bind: jump and release the grenade.

How do I remove a bind?

Type unbind and the key in the console, for example unbind kp_1. Or bind the key to something else. Binds stay until you change them.

Can binds get me banned?

No. Binds are a part of the game. The binds CS2 refuses, those that combine movement or attack commands, are simply not run by the game, and the generator never writes them.

More CS2 tools

All tools