Minecraft NBT Editor (Online, Java Edition)

Edit NBT (Named Binary Tag) files right in your browser. Open and modify playerdata, level.dat, and structure (.nbt) files for Java Edition with a clean tree view, search, and safe, type‑aware edits—no installs required.

Supported Files

  • • Java Edition Files:
  • - Player Data Files (playerdata/*.dat)
  • - Level Data Files (level.dat)
  • - Structure Files (*.nbt)
  • - Backup Files (*.dat_old)
  • - Advancement Data (advancements/*.json)
  • - Statistics Data (stats/*.json)

Our editor is designed for Java Edition files. Use with Java Edition world saves for best results.

Upload a Minecraft Java Edition file (.dat, .nbt, .dat_old, or .json) to view and edit its contents

Java Edition Files Focus

Our NBT editor is designed specifically for Java Edition Minecraft files. For best results, use with Java Edition world saves and structure files.

Explore More Minecraft Tools

About Minecraft NBT Editor

Our free online Minecraft NBT editor allows you to modify NBT (Named Binary Tag) files used by Minecraft to store various game data. Whether you need to edit player inventories, fix corrupted saves, or modify game rules, our tool provides an easy-to-use interface for all your NBT editing needs.

Supported File Types

Player Data Files (.dat)

Contains player-specific information including:

  • Inventory contents
  • Player statistics
  • Achievements and advancements
  • Player position and rotation
  • Health, hunger, and experience levels
Level Data Files (.dat)

World-specific settings including:

  • Game rules
  • World spawn location
  • Time and weather settings
  • World border configuration
  • Difficulty and gamemode settings

Java Edition Files Support

Structure Files (.nbt)

Java Edition structure files that contain:

  • Block data and IDs
  • Entity information
  • Structure dimensions
  • Block states and properties
Data Files

Various Java Edition data files:

  • Player data (.dat files in playerdata folder)
  • Level data (level.dat)
  • Advancements data
  • Statistics data

Structure Format Utility

Our tool includes structure format utilities that allow you to work with Java Edition (.nbt) structure files:

  • Modify block and entity data
  • Adjust structure dimensions
  • Edit block states and properties
  • Create and edit complex structures

Simply upload your structure file, make your changes, and download the modified file. The editor handles all the complex NBT format details for you.

Common Use Cases

Frequently Asked Questions

Technical Details

NBT (Named Binary Tag) is a data structure format used by Minecraft to store various game data. It supports multiple data types including bytes, shorts, integers, longs, floats, doubles, strings, lists, and compounds. Our editor handles all these data types and maintains the hierarchical structure of NBT files.

Supported NBT Tags

  • TAG_Byte: 8-bit signed integer
  • TAG_Short: 16-bit signed integer
  • TAG_Int: 32-bit signed integer
  • TAG_Long: 64-bit signed integer
  • TAG_Float: 32-bit floating point
  • TAG_Double: 64-bit floating point
  • TAG_String: UTF-8 string
  • TAG_List: List of named tags
  • TAG_Compound: Collection of named tags

How to Use the NBT Editor (Step-by-Step)

Editing NBT is powerful but precise. The safest workflow is to duplicate your world, make changes on the copy, and then move the updated files back when you are confident everything behaves as expected. The guide below walks you through a reliable process that works for most Java Edition saves and structure files.

  1. Back up your world or the individual file you plan to edit (for example, level.dat or a player .dat file in the playerdata folder).
  2. Ensure Minecraft is closed. Open files while the game is running can be locked or overwritten on save, leading to corruption.
  3. Drag-and-drop the file into the editor or use the upload control. The tree view will display the full hierarchy of compounds, lists, and primitive tags.
  4. Expand nodes to locate the tag you want to modify (for example, player Inventory,GameRules, or structure blocks/entities data).
  5. Edit values carefully, preserving expected data types (integers vs. strings, lists vs. compounds). When in doubt, mirror existing examples in the same file.
  6. Save the updated file and place it back into your world or datapack structure. Launch Minecraft and validate your change in a test environment first.

Most common tweaks—adjusting player position, fixing a bad gamerule, or lightly editing a structure file—only require changing one or two tags. If you are doing larger refactors, make incremental saves so you always have a known-good fallback.

Best Practices & Tips

  • Keep types exact: a TAG_Int is not interchangeable with a TAG_String, even if both represent numbers.
  • Be mindful of coordinate systems and units (blocks vs. chunks) when editing positions and dimensions.
  • Prefer small, reversible changes. Test after each step so you know which edit caused a behavior change.
  • When editing lists, match the existing element type exactly—mixed-type lists are invalid in standard NBT.
  • If a value keeps “resetting,” the game may be rewriting it on load; confirm you are editing the correct file for the correct world/profile.

Compatibility & Limitations

This editor targets Java Edition files and supports both gzipped .dat and uncompressed.nbt commonly used for structures. Bedrock Edition stores data differently (LevelDB-backed worlds with binary records), so results may vary outside Java workflows. If you run into unexpected behavior, verify the file format and consider exporting or converting to a standard Java NBT structure first.

To deepen your understanding of tag types, nesting rules, and the overall data model, see the authoritative reference for the NBT format on the Minecraft Wiki: minecraft.wiki/w/NBT_format.

CraftMC

Your ultimate resource for Minecraft tools and guides.

Professional ToolsExpert GuidesActive Support