How to find and set the world seed on a Minecraft server

World management · updated 28 November 2026

A seed is the number Minecraft generates a world from. The same seed on the same game version always gives the same terrain.

How to find the seed

Type seed in the panel console, or /seed in game as an operator.

How to set a seed

A seed only applies when a new world is created, so the current map has to be reset.

  1. Stop the server.
  2. Put the seed in server.properties, for example:
level-seed=-4530634556500121041
  1. Delete the world folder (on Paper also world_nether and world_the_end). Make a backup first if you still need the current world.
  2. Start the server.

A seed can also be a word, for example level-seed=pepehost. The game turns it into a number.

Frequently asked questions

I set a seed but the world is the same as before.

The server loaded the existing world folder. The seed only takes effect after you delete the world, as described above (how to reset the world).

A seed from YouTube gives different terrain than in the video.

Check the game version. World generation changes between versions, so a seed from 1.16 will not give the same terrain on 1.21.