Minecraft level.dat Editor

Edit your Minecraft world settings in level.dat online: world name, game mode, difficulty, hardcore, allow cheats, spawn point, time and weather - plus every other tag. Nothing is uploaded.

Private by design: your files are read by your browser and never uploaded.

How to use the level.dat Editor

  1. 1Find level.dat

    Open your world folder in .minecraft/saves. level.dat sits next to the region folder. Close the world in Minecraft first.

  2. 2Open it here

    Choose the file. The World settings panel shows the common options; the full tag tree is below.

  3. 3Change settings

    Pick a game mode or difficulty, tick Allow cheats or Hardcore, set the spawn point or the time of day.

  4. 4Save and replace

    Press Save file, then put the new level.dat in your world folder (keep the old one as level.dat_backup).

What it can do

Guides for this tool

level.dat & world settingsHow to View or Change Your World Seed and WorldGenSettings in level.datYour 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.Java & BedrockIntermediate6 steps
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

FAQ

How do I turn on cheats in an existing world?

Open level.dat, tick Allow cheats (commands), save, and replace the file. In single player you can also open to LAN once with cheats on.

Can I change the seed?

The seed is shown read-only. Changing it would not regenerate existing chunks and causes ugly borders between old and new terrain.

Where are game rules?

In the tree under Data - in newer versions inside the game rules compound. Edit them there and save.

Is this the same as the level.dat Inspector on 9Minecraft Tools?

The Inspector only reads the file. This editor changes it and saves a new copy.

More world tools