How to Find Your Valheim Seed: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Title and meta carry seed map and seed viewer; the seed preview section explains what a seed map or seed viewer shows; hosting-page anchor reads Valheim dedicated server
Update Valheim 1.0 save guidance and ValheimOne map, fog and client requirements
Line 1: Line 1:
{{#seo:
{{#seo:
|title=How to Find Your Valheim Seed (Seed Map and Seed Viewer Guide)
|title=How to Find Your Valheim Seed (Seed Map and Seed Viewer Guide)
|description=Where the Valheim world seed shows in the game, how to get a dedicated server's seed with the printseeds command, from Player.log or from the .fwl file, how to open it in a seed map or seed viewer to see the whole world, and how a live map shows the real world instead.
|description=Where the Valheim world seed shows in the game, how to get a dedicated server's seed with the printseeds command, from older Player.log entries or from world saves, how to open it in a seed map or seed viewer to see the whole world, and how a live map shows the real world instead.
}}
}}
Every '''Valheim''' world is built from a seed, a short string of up to ten letters and numbers. Two worlds with the same seed have the same terrain, biomes and boss locations, so the seed is what you share when a friend wants your map, and what you type into a seed map site to preview the whole world. This guide covers where the seed shows in the game, how to find the seed of a dedicated server, and how to see the full map once you have it.
Every '''Valheim''' world is built from a seed, a short string of up to ten letters and numbers. New worlds generated from the same seed on the same game-generation version have the same layout. Game updates can change generation, and migrated worlds can retain older locations. Share the seed and generation version when a friend wants to preview the same layout. This guide covers where the seed shows in the game, how to find the seed of a dedicated server, and how to see the full map once you have it.


== Where the seed shows in the game ==
== Where the seed shows in the game ==
Line 15: Line 15:
=== Method 1: The printseeds command ===
=== Method 1: The printseeds command ===


The quickest way, and it works on any server you can join, rented or not.
On PC, this prints the world seed after your character has joined and loaded into the world. The output also includes seeds for loaded dungeons; use the line labelled <code>world seed</code>.


# In Steam, right-click Valheim, open '''Properties''', and add <code>-console</code> to the launch options.
# In Steam, right-click Valheim, open '''Properties''', and add <code>-console</code> to the launch options.
# Join the server and press '''F5''' to open the console.
# Join the server and press '''F5''' to open the console.
# Type <code>printseeds</code> and press Enter. The output looks like <code>-925266684/MXADgi5IxT</code>. The part after the slash is the seed; the number before it is the same seed in numeric form, which map sites do not use.
# Type <code>printseeds</code> and press Enter. Find the line containing <code>world seed: -925266684/MXADgi5IxT</code>. The part after the slash is the text seed; the number before it is the numeric seed hash. Do not use one of the dungeon-seed lines below it.


=== Method 2: Read it from your game log ===
<span id="Method_2:_Read_it_from_your_game_log"></span>
=== Method 2: Check an older game log ===


When you join any server, the game writes the world seed to a log file on your PC.
Some older builds write the world seed in <code>Player.log</code>. Current builds may omit this line, so use <code>printseeds</code> or the world-save method if it is absent.


# Join the server and wait until the world has loaded.
# Join the server and wait until the world has loaded.
Line 33: Line 34:
=== Method 3: Read it from the world files ===
=== Method 3: Read it from the world files ===


A dedicated server keeps two files per world: <code>WorldName.fwl</code> and <code>WorldName.db</code>. The <code>.fwl</code> file is small and holds the world's name and seed.
Valheim saves can use two layouts:


* On a server you run yourself, the files are in <code>%userprofile%\AppData\LocalLow\IronGate\Valheim\worlds_local</code> on the server machine, or in the folder you passed with <code>-savedir</code>.
* '''Legacy worlds:''' a matching <code>WorldName.fwl</code> and <code>WorldName.db</code> pair. The small <code>.fwl</code> metadata file contains the world name and seed.
* On a rented server, download the <code>.fwl</code> file over FTP or the panel's file manager. The steps are in [[How to Download Your Valheim World]].
* '''Valheim 1.0 worlds:''' a folder named after the world under <code>worlds_local</code>, containing versioned <code>_main.&lt;n&gt;.fwl2</code> and <code>_main.&lt;n&gt;.db2</code> files, plus chunk and supporting files. Keep the whole world folder together.


Then either:
On Windows, the local save folder is <code>%userprofile%\AppData\LocalLow\IronGate\Valheim\worlds_local</code>, or the folder specified with <code>-savedir</code>. On a rented server, use the File Manager or FTP to download the world. See [[How to Download Your Valheim World]].


