Minecraft Seed Reader for level.dat and World Files
This free tool reads the seed straight out of your world's data file, so you can find a seed even when you cannot open the world. Choose your level.dat or world_gen_settings.dat file and the seed appears below. Everything runs in your browser, and your file is never uploaded.
Which file holds the seed?
Where Minecraft stores the seed depends on your edition and version. If you pick the wrong file, the tool tells you what is missing.
| Edition and version | File | Seed location |
|---|---|---|
| Java 26.1 and later | data/minecraft/world_gen_settings.dat | The seed tag in that file |
| Java 1.16 to 1.21.11 | level.dat | Data > WorldGenSettings > seed |
| Java before 1.16 | level.dat | Data > RandomSeed |
| Bedrock (beta support) | level.dat | RandomSeed |
Where to find the world files
Java Edition
Open your saves folder, then the folder named after your world. On Windows it is %appdata%\.minecraft\saves. On macOS it is ~/Library/Application Support/minecraft/saves. On Linux it is ~/.minecraft/saves. The file level.dat sits at the top of the world folder. For Java 26.1 and later, open the data folder, then minecraft, to find world_gen_settings.dat.
Pick level.dat, not level.dat_old, which is the previous backup copy. For a server, download these files from the server's world folder with your host's file manager.
Bedrock Edition
On Windows, worlds are usually in %LocalAppData%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds. Each world has its own folder with a level.dat inside. On other devices, export or back up the world to a computer first. Bedrock support here is in beta, so please report any file that fails.
How the reader works
Minecraft stores world data in the NBT format, a compact tree of named values. Java Edition compresses these files with gzip, while Bedrock writes them uncompressed with a short header. The tool decompresses the file in your browser, reads the tree and looks for the seed tag in the places listed above. If it only finds a seed in an unusual place, it labels the result as the closest match. It never edits or saves your file.
Seeds are 64-bit whole numbers, so a result may be negative or up to 19 digits long. Copy it exactly, including the minus sign, and paste it into the Seed box when you create a new world. Then check the edition and version, because the same seed can give different structures in Java and Bedrock.
If no seed is found
- For a Java 26.1 or later world, choose
world_gen_settings.datinstead oflevel.dat. - Superflat and custom worlds may not store a usable seed.
- A hand-edited or damaged file can fail to read. Restore the backup copy and try again.
You can still try the /seed command in Java Edition. Our guide on how to find your Minecraft seed covers every method, including servers and Realms. If you only have a screenshot, read why that rarely works.
Frequently asked questions
Is my world file uploaded anywhere?
No. The tool reads the file in your browser, and the page is set up to block requests to other sites. Your world data stays on your device.
Will this change or damage my world?
No. The tool only reads the file and never writes to it. Keep a backup of your world anyway before you handle its files.
Why does level.dat have no seed in Java 26.1?
Mojang moved the world generation settings out of level.dat in the 26.1 snapshots. In worlds from that version on, the seed is in data/minecraft/world_gen_settings.dat inside the world folder.
Does the reader work with Bedrock worlds?
It reads the documented Bedrock level.dat layout and shows the RandomSeed value, but Bedrock support is still in beta. If a Bedrock file fails, tell us the game version through the contact page.
Can I read the seed of a server world?
Yes, if you can download the server's world files. Get level.dat, or data/minecraft/world_gen_settings.dat on Java 26.1 and later, from the world folder and choose it above.