
CS2 Config Generator
Fill the slots, take the cfg file
A config in Counter-Strike 2 is a text file with console commands, and most of the work is knowing which commands still exist and what numbers they take. Here the settings sit in slots, the file is written while you click, and an old config can be checked against the command list of the game.
Paste the text of your config.cfg or autoexec.cfg. Every line is compared with the command list of the game: dead commands, values out of range, doubles and binds the servers ignore come up here.
config.cfg
0 linesHow to Make a CS2 Config
Slots on top, settings on the left, the file on the right
- Open a slot. Mouse, viewmodel, crosshair, HUD, radar, telemetry, network, performance, sound. Each setting has a short line on what it does.
- Change what you need. Only changed settings go into the file, so it stays short and readable.
- Take the file. Copy it or download it as config.cfg or autoexec.cfg.
Every value carries a label, and the colour tells where it came from:
- Default
- The value of the game. It is not written to the file.
- Author
- The value from my own config, the one I play with. One button takes the whole config, another one only the open slot.
- Yours
- Anything you set by hand. The cross next to it brings the default back.
A click on a line of the file opens that setting, and the search field finds a command in any slot by its name or description. Binds, aliases and commands the slots do not have go into the last slot as plain text.
Import Settings From Other CS2 Tools
The config picks up what you already set elsewhere
Some numbers are easier to find by eye than by typing. I made separate tools for those, and the generator reads their last result from your browser.
- Mouse
- The sensitivity from the CS2 Sensitivity Converter, handy when you come from another game.
- Viewmodel
- The weapon position from the CS2 Viewmodel Generator. The link back opens it with the numbers of the config, so you see them on the weapon.
- Binds
- The keys from the CS2 Binds Generator, where they are set on an on-screen keyboard.
- Like a pro
- Type a nickname, and the sensitivity and the viewmodel of the player go into the config. The sensitivity feels the same only at the DPI of that player, so the tool shows it next to the number.
Checking an Old Config
Every line against the command list of the game
The game says nothing about a command it no longer knows, so a config collects dead lines for years. Press Check my config, paste the text of the file, and the page shows:
- Dead commands. Removed from the game or renamed. For a renamed one the page gives the new name.
- Old crosshair commands. Since autumn 2026 the crosshair is set in pixels with
cl_crosshair_length,cl_crosshair_thicknessandcl_crosshair_gap.cl_crosshairsizeand its neighbours do nothing now. - Values out of range and commands set twice, where only the last line counts.
- Binds the servers ignore. Since 19 August 2024 a bind or an alias with two movement or attack commands does not work on official servers.
- Server and cheat commands that only work on a server you host.
After the check the clean lines can be put into the generator or copied without the dead ones.
Practice Server Files
Grenades, bunnyhop and bots in one click
The Practice server switch at the top turns the page into a generator of files for your own server. The scenes are the ready configs from my guide to CS2 console commands.
- Grenade lineups
-
Endless grenades, the flight path on the screen, buying anywhere, plus keys for noclip, coordinates and rethrowing the last grenade. File
nades.cfg. - Bunnyhop
-
Auto jump, no stamina loss and fast air control. File
bunny.cfg. - Bots
-
A match against bots with money, a long buy time and bullet marks. File
bots.cfg. - Undo file
-
Puts the changed settings back and switches
sv_cheatsoff.
How to Use the Config File
Where it goes and how the game loads it
Put the file into the config folder of the game:
...\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\
The short way there: Steam, right click on the game, Manage, Browse local files, then game, csgo, cfg.
- autoexec.cfg
-
Not there by default. Once it is in this folder, the game runs it on every start, and it can run other files too with a line like
exec config. If you already have one, keep it and add that line to it. It only works from this folder, not fromuserdata. - config.cfg
-
Runs when you type
exec configin the console, or on every start with+exec configin the launch options. - Practice files
-
Start a map on your own, open the console and type
exec nades,exec bunnyorexec bots. - Order
-
autoexec.cfgruns first, the launch options after it. If the same command is in both, the last value wins. What works in the launch options is in my CS2 launch options guide.
Creating and loading files step by step is in CS2 Config: How to Create, Load, and Manage CFG Files, and the folders with the files the game writes itself are in my guide to CS2 config location.
CS2 Config Generator FAQ
Short answers to the questions people ask most
Is the config generator free?
Yes. No sign-up, nothing to install, and the file is made in your browser.
Where do I put a config in CS2?
Into steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg. In Steam: right click on the game, Manage, Browse local files, then game, csgo, cfg.
What is the difference between config.cfg and autoexec.cfg?
autoexec.cfg runs by itself on every start of the game. A file with any other name runs when you type exec and its name in the console, for example exec config.
Why do my old crosshair commands not work?
The crosshair commands were replaced in autumn 2026. The size is set in pixels now with cl_crosshair_length, cl_crosshair_thickness and cl_crosshair_gap, and cl_crosshairsize does nothing.
Can I get banned for a config?
No. A config only runs console commands the game allows. Commands that need sv_cheats work only on a server you host.
How do I undo a config?
Run a file with the old values, or change the settings back in the menu. For practice files the generator makes an undo file that returns the changed settings and switches sv_cheats off.
More CS2 Tools
Other CS2 tools on this site first, then the ones for CS 1.6 and Steam.
- // player countCS2 Player CountHow many people have CS2 open right now, checked every 5 minutes, with peaks and charts.CS2open โ
- // live statsCS2 Community ServersReal players on CS2 community servers, fakes filtered out: servers, maps, modes and countries.CS2open โ
- // crosshair generatorCS2 Crosshair GeneratorBuild a crosshair and take it to the game as a share code or console commands.CS2open โ
- // binds generatorCS2 Binds GeneratorClick a key, pick an action and download your CS2 binds as autoexec.cfg or mybinds.cfg. Default keys marked, ready sets, checks for binds the game ignores.CS2open โ
- // inventoryInventory ValueWhat a public CS2 inventory is worth at current prices, and which items make up the number.CS2open โ
- // demo parserCS2 SteamID ExtractorDrop a CS2 demo, get every player's SteamID64 with their nickname.CS2open โ
- // recoil trainerCS2 Recoil TrainerCS2 recoil trainer in the browser: 16 weapons with their real spray patterns and fire rates, a ring to follow and a score after every burst.CS2open โ
- // damage calculatorCS2 Damage CalculatorPick a weapon, the armour, the distance and the hit zone and see the damage, the hits to kill and the time to kill in CS2. With a damage by distance chart.CS2open โ
- // sensitivity converterCS2 Sensitivity ConverterConvert mouse sensitivity between CS2, CS 1.6, Valorant, Apex, Overwatch 2 and Fortnite. See cm per 360, eDPI, your turn on a mousepad and how you compare to pros.CS2open โ
- // viewmodel generatorCS2 Viewmodel GeneratorMove the weapon on a real CS2 scene with viewmodel_fov and the offsets, see how much of the screen it hides, load the setups of the pros and copy the commands.CS2open โ
- // trade-up calculatorCS2 Trade-Up CalculatorBuild a CS2 trade-up contract and see every outcome with its chance, float and price. Works with StatTrak, knives and gloves, and starts from your inventory.CS2open โ
- // lookupSteamID LookupAny ID or profile link in, every format out, plus bans, account age, hours and what they play now.CS 1.6 ยท CS2open โ