Minecraft Level.dat Reader
Choose the level.dat file from your world folder to see its seed, game version, world spawn and game mode. It works for Java and Bedrock worlds, and the file is read in your browser and never uploaded. It is the easiest way to recover the seed of an old world, a server backup or a world where cheats are off.
The file is read in your browser and never uploaded. Java 26.x keeps the seed in data/minecraft/world_gen_settings.dat, so select that file together with level.dat (hold Ctrl or Shift).
How to read your level.dat
Open the world folder
Java: in the world list, select the world, press Edit and then Open World Folder. Bedrock: find the world in the minecraftWorlds folder (table below).
Select the file(s)
Pick level.dat. For a Java 26.x world, also select data/minecraft/world_gen_settings.dat — that is where the seed lives now.
Read and copy
The reader shows the seed, version, spawn and game mode. Copy the seed or open it straight on the seed map.
Where is the level.dat file?
| Edition | Where to look |
|---|---|
| Java | .minecraft/saves/<world name>/level.dat (open the folder from the world's Edit menu) |
| Bedrock (Windows) | %LocalAppData%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\<world id>\level.dat |
| Server | The world folder named in server.properties (level-name) |
Make a copy before you open it with other tools. This page only reads the file.
What does the reader show?
It shows the seed (copy it or open it on the seed map), the game version the world was last saved with, the world spawn and the game mode. For older Java worlds it also shows the spawn chunk area — a 5 × 5 chunk square around the spawn chunk with the default spawnChunkRadius of 2 — and names the region file (r.X.Z.mca) that holds it. Spawn chunks were removed in Java 1.21.9, so that part only matters for worlds played in 1.21.8 or earlier.
Useful fields inside a Java level.dat
| Field | What it means |
|---|---|
| LevelName | The world's name |
| DataVersion | A number for the exact game version that last saved the world |
| GameType | Default game mode: 0 Survival, 1 Creative, 2 Adventure, 3 Spectator |
| hardcore | 1 if the world is Hardcore |
| allowCommands | 1 if cheats are on |
| SpawnX / SpawnY / SpawnZ | The world spawn |
| Time | Ticks since the world was created (20 ticks = 1 second) |
| LastPlayed | When the world was last opened |
When a world loads, the game backs up the old file as level.dat_old. If your level.dat is damaged, a copy of level.dat_old renamed to level.dat often saves the world.
Where did the seed go in Java 26?
Since Java 26.1 the world generation settings — including the seed — moved out of level.dat into data/minecraft/world_gen_settings.dat. Older tools that only read level.dat show no seed for new worlds. Select both files together and the reader finds the seed for you. Older worlds (1.21 and earlier) still keep the seed inside level.dat.
Java and Bedrock files
Java stores level.dat as gzip-compressed NBT. Bedrock uses an 8-byte header followed by little-endian NBT. The reader detects the format on its own. In Java 26.x the seed is no longer inside level.dat: it is in data/minecraft/world_gen_settings.dat, so select both files at once.
Other ways to find a seed
- In game (Java): type
/seed— it works in singleplayer even with cheats off, and for operators on servers. - Bedrock: open the world's Edit screen.
- Servers: the
level-seedline in server.properties only has a value if someone set it before the world was created.
Our guide how to find your seed covers every platform.
Frequently asked questions
How do I find the seed of my world?
Open the world's level.dat in this reader. The seed is shown in the table. In-game you can also type /seed if cheats are on or you are a server operator.
Is my file uploaded?
No. The file is read by your browser and stays on your device.
Does it work for Bedrock worlds?
Yes. We tested it with a world made by the official Bedrock Dedicated Server 1.26.52.3 and a world from the official Java 26.3 server.
Why does it say the file is invalid?
Pick the file named exactly level.dat, not level.dat_old or a .mcworld archive. For a .mcworld, unzip it first.
Can I change the seed in level.dat?
This reader only reads the file. Changing the seed of an existing world does not regenerate chunks you already explored, so old and new terrain would not match.
What is level.dat_old?
An automatic backup of the previous level.dat, made each time the world loads. Rename a copy of it to level.dat if the main file gets corrupted.
Where is the seed in Java 26 worlds?
In data/minecraft/world_gen_settings.dat inside the world folder. Select it together with level.dat and the reader shows the seed.
Can I read a world from a server backup?
Yes. Download the world folder from your host, then select its level.dat (and world_gen_settings.dat for Java 26 worlds).