How to Find or Set the World Seed on Your Valheim Server
View your current Valheim world seed and learn how to start a new world with a specific seed.
Valheim seeds are locked at world creation — you can't change a world's seed after it's been generated. To use a different seed, you create a new world.
Find Your Current Seed
The seed is stored in the world's .fwl metadata file.
In-game (easiest)
Join the server with admin access. Open the in-game console with F5 and type:
genlocThis prints the current seed to the console.
From the world creation screen
You can also see the seed when creating a new world locally — paste the seed string into the seed field on Valheim's world creation screen.
Start a New World with a Seed
Valheim doesn't have a -seed startup parameter. To use a specific seed, create the world locally first:
Create the world locally
In Valheim's main menu, click Worlds > New and enter your desired seed in the Seed field. Choose a name and create the world.
Find the world files
Navigate to:
%userprofile%\AppData\LocalLow\IronGate\Valheim\worlds_local\You'll find <WorldName>.db and <WorldName>.fwl.
Upload to the server
Follow the Upload a World guide to transfer both files to your server.
Update the World variable
In Startup, set the World variable to your uploaded world name. Restart the server.
Random Seeds
If you don't specify a world name on a fresh server, Valheim auto-generates a world with a random seed using the world name from -world. The seed is stored in the .fwl file when the world is first created.
Related Guides
How is this guide?
