
level.dat & world settings · Java & Bedrock · Intermediate
How to View or Change Your World Seed and WorldGenSettings in level.dat
Your Minecraft world's terrain generation rules and seed are stored inside the master configuration file known as level.dat. Using our browser-based level.dat Editor, you can easily inspect or replace the generation seed for the Overworld, Nether, and End without uploading any of your files to a server. This guide covers both Java Edition (including the modern WorldGenSettings compound) and Bedrock Edition.
What you need
- Your Minecraft world save folder or a .zip archive of the world
- The level.dat Editor on our site
- A complete backup copy of your world folder stored in a safe location
- A numerical seed (a 64-bit integer) if you plan on changing your current seed
Step by step
1Back Up Your World and Locate level.dat
Before altering any core game data, close Minecraft completely and duplicate your entire world folder as a backup. If your game is still running, it will overwrite your manual changes when you quit to the title screen. Your target file, named level.dat, sits right in the top root directory of your world save folder.
Tip: If you ever corrupt your file, you can delete the broken level.dat and rename level.dat_old to level.dat in Java Edition to restore the previous state.
2Load Your World in the level.dat Editor
Open the level.dat Editor on our site and click to open your world folder, a .zip archive, or the standalone level.dat file directly. Because the tool runs locally in your browser, your files never leave your computer and load almost instantly. You will see an expandable tree of Named Binary Tag (NBT) data representing all global world rules.
3Inspect or Change the Main WorldGenSettings Seed (Java 1.16+)
In modern Java Edition, expand the root Data compound and scroll down to open the WorldGenSettings compound. Inside WorldGenSettings, locate the tag named seed and inspect or double-click its value to enter a new 64-bit integer. This specific tag acts as the master seed, and you can also toggle generate_features (1 for true, 0 for false) right above it to control whether structures like villages spawn in newly generated chunks.
Tip: Older Java worlds (1.15 and below) do not have WorldGenSettings; instead, look directly inside the Data compound for a tag named RandomSeed.
4Update Dimension-Specific Seeds in the Dimensions Compound (Java 1.16 - 1.20.4)
If your Java world was saved in versions 1.16 through 1.20.4, expand the dimensions compound located directly inside WorldGenSettings. You will see sub-compounds for minecraft:overworld, minecraft:the_nether, and minecraft:the_end. Expand the generator compound inside each dimension (and the biome_source compound if present) to check if an individual seed tag exists there; if it does, replace it with your new seed so every dimension uses the new layout.
Tip: Starting around Java 1.20.5, the game simplified this structure by removing redundant per-dimension seed tags, relying entirely on the top-level seed inside WorldGenSettings.
5Inspect or Change the Seed in Bedrock Edition
If you are editing a Bedrock Edition world, the NBT tree has no Data or WorldGenSettings wrapper; all tags sit at the root level. Scroll through the alphabetical list until you find the tag named RandomSeed. Copy this number to view your seed, or replace it with a new valid 64-bit integer to alter future terrain generation across all dimensions.
6Save and Replace Your Original level.dat
Once you have verified your new seed values, click the Save or Export button in the level.dat Editor to download your modified file. Move this downloaded level.dat into your actual Minecraft world folder, choosing to overwrite the original file when prompted. Launch Minecraft, load the world, and travel to unexplored areas to see your new seed in action.
How it works
Minecraft stores global world properties using the Named Binary Tag (NBT) format inside level.dat. In Java Edition, the file is compressed with GZip, whereas Bedrock Edition uses an uncompressed little-endian NBT format prefixed with an 8-byte header. Our browser tool automatically detects which edition you opened, unpacks the binary structure in your device's memory, and displays the internal hierarchy of compounds and values.
In Java Edition 1.16, the game overhauled world generation by introducing the WorldGenSettings compound. Instead of a single flat RandomSeed tag, WorldGenSettings encapsulates the master seed, bonus chest flag, feature generation toggles, and a dimensions map. Between versions 1.16 and 1.20.4, Minecraft explicitly copied the seed into the noise generator and biome source settings of the Overworld, Nether, and End compounds, which actually allowed advanced users to assign completely different seeds to each dimension.
It is important to understand how Minecraft uses the seed after world creation. The game never regenerates chunks that have already been built and saved to your region files (or db folder in Bedrock). Changing the seed in level.dat only dictates the math used by the terrain generator when you walk into brand-new, previously unvisited territory, as well as calculating dynamic seed-dependent features like slime chunks.
Common mistakes
- Typing letters or words into the seed tag instead of a number. While the in-game menu converts words into numbers using a hashing algorithm, the level.dat file strictly requires a raw 64-bit integer (between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807).
- Changing only the top-level WorldGenSettings seed in Java 1.16–1.20.4 while forgetting to update the nested seed tags inside the minecraft:overworld, minecraft:the_nether, and minecraft:the_end generator compounds.
- Editing level.dat while the world is currently open and paused in Minecraft, which causes the game to overwrite your edited file the moment you click Save and Quit.
- Expecting existing builds or explored terrain around your base to reshape after changing the seed; only newly generated chunks will reflect the new seed.
FAQ
Why do I see sudden flat cliff walls (chunk borders) after changing my seed?
Existing chunks stay permanently saved in your world folder, while new chunks generate using the mathematical heightmap of your new seed. Where the old terrain meets the new terrain, the elevation and biomes will not match, creating sharp vertical cliffs.
Can I give the Nether a different seed than the Overworld?
In Java Edition versions 1.16 through 1.20.4, yes—you can put different 64-bit integers inside the generator compounds for minecraft:overworld and minecraft:the_nether. In newer Java versions (1.20.5+) and Bedrock Edition, all dimensions share the single master seed.
Will changing my seed move my current Nether Fortresses or Slime Chunks?
The physical blocks of already-discovered fortresses will stay right where they are, but the bounding boxes that allow Wither Skeletons to spawn inside them—as well as the locations of Slime Chunks—are calculated dynamically from the active seed and may shift.
By editing the WorldGenSettings compound or RandomSeed tag in our browser-based level.dat Editor, you can safely view or swap your Minecraft world's generation seed across any dimension without uploading your save files.