Seed Converter
Paste any seed — a word, a phrase or a number — and see the exact 64-bit value the game will use, how it got there, and a link to view it on the seed map.
Exactly what you would type into the “Seed for the world generator” box.
- Numeric seed
- 99162322
- hashCode() (32-bit int)
- 99162322
- Hex (64-bit two’s complement)
- 0x0000000005e918d2
How it works
Parsing rules
- Whitespace at the start and end is trimmed. An empty box means a random seed.
- If what is left is an optional
+/−sign followed only by digits, and the value fits in a signed 64-bit integer, it is used unchanged. - Anything else is hashed with Java’s
String.hashCode():h = 31 × h + charCodeover every UTF-16 character, wrapping as a 32-bit signed integer. The 32-bit result is sign-extended to 64 bits.
Java vs Bedrock
Bedrock Edition switched from 32-bit to full 64-bit seeds in 1.18.30 (beta 1.18.20.21). Text seeds are hashed with the same algorithm, so a phrase gives the same number on both editions. Since 1.18 the two editions also share terrain and biome generation for a given seed — structures and decorations still differ. On Bedrock versions older than 1.18.30 only the low 32 bits of a numeric seed were used; the converter shows that value when it differs.
Finding your seed in-game
Java: run /seed in chat. Bedrock: open the world settings — the seed is listed under Game. The seed map can also read a Java level.dat.
FAQ
How does Minecraft turn a text seed into a number?
If the text is a plain integer that fits in 64 bits, it is used directly. Otherwise Java calls String.hashCode() on it: h = 31·h + charCode for every character, wrapping around as a 32-bit signed integer. The result (between −2,147,483,648 and 2,147,483,647) becomes the world seed. For example “hello” gives 99162322.
Are text seeds worse than numeric seeds?
Text seeds can only produce 2³² (about 4.3 billion) different worlds because hashCode() is 32-bit, whereas numeric seeds cover the full 2⁶⁴ range. The worlds themselves are not worse — a hashed seed is just a normal seed — but many possible worlds are simply unreachable by typing text.
Do text seeds give the same world on Java and Bedrock?
The text is hashed to the same number on both editions, and since 1.18 both editions generate the same terrain and biomes for the same 64-bit seed. Structures, caves and other decorations still differ between editions, so the worlds are similar but not identical.
Why does my numeric seed get treated as text?
Numbers outside the 64-bit signed range (below −9,223,372,036,854,775,808 or above 9,223,372,036,854,775,807), numbers with spaces or decimals, and anything with extra characters fail the integer parse, so the game hashes the text instead. Leading/trailing spaces are trimmed, and a leading + or − sign is allowed.
What seed is 0, and why can't I type it on old Bedrock?
Seed 0 is a perfectly normal world on Java, and you can also reach it by typing a phrase that hashes to 0 such as “creashaks organzine”. Older Bedrock versions used 32-bit seeds and treated 0 as “random”; since Bedrock 1.18.30 seeds are 64-bit and 0 works normally.