What are Cheat Codes of Dota 2?

While players can be banned using third-party cheats in Dota 2, developer-enabled cheats for research purposes are allowed, let's check them out.

author-image
Mayank
New Update
Dota 2

Dota 2 (Source: X)

Listen to this article
0.75x 1x 1.5x
00:00 / 00:00

Similar to Counter-Strike, Valve also have its own set of cheat codes for Dota 2 for testing and practice purposes of heroes and provides a great way to test out different heroes and items. These cheats, however, can only be used in single-player mode and will not run during a live match.

In order to use the cheat codes, players can either use the console commands, similar to Counter-Strike 2, or they can also use the chat commands, which also have the same effect. Do note that using external cheats is still not allowed and will result in a VAC ban.

Also Read: What are Cheat Codes of StarCraft 2?

Here are all the available cheat codes for Dota 2 in both console and chat -

Enable the use of cheat codes - sv_cheats 1

Increases the level of hero - dota_dev hero_level # (console) or -lvlup # (chat)

Increases the level bots - dota_bot_give_level # (console) or -levelbots # (chat)

Jump to max hero level - dota_dev hero_maxlevel (console) or -lvlmax (chat)

Grant gold - dota_dev player_givegold # (console) or -gold # (chat)

Grant item - dota_create_item <name> (console) or -item <name> (chat)

Grant item to bots - dota_bot_give_item <name> (console) or -givebots <name> (chat)

Restore health, mana and abilities - dota_dev hero_refresh (console) or -refresh (chat)

Force respawn - dota_dev hero_respawn (console) or -respawn (chat)

Skip prep phase - dota_dev forcegamestart (console) or -startgame (chat)

Spawn lane creeps for both teams - dota_spawn_creeps (console) or -spawncreeps (start)

Spawn neutral creeps - dota_spawn_neutrals (console) or -spawnneutrals (chat)

Disables lane & neutral creep spawn - dota_creeps_no_spawning 1 (console) or -disablecreepspawn (chat)

Enables lane & neutral creep spawn - dota_creeps_no_spawning 0 (console) or -enablecreepspawn (chat)

Spawn runes - dota_spawn_rune (console) or -spawnrune (chat)

Destroys all Sentry Ward and Observer Ward - dota_dev killwards (console) or -killwards (chat)

Destroys all Observer Ward - dota_clear_wards (console) or -clearwards (chat)

Create a hero as ally unit - dota_create_unit <name> (console) or -createhero <name> (chat)

Create a hero as neutral unit - dota_create_unit <name> neutral (console) or -createhero <name> neutral (chat)

Create a hero as enemy unit - dota_create_unit <name> enemy (console) or -createhero <name> enemy (chat)

Displays bot status - dota_bot_dump_state (console) or -dumpbots (chat)

Disable mana cost and ability cooldown - dota_ability_debug 1 (console) or -wtf (chat)

Enable mana cost and ability cooldown - dota_ability_debug 0 (console) or -unwtf (chat)

Enable shared vision - dota_all_vision_enable (console) or -allvision (chat)

Disable shared vision - dota_all_vision_disable (console) or -normalvision (chat)

Teleport selected hero to cursor - dota_dev hero_teleport (console) or -teleport (chat)

Respawns all trees - dota_treerespawn (console) or -trees (chat)

Destroys enemy Ancient - dota_win (console) or -win (chat)

Sets hero level to maximum and get items - dota_gotta_go_fast (console) or -gottagofast (chat)

Sets hero level to maximum and get items 2 - dota_rap_god (console) or -rapgod (chat)

Instant death - dota_hero_suicide (console) or -suicide (chat)

Instantly kill all creeps - dota_kill_creeps all (console) or -killcreeps all (chat)