General

Editing Minecraft NBT Files with NBTExplorer

General·May 20, 2026·13 min read

Why NBT Files Matter

Minecraft quietly stores everything that makes a world tick inside NBT files. The seed, game rules, player inventories, even whether hardcore mode is on, all of it lives in binary `.dat` files the game does not normally let you touch. NBTExplorer is a free third-party tool that opens those files in a tree view so you can edit values by hand, no commands required. The first run can feel cryptic, so this guide walks through the full process from download to first edit.

Getting NBTExplorer

  1. Head to the NBTExplorer project page on GitHub.
  2. Open the Releases tab on the right side of the repository.
  1. Under the Assets section of the latest release, grab the `.zip` package.
  1. Extract the archive into a folder you can find again, like your desktop.
  2. Run `NBTExplorer.exe` to launch it.

Finding the File You Want to Edit

Before changing anything, make a backup copy of the file. NBT writes are saved the moment you click the save icon, and a bad value can corrupt the world. Keep an untouched copy somewhere safe so you can roll back.

Server worlds

  1. Open your server panel and stop the server. Editing while it is running will overwrite your changes as soon as Minecraft autosaves.
  2. Open the file manager or FTP client from your panel sidebar and sign in.
  1. Open the folder of the world you want to edit.

For world wide changes like game rules or hardcore mode, download `level.dat`. For per-player edits, open the `playerdata` folder and pick the `.dat` file matching the player's UUID. Sites such as MCUUID can translate a username into the correct ID.

Singleplayer worlds

  1. Open the Minecraft launcher and switch to the Installations tab.
  2. Hover over the profile you use and click the folder icon that appears on the right.
  1. In the file explorer window, open `saves`, then your world folder.
  2. Same as before: copy `level.dat` for world data, or grab a file from `playerdata` for a specific player.
  1. Move that copy somewhere separate, such as the desktop, so the original stays untouched.

Working Inside NBTExplorer

With your backup safe, open NBTExplorer and either drag the file onto the window or use File > Open to select it.

The interface is a collapsible tree. Use the + and - boxes to expand branches and dig into nested tags. Double clicking a value opens a small editor where you can type the new content, then confirm with OK. When everything looks right, hit the save icon in the toolbar. Forgetting that final save is the most common reason people swear NBTExplorer is broken when it is not.

Adjusting World Data

A few values people usually go looking for inside `level.dat`:

  • `hardcore`: set to `0` to disable hardcore mode, `1` to enable it.
  • `Difficulty`: `0` peaceful, `1` easy, `2` normal, `3` hard.
  • `GameRules`: a nested compound holding entries like `doDaylightCycle` or `keepInventory`.
  • `WorldGenSettings > seed`: the long number that defines the terrain.

Player files work the same way. `Inventory` and `EnderItems` are arrays of items with an `id`, `Count`, and `Slot`. Edit carefully, mismatched item IDs make slots disappear silently when the world loads. Reload the world after saving and the new values will be in effect. If anything looks off, swap your backup back in and try again.

Still have questions?

Come chat with us and we will get back to you as soon as possible!

Contact Support