Valheim console commands and item IDs
Everything the console can do: player commands anyone can use, the devcommands cheat set, server admin commands, and a searchable table of every spawnable item and creature ID in the game.
On Steam, right click Valheim in your library, open Properties, and type -console into the launch options field. In game, F5 opens and closes the console. On PC Game Pass, make a shortcut to Valheim.exe and add -console to the shortcut target instead. On Xbox, hold LB, RB and the menu button together while in game.
| Command | What it does |
|---|---|
| devcommands | Turns cheat commands on or off. Type it first, everything below needs it. |
| god | God mode. Damage can never drop you below 1 health. |
| ghost | Enemies ignore you. |
| fly | Toggles flight. Press Z to move up, X to land. |
| spawn [id] [amount] [level] | Spawns any item or creature by its ID. spawn Wolf 1 3 gives a 2-star wolf. Find every ID in the table below. |
| itemset [name] [keep] | Spawns a full gear loadout for a biome, for example itemset Mistlands keep. Without keep it drops your current items. |
| heal | Refills health, stamina and eitr. |
| puke | Empties your stomach and resets you to base health and stamina. |
| addstatus [name] / clearstatus | Adds or clears status effects like Rested, Wet or Burning. |
| raiseskill [skill] [amount] | Raises a skill. raiseskill all 50 boosts everything, a negative value lowers it. |
| resetskill [skill] | Sets a skill back to zero. |
| exploremap / resetmap | Reveals or hides the whole map. |
| goto [x] [z] | Teleports you to coordinates. |
| recall [name] | Pulls players to your position. |
| find [text] / findtp [text] | Pings matching objects on the map, or teleports you to the nearest one. |
| location [name] | Spawns a location instance next to you. Warning: disables saving unless you add SAVE. |
| event [name] / randomevent / stopevent | Starts a named raid event, rolls a random one, or stops the current one. |
| setpower [name] | Grants a forsaken power, for example setpower GP_Eikthyr, and resets its cooldown. |
| setkey [name] / removekey / listkeys / resetkeys | Manages global progression keys, like which bosses count as beaten. |
| tame | Tames every tameable creature nearby. |
| aggravate | Angers neutral creatures within 20 meters. |
| killall / killenemies / killtame | Kills nearby enemies, or enemies and tames, or tames only. Players survive. |
| removedrops / removebirds / removefish | Cleans up dropped items, birds or fish. |
| players [number] | Fakes the player count for difficulty scaling. 0 resets it. |
| skiptime [seconds] / sleep | Jumps time forward. sleep skips one day. Skipping can pause growth and smelters until the clock catches up. |
| tod [0-1] / timescale [value] | Sets time of day (0.5 is noon) or the speed of time, up to 5x. timescale 0 pauses. |
| wind [angle] [intensity] / resetwind | Points the wind where you want it. wind 90 0.5 blows west to east. |
| env [name] / resetenv | Forces weather, for example env ThunderStorm. |
| freefly / ffsmooth 1 | Free camera, with optional smoothing. |
| nocost | Free building and crafting, no materials or workbench needed. |
| debugmode | Creative mode: press B for no-cost building, Z for flight, K to kill nearby enemies. |
| forcedelete [radius] [name] | Deletes matching objects around you, up to 50 meters. Never touches players, tombstones or boss stones. |
| setfuel [value] | Fills every nearby fire, torch and brazier. |
| save | Forces a world save. |
The spawn command takes an ID, an amount and a level: spawn SwordIron 1 drops an iron sword at your feet, spawn Troll 1 3 spawns a 2-star troll (level is stars plus one). IDs are case sensitive. Search all of them here, and click any ID to copy its ready-to-paste spawn command. The full list, with every ID grouped by category, is on the item IDs page.
| Name | Spawn ID (click to copy the command) | Type |
|---|---|---|
| Creatures | ||
| Trophies | ||
| Weapons | ||
| Weapons | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Weapons | ||
| Materials | ||
| Materials | ||
| Misc | ||
| Food | ||
| Consumables | ||
| Weapons | ||
| Weapons | ||
| Internal | ||
| Internal | ||
| Internal | ||
| Internal | ||
| Ash Crow | Creatures | |
| Weapons | ||
| Armour | ||
| Materials | ||
| Food | ||
| Materials | ||
| Creatures | ||
| Materials | ||
| Armour | ||
| Misc | ||
| Asksvin Hatchling | Creatures | |
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Misc | ||
| Materials | ||
| Materials | ||
| Trophies | ||
| Aspect of the Crawling Matriarch | Creatures | |
| Aspect of the Dragon Mother | Creatures | |
| Aspect of the Emerald Flame | Creatures | |
| Aspect of the Lightning Stag | Creatures | |
| Aspect of the Living Forest | Creatures | |
| Aspect of the Twisted Soul | Creatures | |
| Aspect of the Writhing Dead | Creatures | |
| Baby Seal | Creatures | |
| Food | ||
| Shields | ||
| Misc | ||
| Creatures | ||
| Barka Backslam | Internal | |
| Trophies | ||
| Materials | ||
| Misc | ||
| Materials | ||
| Misc | ||
| Weapons | ||
| Materials | ||
| Bat | Creatures | |
| Bat melee | Internal | |
| Weapons | ||
| Creatures | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Trophies | ||
| Materials | ||
| Misc | ||
| Materials | ||
| Weapons | ||
| Consumables | ||
| Internal | ||
| Weapons | ||
| Materials | ||
| Materials | ||
| Bite Attack | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| bjorn bite | Internal | |
| Bjorn spiritcaller | Creatures | |
| Materials | ||
| Food | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Weapons | ||
| Weapons | ||
| Materials | ||
| Weapons | ||
| Ammo | ||
| Weapons | ||
| Ammo | ||
| Weapons | ||
| Materials | ||
| Materials | ||
| Shields | ||
| Weapons | ||
| Internal | ||
| Internal | ||
| Shields | ||
| Internal | ||
| Internal | ||
| Food | ||
| Weapons | ||
| Creatures | ||
| Weapons | ||
| Weapons | ||
| Weapons | ||
| Weapons | ||
| Weapons | ||
| Weapons | ||
| Trophies | ||
| Materials | ||
| Weapons | ||
| Food | ||
| Materials | ||
| Weapons | ||
| Materials | ||
| Ammo | ||
| Materials | ||
| Ammo | ||
| Ammo | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Armour | ||
| Armour | ||
| Materials | ||
| Materials | ||
| Food | ||
| Armour | ||
| Armour | ||
| Armour | ||
| Food | ||
| Creatures | ||
| boar attack1 | Internal | |
| boar attack1 | Internal | |
| boar attack1 | Internal | |
| boar attack1 | Internal | |
| Food | ||
| Materials | ||
| Boar spiritcaller | Creatures | |
| Trophies | ||
| Ammo | ||
| Materials | ||
| Shields | ||
| Creatures | ||
| Internal | ||
| Trophies | ||
| Creatures | ||
| Materials | ||
| Materials | ||
| bonemaw spit | Internal | |
| Materials | ||
| Trophies | ||
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Bow | Internal | |
| Utility | ||
| Food | ||
| Materials | ||
| Armour | ||
| Armour | ||
| Brenna | Creatures | |
| Trophies | ||
| Consumables | ||
| Utility | ||
| Materials | ||
| Weapons | ||
| Weapons | ||
| Internal | ||
| Internal | ||
| Materials | ||
| Shields | ||
| Armour | ||
| Internal | ||
| Internal | ||
| Weapons | ||
| Materials | ||
| Utility | ||
| Weapons | ||
| Armour | ||
| Internal | ||
| Internal | ||
| Armour | ||
| Internal | ||
| Internal | ||
| Materials | ||
| Weapons | ||
| Bronze sword | Internal | |
| Bronze sword | Internal | |
| Weapons | ||
| Ammo | ||
| Armour | ||
| Armour | ||
| Armour | ||
| Weapons | ||
| Brute sword | Internal | |
| Brute sword | Internal | |
| Brute sword | Internal | |
| Brute sword | Internal | |
| Brute taunt | Internal | |
| Brute taunt | Internal | |
| Brute taunt | Internal | |
| Brute taunt | Internal | |
| Consumables | ||
| Bushy | Customization | |
| Weapons | ||
| Materials | ||
| Armour | ||
| Armour | ||
| Internal | ||
| Captive Fuling | Creatures | |
| Materials | ||
| Ammo | ||
| Ammo | ||
| Armour | ||
| Shields | ||
| Armour | ||
| Armour | ||
| Shields | ||
| Weapons | ||
| Food | ||
| Materials | ||
| Food | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Castellan | Customization | |
| Armour | ||
| Materials | ||
| Materials | ||
| Materials | ||
| Champion | Customization | |
| Materials | ||
| Ammo | ||
| Ammo | ||
| Materials | ||
| Materials | ||
| Charred Marksman | Creatures | |
| Materials | ||
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Sword | Internal | |
| Charred Twitcher | Creatures | |
| Charred Warlock | Creatures | |
| Charred Warrior | Creatures | |
| Internal | ||
| Internal | ||
| Armour | ||
| Chicken | Creatures | |
| Materials | ||
| Materials | ||
| Chronicler | Customization | |
| claw | Internal | |
| claw | Internal | |
| claw | Internal | |
| claw | Internal | |
| claw | Internal | |
| claw | Internal | |
| Food | ||
| Weapons | ||
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Club | Internal | |
| Materials | ||
| Materials | ||
| cold ball | Internal | |
| cold ball | Internal | |
| cold ball | Internal | |
| cold ball | Internal | |
| Ammo | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Food | ||
| Materials |
Showing the first 400 matches. Keep typing to narrow it down.
These work for everyone without devcommands, from the console or the chat window.
| Command | What it does |
|---|---|
| help | Lists available commands. Add page numbers to read them in chunks. |
| ping | Measures your latency to the server. |
| pos | Prints your current coordinates. |
| bind [key] [command] | Binds a command to a key. bind mouse4 cheer makes that button an emote. Works with devcommands too. |
| printbinds / unbind [key] / resetbinds | Shows, clears or wipes your custom key binds. |
| nomap | Toggles the map off for a hardcore run. On a server it flips the nomap global key. |
| noportals | Toggles portals the same way. |
| fov [number] | Changes field of view. |
| maxfps [number] | Caps the frame rate. |
| lodbias [1-7] | Sets draw distance. |
| printseeds | Prints seeds and positions of nearby dungeons. |
| resetspawn | Clears your bed spawn point. |
| resetsharedmap | Removes shared map data from the cartography table. |
| die / respawn | Kills your character. |
| s / say / w [player] | Shout, say or whisper chat messages. |
| setworldmodifier [name] [value] | Changes a world modifier, the same options as the world setup sliders. |
| tutorialreset / tutorialtoggle | Resets or disables Hugin's tutorial popups. |
Available to players whose ID is in the server's adminlist.txt.
| Command | What it does |
|---|---|
| kick [name/ip/userID] | Kicks a player. |
| ban [name/ip/userID] / unban / banned | Bans, unbans or lists banned players. |
| save | Forces the server to save the world. |
| setworldmodifier / setworldpreset / resetworldkeys | Adjusts world modifiers from the console. |
All 134 commands registered in the game code, each with its syntax, arguments and working examples on its own page.