Skip to content
File editor

Bedrock Level.dat Editor

Change a Bedrock Edition world's name, seed, spawn, game mode, difficulty and game rules. Everything you do not change is saved exactly as it was. Your file never leaves your browser.

Bedrock EditionPlaying Java? Use the Java Level.dat Editor.

Where to find it

  • On Windows, iPhone, iPad and Android: in Minecraft, edit the world and choose Export World to get a .mcworld (consoles cannot export worlds). You get the edited world back as a .mcworld; open it to import it as a copy.
  • Or the world folder's level.dat (close the world first and keep a copy):minecraftWorlds/<world>/level.dat

Upload a Bedrock world to start editing

Drop a .mcworld or its level.dat here, or

How to use the Bedrock Level.dat Editor

Open a Bedrock Edition world (a .mcworld export or its level.dat) and change its name, seed, spawn point, game mode, difficulty and game rules, without opening the game.

Quick steps

  1. 1In Minecraft, edit the world and choose Export World (or close the world and copy its folder)
  2. 2Open the .mcworld, or the world's level.dat, here
  3. 3Change what you need, then download: open the new .mcworld to import it, or put the new level.dat back in the world folder

Example use cases

  • Turning keep inventory or other game rules on without cheats in chat
  • Moving the world spawn (with the spawnradius game rule at 0, new players appear right there)
  • Renaming a world or switching its default game mode

Tips

Values the file does not have are never added, so the game never sees a key it did not write
A new seed only affects chunks that have not been generated yet

Frequently asked questions

Can I edit a world on my phone or tablet?

Yes, on Windows, iPhone, iPad and Android (consoles cannot export worlds). In Minecraft, edit the world and choose Export World: you get a .mcworld file. Open that file here, make your changes and download the edited .mcworld. Opening it on your device imports it into Minecraft as a copy, so the original world stays as it was. Everything in the world except level.dat (and levelname.txt, when you rename it) is copied across untouched.

Where is level.dat on each device?

Every world has its own folder inside minecraftWorlds, with level.dat at the top of it. On Windows, from version 1.21.120 the worlds are under %appdata%\Minecraft Bedrock\Users\<your ID>\games\com.mojang\minecraftWorlds; older versions kept them in %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds. On iPhone and iPad, open the Files app: On My iPhone › Minecraft › games › com.mojang › minecraftWorlds. On Android the folder is Android/data/com.mojang.minecraftpe/files/games/com.mojang/minecraftWorlds, which newer Android versions hide from most file managers, so Export World is the easier way. Consoles do not give access to world files.

Why can't I edit my inventory here?

Because Bedrock does not keep it in level.dat. Players, their inventories and the chunks of the world are stored in the world's db folder (a LevelDB database); in a single-player world your own player is the entry called ~local_player. level.dat holds the world's settings: its name, seed, spawn, game mode, game rules and experiments.

Is a Bedrock level.dat the same as a Java one?

No. Bedrock stores it uncompressed with a small header and little-endian numbers, and the keys differ (game rules sit at the top level, in lowercase). Use this editor for Bedrock files and the Java Level.dat Editor for Java ones.

Will editing break my world?

Only the values you change are written differently; everything else is saved byte for byte as it was, and in a .mcworld every other file is copied unchanged. Close the world before you edit and keep a copy of the original. Setting the game mode to Creative turns achievements off for that world for good, as it does in the game.