/seed Command
Displays the world seed (a 64-bit integer) in the chat. Useful for sharing or recreating world generation.
Syntax
/seedPermission: 0 (singleplayer) / 2 (multiplayer server)Edition: Both
Examples
/seedNotes
In Java Edition, the seed is visible to all players in singleplayer (permission level 0) but requires operator level 2 on a server, as exposing the seed on a public server could reveal ore and structure locations. Bedrock requires operator or host permissions on a server, but cheats enabled suffices in a local game.