All CS2/CSGO Commands List

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
strafe
<+strafe> <-strafe>
Look at what exactly Strafe commands do in Counter-Strike: Global Offensive - and how you can use them to get an advantage over your opponents.
Name:
+strafe
Description:
This command will disable the mouse's ability to adjust where your player model is looking. Instead, the mouse movement will cause your character to strafe (move your character sideways). You can turn off this effect using the -strafe command.
Name:
-strafe
Description:
This command will disable the effect of the +strafe command - and restore your mouse's ability to control the camera and look around.
Examples, Generator & More
toggle
<Command> <Values>
The toggle command allows you to switch a convar on and off (between 0 and 1) or cycle it through its values.
Name:
Command
Description:
Where is the convar you want to toggle.
Name:
Values
Description:
Values> is optional. If not specified, the command will toggle between 0 and 1. You can specify a list of values to cycle through, separated by spaces (e.g., "0 1 2 3" without quotes).
Examples, Generator & More
cl_disablehtmlmotd
cl_disablehtmlmotd
<0 / 1>
When set to 1, this command effectively disables HTML MOTDs, which prevents them from popping up and potentially disrupting your gameplay. These MOTDs are known for sometimes playing loud ads or containing various content that could be distracting - which is why you might want to disable them.
Name:
0 / 1
Description:
1 to disable HTML MOTD, 0 to enable.
Examples, Generator & More
duck
<+duck> <-duck>
If you already know how to crouch in CS GO, but you want to do it permanently without having to press CTRL all the time, you need to learn how to use the duck commands. Although it might sound pretty technical, it’s far easier than you think. In this guide, we’re going to share these special commands and how to use them via the developer console, so you can crouch and stand up at will in CS:GO.
Name:
+duck
Description:
This command will make your character crouch as if you were constantly pressing on CTRL
Name:
-duck
Description:
-duck: This command will make your character stand up.
Examples, Generator & More
plant_bomb
This command allows players to place bombs anywhere, regardless of where they are.
Examples, Generator & More
retry
It is a command you can use to reconnect to the last server you entered.
Examples, Generator & More
disconnect
If you want to log out of the server you are actively playing on, you can use this command.
Examples, Generator & More
cvarlist
<Command>
With this command, you will see a list of all console commands.
Name:
Command
Description:
If you want, you can make a list by specifying the parameter of any command.
Examples, Generator & More
timeleft
Shows the remaining time of the map being played.
Examples, Generator & More
sv_cheats
<0 / 1>
This command will allow you to set if cheat commands are allowed on the server. Cheat Commands are commands that will directly impact the gameplay and not just the client.
Name:
0 / 1
Description:
The default is set to 0. You can enable this command by inputting 1.
Examples, Generator & More
thirdperson
This command will put you in third-person mode. You can use the first-person command to return.
Examples, Generator & More
ping
This command will print the console to your ping, to the server you are connected to.
Examples, Generator & More
restart
This command restarts the current game - including map & scores.
Examples, Generator & More
endround
The end round command can immediately end CS:GO and CS2 rounds. It forces rounds to finish without deciding who won or lost them, thus resetting games for subsequent rounds while keeping current scores.
Examples, Generator & More
sv_specnoclip
<0 / 1>
The sv_specnoclip command in CS: GO and CS2 controls whether a spectator can utilize the noclip mode.
Name:
0 / 1
Description:
0 turns off noclipping mode for spectators.
1 allows noclipping mode for spectators (default).
Examples, Generator & More
sv_steamgroup
<Group ID>
The "sv_steamgroup" command lets you establish the official Steam group for the server by providing its ID as input. For instance, if you wish to designate the CSGOAtse Steam group as the server's official one, you'll first need to find its ID. Then, you can enter this ID along with the sv_steamgroup command to set it up accordingly.
Name:
Group ID
Description:
The ID, which can be found on the group admin profile page.
Examples, Generator & More
weapon_accuracy_nospread
weapon_accuracy_nospread
<0 / 1>
This command toggles the spread of weapon inaccuracy, affecting their precision. When enabled, all weapons become 100% accurate regardless of distance. When disabled, each weapon's accuracy varies depending on the distance.
Name:
0 / 1
Description:
The command is “weapon_accuracy_nospread” and it accepts two arguments: 1 and 0. 1 stands for “true”, and 0 stands for “false”. When it’s set at 1, it means the command is enabled, and hence all the weapons will be 100% accurate regardless of the distance. And when it’s set at 0, it will introduce differing accuracy for all weapons.
Examples, Generator & More
m_pitch
<Y Sensitivity>
This command will control the sensitivity of your Y-axis. This means that it will only adjust your look sensitivity when you are looking up and down in the game.
Name:
Y Sensitivity
Description:
The sensitivity that you wish to set your Y axis this is up/down.
Examples, Generator & More
givecurrentammo
It’s a cheat command you can use to top up the ammo of your current weapons to the maximum level. Instead of having to buy them, this command will top them up instantly for free. Given its nature and action, it’s a cheat code and you cannot use it in public matches, unless it’s been enabled by the server admin or host.
Examples, Generator & More
speed
<-speed> <+speed>
They are two commands that allow you to slow down or restore the default speed of your character in the game: +speed and -speed. The first one will make your character slower, while the second one will return it to normal speed.
Name:
-speed
Description:
This command will return the speed back to normal.
Name:
+speed
Description:
The console command will slow down the movement of your in-game character.
Examples, Generator & More
exec
<File Name>
This command allows you to execute a specific script file directly from the developer console, by inputting it along with the file name of the script as an argument. Below, you will find all the information about it, to understand what this command is and how it works.
Name:
File Name
Description:
Located in \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\ by default.
Examples, Generator & More
impulse
<81/ 203>
It is a command you can input in conjunction with a specific code to execute predefined effects ranging from spawning skulls to spraying blood. As such, it doesn’t serve a specific functional purpose in the game, as opposed to other commands, yet it’s a fun bit of code you can play around with.
Name:
81/ 203
Description:
You can input 81 all the way to 203.
Examples, Generator & More
exit
The exit command. It is like a kill switch that executes automatically upon inputting it in the console, immediately closing the game.
Examples, Generator & More
removeid
<Steam ID>
This command lets you remove a user from your server's ban list. You just need to provide the Steam ID of the user you want to unban as its argument, and it takes effect right away. It's a vital tool for managing CS:GO servers.
Name:
Steam ID
Description:
Input the Steam ID of the person you wish to ban from your server.
Examples, Generator & More
Show entries:
12

Above is CSDB’s searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).

You can type in the name of a specific command to filter that command.

We also have a Command category making it easier for those looking for CSGO commands in a certain category.