How to edit level.dat in Minecraft Bedrock on Windows (and your player)

Want to change a Minecraft Bedrock world's settings or game rules from outside the game, or your own player's items? On Windows, a Bedrock world keeps them in two places. NBT Editor by Northgable opens both, and makes a backup before every save.

What is in a Bedrock world

level.dat holds the world's settings and its game rules. The world's database (its db folder) holds the world's records: the players, including this PC's player, the entities and other world data. Neither is text, so a text editor can't change them.

First, the game's own settings

Many world settings and game rules can be changed in the game itself, in the world's settings. That costs nothing. An editor is for values the menus don't show, or for your player's own data.

Edit level.dat or your player, step by step

1. Close the world in Minecraft (Save and Quit to Title). NBT Editor won't save while the world is open in the game.

2. Open NBT Editor. The list "Worlds on this PC" shows the Bedrock Edition worlds on this PC. Click your world. You can also use "Open world folder", or drop the world folder on the window.

3. For the settings and game rules, click level.dat. For your player, click "Players, entities and world data (db)": this PC's player is one of its records.

4. Double-click a value (or select it and press Enter), type the new one and press Enter. A value that doesn't fit its type is refused with a message, for example "This value has to be from -128 to 127." Nothing is written until you save.

5. Click Save (Ctrl+S). Before every save the app makes a backup in Documents\NBT Editor backups (for a Bedrock world, its whole database folder).

6. Open the world in Minecraft. To undo a save, close the world in Minecraft and copy the file (or the db folder) from the backup back into the world.

If Minecraft saved the world after you opened it in NBT Editor, nothing is written, so the game's newer save is never overwritten: open the file again and make your change again.

What it costs

Free: open, browse and change everything, and save one change, so you can see it work in your world. NBT Editor Pro is one payment in the Microsoft Store (USD 9.99 in the US), with no subscription: it saves every change, in every world, Java and Bedrock. A small sample world comes with the app to try the editor on, and saving there is free.

Get NBT Editor from the Microsoft Store: https://apps.microsoft.com/detail/9N0DFPSKMMFH?cid=mk-page-nbtb

What it can't do

It doesn't change a world while it is open in Minecraft. It changes values in files that are already in the world; it is not a map editor: it shows the data as a tree, not the world in 3D. It is for Windows PCs only.

Questions?

More about the app: our help page for NBT Editor. For a Java Edition world: turn on cheats or creative mode in an existing world.

Something not working, for example a file that won't open or a purchase that didn't unlock? Write to kestrelworksdev+northgable@gmail.com. We answer every message. Ideas and praise: a review on the app's store page helps others find it.

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT. Made by Northgable. Disclosure: this page is about our own app. Updated 20 November 2026.

About this site

Run by Northgable, the maker of the app on this page. E-mail: kestrelworksdev+northgable@gmail.com. Privacy: this site has no ads, no cookies of its own and no forms, and no account or sign-in. Cloudflare Web Analytics counts page visits without cookies and without identifying you. Cloudflare, which hosts it, handles each request under its own privacy policy: https://www.cloudflare.com/privacypolicy/ The links to our apps in the Microsoft Store and on Google Play carry a campaign tag, so the store can show us how many people came from this site. We see only the totals the stores show to app makers, never who you are. If you e-mail us, we use your message only to answer you. Ask us to delete it and we will. If this changes, this section changes first.