Skip to content
Counter-Strike 2
Free tool

CS2 Buy Script Generator: Create buy binds for CT & T

Use the CS2 Buy Script Generator to create full-buy, force-buy, and eco binds: one script that works for both CT and T, with a customizable purchase order and separate costs per key for CT and T. Free, no sign-up, and entirely in your browser.

Built by Thomas Ikemann

Binds ready? Try them on your own CS2 server.

Since the CS2 loadout update, "buy <weapon>" only works for weapons currently equipped in your loadout — this is automatically the case for unchanged standard skins. If you have intentionally disabled a weapon in your loadout, try replacing it again for testing if a bind fails.

CT: $6100T: $5300
1. Armor
2. Primary weapon
CT
T
3. SMG
CT
T
4. HE Grenade
5. Flashbang
6. Smoke Grenade
7. Molotov / Incendiary
8. Defuse Kit (CT only)
9. Secondary weapon
CT
T
10. Heavy (Shotgun/LMG)
CT
T
11. Decoy
12. Zeus x27
bind "F1" "buy vesthelm;buy m4a1_silencer;buy ak47;buy hegrenade;buy flashbang;buy flashbang;buy smokegrenade;buy incgrenade;buy molotov;buy defuser;buy usp_silencer;buy glock"

Complete script (all keys)

// Erzeugt mit dem CS2 Buy-Binds Generator von ZAP-Hosting
// https://zap-hosting.com/tools/cs2/buy-binds-generator
// Diese Datei per exec-Zeile in deiner autoexec.cfg laden oder den Inhalt direkt in die Konsole einfĂĽgen.

// Full Buy — CT: $6100 · T: $5300
bind "F1" "buy vesthelm;buy m4a1_silencer;buy ak47;buy hegrenade;buy flashbang;buy flashbang;buy smokegrenade;buy incgrenade;buy molotov;buy defuser;buy usp_silencer;buy glock"

// Force Buy — CT: $1950 · T: $1550
bind "F2" "buy vest;buy deagle;buy flashbang;buy defuser"

// Eco / Anti-Eco — CT: $700 · T: $700
bind "F3" "buy fiveseven;buy tec9;buy flashbang"

Save the content as buybinds.cfg, for example, in the cfg folder of your CS2 server or client and load it in-game with exec buybinds — or add the lines directly to your autoexec.cfg.

Buy-Binds Generator

What the CS2 Buy Script Generator can do

Use a form instead of entering commands by hand: you choose the items and their order, and the generator writes the finished bind lines.

One buy script for CT and T

In “Combined” mode, the CT and T weapons of a row go into the same bind, such as “buy m4a1_silencer;buy ak47”. CS2 ignores the purchase of a weapon belonging to the opposing side, and the rest of the bind still runs. Weapons available to both sides, like the AWP, are bought on either side, and the tool points this out.

Separate scripts for each side

In “Separate” mode, you get a CT script and a T script using the same keys. You can copy each one or download it as a separate file: cs2-buybinds-ct.cfg and cs2-buybinds-t.cfg.

Rearrange purchase order freely

Each key has 12 lines, from armor and weapons to grenades, Defuse Kit and Zeus x27. Use the arrows to move each line up or down; the script follows this exact order.

Cost per key for CT and T

Each selection shows its price, and each key shows the total separately for CT and T. The costs also appear as comments in the script. The listed prices match the balance patch from January 21, 2026.

Full Buy, Force Buy, Eco and custom keys

F1 “Full Buy”, F2 “Force Buy”, and F3 “Eco / Anti-Eco” are preset. Use “New Key” to add more binds; you can edit the key and name freely. The tool flags keys assigned more than once.

Correct console names

Some weapons have different console names than in the buy menu: M4A4 is “m4a1”, USP-S is “usp_silencer”, P2000 is “hkp2000”, and Zeus x27 is “taser”. The generator automatically writes the console name into the script.

How it works

How to create your CS2 buy script

Six steps from an empty form to an in-game buy bind.

Step 1

Select mode

Under “Mode”, choose either “Combined — one key for CT & T” or “Separate — one script per side”.

Step 2

Choose or add a key

Open one of the Full Buy (F1), Force Buy (F2), or Eco / Anti-Eco (F3) tabs, or add another bind with “New Key”. Change the key and name as needed, such as KP_END or MOUSE4 instead of an F-key.

Step 3

Select items

Choose what to buy in each row: armor (vest only or vest + helmet), primary weapon, SMG, secondary weapon, and heavy weapon for CT and T, plus grenades, 1 or 2 flashbangs, a defuse kit (CT only), and Zeus x27.

