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.

Open the level.dat EditorChange world name, game mode, difficulty, hardcore, cheats, spawn, time and weather.

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

More level.dat & world settings guides

level.dat & world settingsHow to Change the Global World Spawn Point Coordinates in level.datThe global world spawn point determines where brand-new players enter your Minecraft world, where players return if their bed is destroyed, and which direction standard compasses point. By editing the world configuration directly inside the level.dat file, you can relocate this central hub to any coordinate without needing in-game cheats enabled. Using our browser-based level.dat Editor, your files are processed locally on your device and never uploaded to any server.Java & BedrockBeginner5 steps
level.dat & world settingsHow to Edit Minecraft GameRules Offline Using the level.dat EditorModifying Minecraft GameRules offline allows you to adjust core world behaviors—like keeping your inventory upon death or stopping Creepers from destroying blocks—before you even load into the game. By editing the level.dat file directly, you can change these rules without needing to enable in-game cheats or lose advancement eligibility. This guide walks you through safely updating your world's configuration for both Java and Bedrock editions using our browser-based level.dat Editor.Java & BedrockBeginner5 steps
level.dat & world settingsHow to Permanently Enable Cheats and Change Default Gamemode in level.datUsing the Open to LAN workaround in Java Edition only enables commands temporarily until you exit the world, while Bedrock Edition locks you out of certain settings once a world is created. By directly editing your world's level.dat file, you can permanently toggle cheats, change the default gamemode, and unlock difficulty settings. This guide shows you how to safely modify these global rules directly in your browser without uploading any files.Java & BedrockBeginner6 steps
level.dat & world settingsHow to Enable Experimental Features and Datapacks on an Existing WorldNormally, Minecraft locks experimental features and built-in experimental datapacks behind the world creation screen, forcing you to start a new game to test upcoming mechanics. By directly editing your world's root configuration file, you can unlock these experiments on an existing survival save without losing your progress. Our browser-based level.dat Editor lets you modify these feature flags safely and locally on your device without uploading any files.Java & BedrockIntermediate6 steps
level.dat & world settingsHow to Reset World Day Counter, Time of Day, and Weather State in level.datResetting your Minecraft world's day counter, time of day, and weather state is useful when preparing custom maps or starting a fresh chapter on an existing survival world. While in-game commands can alter the sun's position, they often just add ticks to the internal clock, making the day counter jump forward instead of resetting to zero. Using our browser-based level.dat Editor, you can safely adjust these exact NBT tags directly on your device without uploading any files.Java & BedrockBeginner5 steps
level.dat & world settingsHow to Convert a Hardcore World Back to Survival After DyingDying in a Minecraft Java Edition Hardcore world locks you into Spectator mode, preventing you from interacting with your builds ever again. Fortunately, the game stores your world's rules and your personal gamemode as simple data tags inside a single configuration file. By using our browser-based level.dat Editor, you can safely flip these tags back to normal Survival mode without uploading your files to any server.JavaBeginner6 steps