* Drop the <code>.fwl</code> file into the seed extractor at [https://valheim-map.world/getseed.html valheim-map.world], which reads the seed and can draw the map straight away, or
For a legacy <code>.fwl</code>, a compatible seed extractor such as [https://valheim-map.world/getseed.html valheim-map.world's extractor] can read the metadata. Check the tool's supported formats before using it with a 1.0 save. Do not rename a <code>.fwl2</code> file to <code>.fwl</code>, edit the metadata in a text editor, or mix files from different save generations.
* Open the <code>.fwl</code> file in a text editor. The world name is the first readable text and the seed is the short string right after it, or
* Copy both files into your own <code>worlds_local</code> folder and start the game. The world appears in the Select World list with its seed next to it.


'''Note:''' Seeds are case sensitive and at most ten characters. If the string you found is longer, only the first ten characters are the seed.
To use the game itself, copy the matching legacy pair or the complete 1.0 world folder into your PC's <code>worlds_local</code> folder, preserving any existing local world with the same name first. Open the Select World list and read its seed. Work from a downloaded copy; there is no need to alter the live server save just to find the seed.
 
'''Note:''' Seeds are case sensitive. Copy the displayed text seed exactly; do not guess where a string in a binary save should be cut off.


== Seed map and seed viewer: preview the whole world from the seed ==
== Seed map and seed viewer: preview the whole world from the seed ==


A seed map, also called a seed viewer, is a website that generates a world from its seed and draws it in the browser, so you can see the entire world before anyone explores it. [https://valheim-map.world/ valheim-map.world] and [https://www.valheim.tools/seed-map valheim.tools] draw the terrain and biomes for any seed and mark boss altars, the trader, crypts and other dungeons. Use them to plan a base site, find the closest swamp, or check that a seed is worth starting a world on. [https://github.com/BjarkeCK/ValheimSeedFinder Valheim Seed Finder] is a free desktop tool that scans hundreds of seeds a second for the layout you want.
A seed map, also called a seed viewer, is a website that generates a world from its seed and draws it in the browser, so you can see the entire world before anyone explores it. [https://valheim-map.world/ valheim-map.world] and [https://www.valheim.tools/seed-map valheim.tools] draw the terrain and biomes for any seed and mark boss altars, the trader, crypts and other dungeons. Select a viewer that supports your generation version. Use it to plan a base site, find the closest swamp, or check a seed before starting a new world. A preview is not proof that every location in an older, migrated world will match. [https://github.com/BjarkeCK/ValheimSeedFinder Valheim Seed Finder] is a free desktop tool that scans hundreds of seeds a second for the layout you want.


A seed viewer shows the terrain, not what is happening on it. It cannot show buildings, portals, ships, players, or which parts of the map your group has actually uncovered. For that you need a live map, covered next.
A seed viewer shows the terrain, not what is happening on it. It cannot show buildings, portals, ships, players, or which parts of the map your group has actually uncovered. For that you need a live map, covered next.
Line 54: Line 55:
== See the real world instead ==
== See the real world instead ==


A live map shows the world your server is actually running, not just what the seed generates. [[Valheim Live Map|ValheimOne]] is an open source server side mod that renders your world from the server's own seed and then draws players, ships, carts, portals and tombstones on it as they move, with fog of war that matches what your group has charted, and a read only public link you can hand out. Players install nothing. Everything it shows, and how to add it to a self hosted server, is in [[Valheim Live Map]].
A live map shows the world your server is actually running, not just what the seed generates. [[Valheim Live Map|ValheimOne]] is an open source server side mod that renders your world from the server's own seed and then draws players, ships, carts, portals and tombstones on it as they move, with fog of war that matches what your group has charted, and a read only public link you can hand out. Players need no client plugin for the live map. Optional gameplay modules marked Synced require ValheimOne on each participating PC. Everything it shows, and how to add it to a self hosted server, is in [[Valheim Live Map]].


== Changing the seed ==
== Changing the seed ==


A dedicated server cannot be given a seed directly. To play a specific seed, create the world in single player with that seed, then upload its <code>.fwl</code> and <code>.db</code> files to the server. The steps are in [[How to Change a Server Seed]] and [[How to Backup Or Upload Your Save Data]].
A dedicated server cannot be given a seed directly. To play a specific seed, create the world in single player with that seed, then upload its matching legacy <code>.fwl</code>/<code>.db</code> pair or its complete Valheim 1.0 world folder to the stopped server. Keep a backup of the existing world before changing which world the server loads. The steps are in [[How to Change a Server Seed]] and [[How to Backup Or Upload Your Save Data]].


'''Note:''' Changing the world name on a dedicated server starts a brand new world with a new random seed. The old world files are not deleted, so switching the name back brings the old world back.
'''Note:''' Changing the world name on a dedicated server starts a brand new world with a new random seed. The old world files are not deleted, so switching the name back brings the old world back.

Revision as of 13:35, 9 September 2026

Every Valheim world is built from a seed, a short string of up to ten letters and numbers. New worlds generated from the same seed on the same game-generation version have the same layout. Game updates can change generation, and migrated worlds can retain older locations. Share the seed and generation version when a friend wants to preview the same layout. This guide covers where the seed shows in the game, how to find the seed of a dedicated server, and how to see the full map once you have it.

Where the seed shows in the game

Start Valheim, pick a character, and open the Select World list. Each world shows its name and, in the column next to it, its seed. That is the seed for any world stored on your PC, including a world you created and later uploaded to a server.

The list only shows worlds saved on your own PC. A server you join is not in it, so for a dedicated server the seed has to come from one of the methods below.

Finding the seed of a dedicated server

Method 1: The printseeds command

On PC, this prints the world seed after your character has joined and loaded into the world. The output also includes seeds for loaded dungeons; use the line labelled world seed.

  1. In Steam, right-click Valheim, open Properties, and add -console to the launch options.
  2. Join the server and press F5 to open the console.
  3. Type printseeds and press Enter. Find the line containing world seed: -925266684/MXADgi5IxT. The part after the slash is the text seed; the number before it is the numeric seed hash. Do not use one of the dungeon-seed lines below it.

Method 2: Check an older game log

Some older builds write the world seed in Player.log. Current builds may omit this line, so use printseeds or the world-save method if it is absent.

  1. Join the server and wait until the world has loaded.
  2. Open the log: from the main menu click Show Player.log in the bottom left corner, or open %userprofile%\AppData\LocalLow\IronGate\Valheim\Player.log in Notepad.
  3. Search for Initializing world generator. The line reads seed:YourSeed ( -1152559363 ); the text after seed: is the seed.

Note: Player.log starts fresh every time the game launches, so read it before you start Valheim again.

Method 3: Read it from the world files

Valheim saves can use two layouts:

  • Legacy worlds: a matching WorldName.fwl and WorldName.db pair. The small .fwl metadata file contains the world name and seed.
  • Valheim 1.0 worlds: a folder named after the world under worlds_local, containing versioned _main.<n>.fwl2 and _main.<n>.db2 files, plus chunk and supporting files. Keep the whole world folder together.

On Windows, the local save folder is %userprofile%\AppData\LocalLow\IronGate\Valheim\worlds_local, or the folder specified with -savedir. On a rented server, use the File Manager or FTP to download the world. See How to Download Your Valheim World.

For a legacy .fwl, a compatible seed extractor such as valheim-map.world's extractor can read the metadata. Check the tool's supported formats before using it with a 1.0 save. Do not rename a .fwl2 file to .fwl, edit the metadata in a text editor, or mix files from different save generations.

To use the game itself, copy the matching legacy pair or the complete 1.0 world folder into your PC's worlds_local folder, preserving any existing local world with the same name first. Open the Select World list and read its seed. Work from a downloaded copy; there is no need to alter the live server save just to find the seed.

Note: Seeds are case sensitive. Copy the displayed text seed exactly; do not guess where a string in a binary save should be cut off.

Seed map and seed viewer: preview the whole world from the seed

A seed map, also called a seed viewer, is a website that generates a world from its seed and draws it in the browser, so you can see the entire world before anyone explores it. valheim-map.world and valheim.tools draw the terrain and biomes for any seed and mark boss altars, the trader, crypts and other dungeons. Select a viewer that supports your generation version. Use it to plan a base site, find the closest swamp, or check a seed before starting a new world. A preview is not proof that every location in an older, migrated world will match. Valheim Seed Finder is a free desktop tool that scans hundreds of seeds a second for the layout you want.

A seed viewer shows the terrain, not what is happening on it. It cannot show buildings, portals, ships, players, or which parts of the map your group has actually uncovered. For that you need a live map, covered next.

See the real world instead

A live map shows the world your server is actually running, not just what the seed generates. ValheimOne is an open source server side mod that renders your world from the server's own seed and then draws players, ships, carts, portals and tombstones on it as they move, with fog of war that matches what your group has charted, and a read only public link you can hand out. Players need no client plugin for the live map. Optional gameplay modules marked Synced require ValheimOne on each participating PC. Everything it shows, and how to add it to a self hosted server, is in Valheim Live Map.

Changing the seed

A dedicated server cannot be given a seed directly. To play a specific seed, create the world in single player with that seed, then upload its matching legacy .fwl/.db pair or its complete Valheim 1.0 world folder to the stopped server. Keep a backup of the existing world before changing which world the server loads. The steps are in How to Change a Server Seed and How to Backup Or Upload Your Save Data.

Note: Changing the world name on a dedicated server starts a brand new world with a new random seed. The old world files are not deleted, so switching the name back brings the old world back.

See also

Valheim Live Map
How to Change a Server Seed
How to Download Your Valheim World
How to Backup Or Upload Your Save Data
Valheim Seed Finder (GitHub)
How to Create a Valheim Server Guide

On a Valheim dedicated server from Survival Servers the world files are one download away in the control panel's File Manager, and ValheimOne is included as a mod option, so you can see the whole world live without touching a seed site.