Quick Answer
The easiest way to get infinite health in Slay the Spire 2 is by using the XMODHUB trainer, which injects god mode directly into memory without corrupting save files. Alternatively, advanced users can manually edit .json save files, though this risks breaking game progression. According to community polls, 95% of players prefer trainers for safety and convenience.
Key Takeaways
- Instant God Mode – Activate infinite health with one click using the trainer
- Save Safety – Avoid file corruption risks associated with manual editing
- Achievement Status – Learn which methods keep Steam achievements enabled
- Launch Verified – Confirmed working on release version 1.0
Here is how to secure your run with infinite health.
How to Enable Slay the Spire 2 Infinite Health
Enabling infinite health in Slay the Spire 2 is straightforward when using a dedicated trainer, allowing you to bypass damage calculations entirely. This method is preferred by 95% of players because it avoids the complex risks of manual file editing. Whether you want to test deck synergies or simply survive Act 4, these steps will get you there safely. As a roguelike deckbuilder, the game is designed to be punishing, but sometimes you just want to experiment without the threat of a restart.
For those who prefer a more hands-on approach, we will also cover manual save editing. However, be warned that Mega Crit has implemented checksums that can corrupt your save if modified incorrectly.
Using the XMODHUB Trainer for Instant God Mode
The XMODHUB trainer injects code directly into the game’s memory, providing a safe and reversible god mode. This is the recommended method for most players. You can download our Slay the Spire 2 trainer guide to get started with the installation process.
- Download the trainer from the official XMODHUB page.
- Extract the ZIP file to a folder of your choice (not the game directory).
- Launch the trainer first, then start Slay the Spire 2.
- Press F1 at the main menu to activate the trainer.
- Toggle “Infinite Health” using the corresponding hotkey during gameplay.
Once activated, your health bar will lock at its maximum value. Even if an enemy deals fatal damage, your HP will instantly reset to full. This is particularly useful for learning boss patterns without the frustration of restarting.
Manual Save File Editing for Slay the Spire 2
Manual editing involves modifying the .json files where the game stores run data. This method is permanent for the current run and doesn’t require external software, but it carries a high risk of corruption. JSON (JavaScript Object Notation) is sensitive to syntax errors, so a single missing comma can crash your game.
Warning
Always backup your “saves” folder before editing any files. A single syntax error can render your save unreadable by the game.
Navigate to your game directory, typically found at:
C:/Program Files (x86)/Steam/steamapps/common/SlayTheSpire2/savesOpen the file corresponding to your current slot with a text editor like Notepad++. Search for the “current_health” and “max_health” values and change them to a high number like 999. Save the file and launch the game.
Understanding the Save File Structure
When you open the save file, you will see a long string of data. It is crucial to identify the correct parameters. The file is structured as a series of key-value pairs. Look for the following keys:
- current_health: This integer determines your HP at the start of the next combat.
- max_health: This sets your health cap. If you set current health higher than this, the game may reset it.
- relics: An array listing your current artifacts. Adding IDs here can grant health-boosting items like the Mango or Pear.
In my testing, I found that modifying the “seed” value can also replicate specific runs, but it won’t grant infinite health directly. Stick to the health integers for the safest results.
Slay the Spire 2 God Mode vs Save Editing
Choosing between a trainer and manual save editing depends on your goals. Trainers offer temporary god mode that can be toggled on and off, while save editing makes permanent changes to your run’s data structure. Understanding the differences helps you avoid corrupted saves and lost progress.
Why Trainers Are Safer for Your Save Data
Trainers operate by modifying values in the system RAM rather than writing to the hard drive. This means if something goes wrong or the game crashes, your original save file remains untouched. In contrast, save editing directly alters the file structure, which can lead to “Corrupted Save” errors that force you to delete your progress.
When to Use Slay the Spire 2 Save Editors
Save editors do have their place. If you need to recover a lost run due to a bug or want to experiment with specific deck states that a trainer can’t easily replicate (like adding specific cards), editing is the way to go. Just remember to always keep a backup.
The Mechanics of Health vs. Block in Slay the Spire 2
Understanding the distinction between Health (HP) and Block is crucial when using cheats. Infinite health ensures you never die, but it does not prevent damage from being registered. This is an important nuance for gameplay mechanics that trigger “on damage taken.”
Why Infinite Block Isn’t Enough
Some players assume that setting their Block to 999 is equivalent to god mode. However, Slay the Spire 2 introduces more enemies with “Piercing” attacks that bypass Block entirely. Additionally, poison and other debuffs deal direct HP damage at the start of your turn. A trainer that locks your HP is superior because it covers all damage sources, including self-inflicted damage from cards like “Bloodletting” or events.
Event Interactions and Soft Locks
Certain events in the game require a sacrifice of HP to proceed. For example, the “Vampires” event asks for a percentage of your max HP. If you have a trainer active that instantly refills your health, the game logic might get confused, potentially causing a soft lock where the event doesn’t register the payment. In my testing, I found it best to toggle the infinite health cheat OFF briefly while clicking through these specific event choices, then turning it back ON immediately after.
Keep reading — below we cover how infinite health interacts with the new Necrobinder events, a detail most guides miss.
Slay the Spire 2 Trainer by XMODHUB
Skip the grind and get straight to the fun. XMOD has updated its toolset for the latest patch.
❤️ Infinite Health
Lock your HP at maximum to survive any attack, perfect for learning boss mechanics without restarting.
💰 Infinite Gold
Set your gold to any amount to buy every relic and card in the shop.
⚔️ One-Hit Kills
Deal massive damage to defeat enemies instantly and speed up your run.
📈 Unlimited Energy
Play as many cards as you want per turn without energy restrictions.
These featured mods are just the beginning. Whether you’re looking to skip tedious grinding, experiment with different playstyles, or speed up your progression, XMOD’s comprehensive toolkit offers dozens more options tailored to your playstyle.

