Valheim box art
Game hub online

Valheim

A brutal exploration and survival game for 1-10 players set in a procedurally-generated purgatory.

Archive VALHEIM Community indexed
9 Views
0 Videos
5 Glitches
1 Mods

Codes, secrets & unlockables

Valheim cheat codes

A single, organized reference for every cheat and secret currently documented for Valheim.

Save your game before using cheats. Some codes may disable achievements or trophies for the current session.

Valheim developer commands

Enable on PC

Add -console to Valheim’s launch options, start a single-player world, press F5, then enter devcommands.

Useful commands

  • god — toggle God Mode
  • heal — restore health
  • ghost — enemies ignore you
  • killall — kill nearby enemies
  • tame — tame nearby creatures
  • raiseskill <skill> <amount> — raise a skill
  • goto <x> <z> — teleport to coordinates
  • exploremap — reveal the map
  • freefly — toggle free camera
  • spawn <prefab> <amount> — spawn an object
  • debugmode — enable creative-building controls

Developer commands are intended for single-player testing. Back up the world before spawning or deleting entities.