Typed a word like "Glacier" into the seed box? Minecraft turns that text into a number before it builds your world. This text to seed converter shows you that number instantly. Type any word or phrase, and you get the numeric seed Java Edition actually uses. Then you can open it on the map, share it, or paste it into other tools that only accept numbers.
How to use the text to seed converter
- Type your text seed exactly as you entered it in game.
- Read the numeric seed below the box.
- Copy the number, or open it on the map.
Capital letters matter. "Glacier" and "glacier" are two different seeds. Spaces in the middle matter too, but spaces at the start and end are trimmed in current versions.
How Java turns text into a seed
Java Edition first checks if your input is a number. If it is a whole number that fits in 64 bits, the game uses it as-is. A leading minus or plus sign is fine.
Anything else is text. For text, the game runs Java's String.hashCode(). This method walks through each character. It multiplies the running total by 31, then adds the character code. The result wraps around to a 32-bit signed integer.
| Text | Numeric seed |
|---|---|
| Glacier | 1772835215 |
| glacier | 108181935 |
| minecraft | 695073197 |
Numbers too large for 64 bits are treated like text. So they also go through hashCode().
Why text seeds have limits
Because hashCode() returns a 32-bit number, text seeds can only reach about 4.29 billion worlds. Numeric seeds use the full 64-bit range. That is about 18.4 quintillion worlds.
In other words, most worlds can never be reached with text. If you want the widest choice, use a number.
Different texts can also give the same number, which is called a collision. For example, the phrases creashaks organzine and pollinating sandboxes both hash to 0. They generate the same world as the seed 0.
Tips and use cases
- Share seeds clearly. A number avoids confusion over capital letters and typos.
- Use seed tools. Many map and finder tools need the numeric value.
- Name your world. Type your name or a server name and see which world it creates.
- Check a famous seed. Convert it and open it on the map to see why it is known.
Common mistakes and Bedrock notes
A common mistake is changing case. "Minecraft" and "minecraft" give different numbers. Another is adding hidden characters, such as a trailing tab from a copy and paste.
This converter covers Java Edition only. Bedrock Edition also accepts text seeds. However, we have not verified how Bedrock converts text, so we do not show a Bedrock value. If you play Bedrock, use the numeric seed shown in the world settings instead.
Since 1.18, Java and Bedrock share terrain and biomes for the same 64-bit number. Structures still differ between editions.
A quick look at the math
You do not need to know the math to use the tool. Still, a small example helps. For the text "ab", the game starts at 0. It then takes the code for "a", which is 97. Next it multiplies 97 by 31 and adds 98, the code for "b". The result is 3105.
Longer texts repeat the same step for every character. The total grows fast, so it overflows the 32-bit range. When that happens, the value wraps around. That is why many text seeds give negative numbers.
Because the steps are fixed, the same text always gives the same seed on every computer.
This also means you can check any famous text seed yourself. Type it in, and the converter repeats the exact same steps the game does.
FAQ
What is the numeric seed for "Glacier"?
In Java Edition, the text Glacier becomes 1772835215.
Are text seeds case-sensitive?
Yes. Each letter has its own character code, so changing case changes the number.
Why is my text seed number negative?
String.hashCode() returns a 32-bit signed integer, so about half of all texts give negative numbers.
Does a number go through hashCode too?
No. Whole numbers that fit in 64 bits are used directly. Only text and oversized numbers are hashed.
Does this work for Bedrock Edition?
This tool covers Java Edition only. Check the numeric seed in your Bedrock world settings.
Can two different texts give the same seed?
Yes. Text seeds only have about 4.29 billion possible values, so many phrases share a number.