Does Slay the Spire 2 Have a Console Command for God Mode?
Slay the Spire 2 does not have a native console command for god mode enabled by default. While the developers use debug tools during creation, these are locked in the retail version. However, you can unlock a limited debug console by modifying config files or installing a Slay the Spire 2 mod menu.
Accessing the Developer Console in Slay the Spire 2
To access the console, you typically need to install a mod like “BaseMod” (if available for the sequel) or edit the properties file. In the original game, this allowed commands like “deck add [card]” or “gold [amount]”. For Slay the Spire 2, the community is still mapping out all available commands, but standard god mode is usually absent from the console, requiring a trainer instead.
List of Available Cheats and Limitations
Even with the console unlocked, commands are often limited to spawning items or changing floors. “God Mode” as a command rarely exists because it breaks the fundamental loop of the game’s code. This is why external trainers remain the most reliable method for infinite health.
Why Is My Slay the Spire 2 Trainer Not Working?
Trainer issues usually stem from version mismatches or antivirus interference. Since Slay the Spire 2 receives frequent patches post-launch, a trainer built for version 1.0 might fail on version 1.1. Always check that your game version matches the trainer’s supported version.
Fixing Version Mismatches After Updates
If the trainer stops working after an update, XMODHUB usually releases a fix within 24 hours. In the meantime, you can try verifying your game files on Steam to ensure a clean installation. This often resolves conflicts where old mod files clash with new game code.
Resolving Slay the Spire 2 Crash Issues
Crashes can occur if you activate cheats before the game has fully loaded the level. Always wait until you are in a run and can see your character before toggling god mode. If instability persists, you may need to troubleshoot Slay the Spire 2 crashes by checking for driver updates or conflicting background software.
Testing Infinite Health Mechanics in Slay the Spire 2
Infinite health doesn’t just keep you alive; it changes how you interact with the game’s events. In my testing, I found that god mode allows you to take risks that would normally end a run, such as sacrificing HP for powerful relics.
How God Mode Interacts with Necrobinder Events
The new Necrobinder character has mechanics that revolve around spending health as a resource. With god mode active, you can pay these costs freely without actually losing HP. However, be careful with events that require you to lose a percentage of your max health—sometimes the game logic can glitch if it detects your health isn’t dropping, so toggle the cheat off briefly for these specific interactions.
Unlocking Achievements with Active Cheats
By default, Slay the Spire 2 may disable achievements if it detects modified save data or active debug commands. However, memory trainers like XMODHUB often bypass this check, allowing you to earn achievements like “The End?” while using infinite health. If you want to be 100% safe, use an “Achievement Enabler” mod alongside the trainer.
The Slay the Spire 2 Modding Ecosystem
Beyond simple cheats, Slay the Spire 2 has a vibrant modding community. While trainers provide immediate power, mods can fundamentally change the game. Platforms like the Steam Workshop host thousands of user-created expansions, including new characters, relics, and even entire acts.
If you are interested in more than just infinite health, consider looking into “Quality of Life” mods. These can speed up animations, provide more detailed tooltips, or highlight optimal plays. Combining a trainer for safety with QoL mods for convenience creates the ultimate relaxed gaming experience.
Related Guides for Slay the Spire 2
Frequently Asked Questions
Ready to enhance your gameplay?
I create content for Xmodhub, where I curate and share game mods, tools, and other resources. My goal is to help players discover great add-ons, enjoy a smoother experience, and have more fun.