Step 4

Set purchase order

Move the most important items to the top with the arrows so they’re bought first when money is tight. The cost for CT and T appears above the rows.

Step 5

Copy or download the script

Check the bind preview and copy the finished script under “Complete Script (All Keys)”, or download it as cs2-buybinds.cfg. In “Separate” mode, the CT and T scripts are separate files.

Step 6

Load a buy script in CS2

Place the file in your CS2 cfg folder and enter “exec cs2-buybinds” in the console. Alternatively, add the lines to your autoexec.cfg.

Background

What you should know about CS2 buy binds

Why one script for both sides?

CS2 ignores a “buy” command for a weapon belonging to the other side, but the remaining semicolon-separated commands in the same bind still run. A bind can therefore include both the CT and T variants of each side-specific weapon (for example, “buy m4a1_silencer;buy ak47”) and will buy only the weapon available to your current side. These are the binds the generator creates in “Combined” mode. Weapons both sides can buy, such as the AWP or Desert Eagle, are bought on either side, though. If you pick different weapons for CT and T in that case, the generator warns you.

Why the purchase order matters

“buy” commands don’t block one another: if you can’t afford one command, it’s skipped and the next one still runs. When money is tight for a force buy, the order determines which items you get: items listed first in the script are bought first. Move the rows in the generator so the most important item (usually a weapon or armor) is at the top.

CS2 loadout trap

Since the loadout update, “buy <weapon>” only works for weapons currently equipped in your loadout. This is automatically the case if you haven’t changed your default skins. But if you’ve deliberately disabled or swapped a weapon in your loadout, its buy command may do nothing. If that happens, try adding the weapon back to your loadout.

How to load the buy script in-game

The download is named cs2-buybinds.cfg. Place the file in your CS2 client’s cfg folder (or your own CS2 server’s) and load it in the console with “exec cs2-buybinds”. If you rename it to buybinds.cfg, for example, use “exec buybinds”. Alternatively, add the lines directly to your autoexec.cfg so they’re active every time you launch the game. In “Separate” mode, never put the CT and T scripts in the same file because they bind the same keys.

Explore more

More CS2 tools for your setup

FAQ

Frequently asked questions about CS2 Buy Script Generator

Quick answers about CS2 buy binds and this tool.

A buy script is a bind line that buys multiple items at the press of a key, such as bind "F1" "buy vesthelm;buy m4a1_silencer;buy ak47;…". The generator writes these lines for each key. F1 “Full Buy”, F2 “Force Buy”, and F3 “Eco / Anti-Eco” are preset.

Yes, in “Combined” mode: CS2 ignores a buy command for a weapon belonging to the other side, but the rest of the bind still runs. One key can therefore contain “buy m4a1_silencer;buy ak47”, for example. This only works with weapons that just one side can buy: the bind buys the AWP, Desert Eagle and other weapons available to both sides on either side. If you pick different weapons for CT and T and one of them is available to both sides, one side buys both, one after the other. The generator then shows a warning and the actual cost. In “Separate” mode, you get one script per side (cs2-buybinds-ct.cfg and cs2-buybinds-t.cfg). Save them separately and load the appropriate one with exec. They bind the same keys, so never put them in the same file.

If you can’t afford a buy command, it’s skipped and the next one still runs. When money is tight for a force buy, the order determines what you get: items listed first in the script are bought first. Use the arrows in the generator to move each row up or down.

Since the loadout update, “buy <weapon>” only works for weapons equipped in your loadout. If you’ve disabled or swapped a weapon, try adding it back to your loadout. Check its console name, too: the M4A4 is “m4a1” and the USP-S is “usp_silencer”. The generator uses these names automatically.

Download the script as cs2-buybinds.cfg, place the file in your CS2 cfg folder, and enter “exec cs2-buybinds” in the console. If you rename it to buybinds.cfg, for example, use “exec buybinds”. Alternatively, copy the lines into your autoexec.cfg so they’re active every time you launch the game.

The “Key” field accepts free text: besides F-keys, you can enter numpad keys such as KP_END or mouse buttons such as MOUSE4. Use “New Key” to add more binds. The tool flags duplicate keys because only the last bind assigned to a key takes effect.

Yes. Each selection shows its price, and each key shows separate totals for CT and T. The costs also appear as comments in the generated script. The prices reflect the balance patch from January 21, 2026.

Yes. The generator is free, requires no account, and creates the script directly in your browser.

Any more questions?

Contact Support
Your own CS2 server?

Host your own Counter-Strike 2 server in 60 seconds

Test your binds on your own server, with DDoS protection included and cancellation at any time.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all CS2 tools