Dota 2 Cheat Codes
14 cheat codes for Dota 2 on PC.
Enable cheats in lobby (required first) (Misc)
Host ticks 'Enable Cheats' in private/practice lobby settings — without it none of these commands work.
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Give gold (Infinite Money)
Adds the amount to your gold, e.g. -gold 20000.
-gold [amount]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Level up (Misc)
Increases your hero's level, e.g. -lvlup 24 for instant 25.
-lvlup [levels]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Refresh (Misc)
Fully restores HP/mana and resets all cooldowns instantly.
-refresh
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Instant respawn (Misc)
Respawns your hero immediately at the fountain.
-respawn
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
WTF mode (Misc)
Toggles zero-cooldown, zero-mana-cost abilities for both teams. Type again to turn off.
-wtf
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Spawn a hero (Misc)
Spawns a hero unit under your control, e.g. -createhero axe. Enemy variant: prefix with ! (-createhero !axe).
-createhero [name]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Spawn any unit (Misc)
Spawns creeps/neutrals/buildings by internal name, e.g. -createhero npc_dota_roshan.
-createhero npc_dota_[unit]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Give item (Weapons)
Grants an item by internal name, e.g. -item item_rapier (Divine Rapier), -item item_heart.
-item [item_name]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Spawn creep wave (Misc)
Manually spawns the next lane creep wave for both sides.
-spawncreeps
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Spawn neutral creeps (Misc)
Spawns creeps at all neutral camps (needed after farming them).
-spawnneutrals
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Full map vision (Misc)
Gives both teams vision of the entire map (toggle with -normalvision).
-allvision
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Kill all creeps (Misc)
Kills all creeps on the map instantly.
-killall
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.
Give items to bots (Misc)
Grants an item to every bot, e.g. -givebots item_heart.
-givebots [item_name]
In a private lobby, the host must tick 'Enable Cheats' in the lobby settings before starting. Then type the command into chat. Practice/custom lobbies only — never in matchmaking.