win.gg
Win.gg Dota 2 How to activate cheats and spawn heroes in Dota 2 demo mode

How to activate cheats and spawn heroes in Dota 2 demo mode

Author Icon
William Davis Published 19/09/2021

With thousands of interactions to test, every Dota 2 player should get acquainted with demo mode.

Demo mode provides a safe environment for players to test interactions in Dota 2. Valve provides the basic tools to test skill builds and different items, but there’s a lot more to learn once players take the plunge. Here’s how to set up a custom hero testing environment in Dota 2 demo mode and how to make the most of it.

How to activate cheats in Dota 2

Demo mode’s basic options lets you cast spells for free and instantly level up to 30, but there’s a lot of things it can’t cover. That’s where cheats come in.

To activate cheats, open the developer console and type in sv_cheats 1. After you hit enter, you will then be able to apply other cheats to demo mode. Open up the console again and type in the desired cheat.

Keep in mind that these cheats are made specifically by Valve for players to test things in demo mode. You can’t activate them online but there’s no penalty for trying to do so.

Must-know cheats for Dota 2 demo modes

There are many more cheats in Dota 2, but these ones are the most important. These will cover most methods of experimentation and include some extra options for specific heroes.

How to spawn heroes in Dota 2

Once cheats are activated with the process outlined above, specific heroes can be spawned using the Dota 2 console or chat box. The chat command to spawn heroes in Dota 2 is “-createhero” followed by the name of the desired hero. For example, “-createhero templar” would spawn a friendly Templar Assassin. To create enemy heroes, just add the word enemy at the end of the command line, which would be “-createhero templar enemy” in this case.

Keep in mind that some heroes’ console names have inconsistent spelling. Queen of Pain becomes queenofpain and Outworld Destroyer is actually obsidian_destroyer. Some demons go by their Ozkavosh names. For example, Shadow Fiend is labeled nevermore for the spawn command.

For testing heroes like Chen and Enchantress, you’ll need to manually spawn jungle creeps. It works the same as spawning heroes, but replace the hero name with the creep you want to spawn. For example, typing “-createhero mud_golem” will spawn a Mud Golem.

William Davis
About William Davis

View full profile
Read Also
ESIC hand down ruling in EWC Dota match-fixing case: Lifetime ban for coach as DarkMago gets a nickel Dota 2
ESIC hand down ruling in EWC Dota match-fixing case: Lifetime ban for coach as DarkMago gets a nickel Michael Hassall South American Dota 2 player Gonzalo "DarkMago" Herrera will be banned for five years from competitive Dota 2, with his coach Juan "Vintage" Angulo banned permanently, following the results of an The Esports Integrity Commission (ESIC) investigation. ESIC handed down the findings and rulings from its investigation into match-fixing allegations leveled at members of South American Dota 2 team PlayTime during the Esports World Cup on Sep. 10, in a ...
Polystrike Turns a Dota 2 Mod Into a Standalone Tactical Shooter News
Polystrike Turns a Dota 2 Mod Into a Standalone Tactical Shooter Hannan Mundia After the community-made mod found success within the community, developer and publisher Robin Entertainment has decided to turn Polystrike into a proper standalone game. Community-made mods of games finding success within the respective game’s community is nothing new. However, only a handful of those mods are able to go on and become a standalone game. One of the more recent examples is The Forgotten City, which started as a mod ...
Team Spirit wins TI15 to lift a record third Aegis of Champions Dota 2
Team Spirit wins TI15 to lift a record third Aegis of Champions Michael Hassall Team Spirit has defeated TEAM VISION in the grand finals of TI15, The International 2025. In a full five-game series on Aug. 23, Spirit pulled out all the stops and narrowly defeated an incredible VISION team in a back-and-forth series in Shanghai, China. With Spirit’s victory, Illya "Yatoro" Mulyarchuk and Magomed "Collapse" Khalilov become the first ever three-time TI champions, and Team Spirit becomes the first ever organization to lift ...
The International 2026 (TI15) Finals Preview and Predictions Dota 2
The International 2026 (TI15) Finals Preview and Predictions Michael Hassall The International 2026, TI15, has reached its final day, and just three teams remain in the fight for the Aegis of Champions. With the lower bracket final and Grand Final still to come, everything comes down to one final day of Dota 2 action. The lower bracket finalists will first battle for the right to reach the main event’s final series, while the winner will advance to face the upper-bracket ...
TI15’s opening ceremony weaves a tapestry of emotion for Valve’s storied title Dota 2
TI15’s opening ceremony weaves a tapestry of emotion for Valve’s storied title Michael Hassall The main stage of The International 2026, TI15, kicked off today with the traditional opening ceremony heralding the start of the biggest celebration of Dota 2 on the calendar. On Aug. 20 fans in Shanghai, China, and at home, were treated to a rousing 11-minute series of performances and video packages, introducing TI15’s main stage show. Here’s how the magic unfolded: The ceremony began with a graphic which quite literally ...
The International 2026 (TI15) Playoffs preview and predictions Dota 2
The International 2026 (TI15) Playoffs preview and predictions Michael Hassall The Group Stage of The International 2026, TI15, is in the books and we’ve whittled down 16 of the world’s best Dota 2 teams to just eight finalists. One of these talented lineups will be the ones lifting the Aegis of Champions come Sunday, Aug. 23, but until then, there’s plenty of playoff shenanigans that could go on. Below we’ve put together a preview of the upcoming Playoff Games, along ...
The Esports Nations Cup Has Been Postponed to November 2027 News
The Esports Nations Cup Has Been Postponed to November 2027 Ben Boland The 2026 Esports Nations Cup has been suspended until 2027. The Esports Foundation announced the delay on August 18, citing ongoing regional uncertainty. The inaugural competition was scheduled to take place in Riyadh, Saudi Arabia, comprising over 100 national teams and featuring 16 different games, including League of Legends. According to the Esports Foundation, this decision follows ongoing developments in the region and consultation with key stakeholders. Moving the event ...