World Seed

Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
This article is about the feature. For the ammunition, see Seed. For seeds that can be planted, see Seeds.
A world in the world selection menu on Desktop version Desktop. Hovering over the button reveals the world's seed; clicking it copies it to the clipboard.

The World Seed is a string of numbers that determines the way a Terraria world is randomly generated. It can be entered when creating a new world and can be viewed anytime thereafter in the world selection menu. Two worlds with the same seed are almost identical.[a]

Format

A World Seed consists of four numbers, separated by periods: [size].[difficulty].[evil biome].[identifier].

1 Small
2 Medium
3 Large
1 Classic
2 Expert
3 Master
4 Journey
1 Corruption
2 Crimson
  • Identifier, i.e. the actual unique random seed (possible values: 0000000000 through 2147483647)

For example, a world with the seed 3.1.2.1399440699 is a large world in Classic Mode with Crimson and its identifier is 1399440699.

The field for entering the World Seed is below the name field. In this example, an identifier of 1718168399 is entered.

The identifier part can be entered during world creation in the "Seed:" field. Alphanumerical values are allowed there; internally they will be converted to numbers for world generation using the CRC-32 algorithm.[1] Leaving it empty will randomize the identifier.

Alternatively, the full seed (not just the identifier part) can be entered there to automatically select the settings of the other fields (world size, difficulty, and evil biome). Only the identifier part will remain in the "Seed:" field.

Secret world seeds

Main article: Secret world seeds

A handful of seeds cause worlds with unusual and unique features as Easter eggs. These replace the regular identifier part of the World Seed. For instance, the identifier 5162011 (Celebrationmk10) triggers the Celebrationmk10 world generation, but two Celebrationmk10 worlds are almost never identical. Therefore, it is generally impossible to replicate a secret-seed world in the way it is possible with regular worlds.

Worlds created prior to 1.3.4

Worlds generated prior to 1.3.4 do not have a viewable seed. While they were generated with a random seed, that information was only used during world creation, and was not stored in the world file.

Worlds generated in 1.3.4 or later always have a World Seed. In 1.3.4, an experimental feature setting was added on the Desktop version Desktop version to allow players to see, copy, and input the World Seed.

Since 1.4.0.1, World Seeds can always be viewed, copied, and entered, regardless of the experimental feature setting.

History

  • Desktop 1.4.2: Fixed an issue where seeds would not always generate identical worlds.
  • Desktop 1.4.0.1:
    • Officially implemented in the game.
    • Made the world seed also contain the info on the initial settings of a world.
    • Fixed an issue where different operating systems would see slightly different world seed results.
  • Desktop 1.3.5: Fixed an issue where auto-creating a world from the server caused it to always use the same seed.
  • Switch 1.4.0.5.5: Introduced with changes from Desktop 1.3.5 to Desktop 1.4.0.3.
  • Mobile 1.4.0.5.0: Introduced with changes from Desktop 1.3.5 to Desktop 1.4.0.3.

References

  1. Information taken from the Desktop version Desktop 1.4.3.6 source code, method SetSeed() in Terraria.IO.WorldFileData.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.4.9.
  1. Minor differences may still be present due to randomizations that are not based on the seed.