NBT files are forgiving in some places and strict in others. When an edit goes wrong, the game rarely tells you why: a value is quietly reset, an inventory comes back empty, or the world refuses to load. These are the mistakes behind most of those problems.
Editing while the game is running
Minecraft keeps the world and its players in memory and writes them to disk when it saves, including when you quit. Any change you make in the meantime is overwritten. Close the game, or stop the server, before opening a file, and only start it again once the edited file is in place.
Working without a backup
The .dat_old files are kept by the game, not for you: they change every time the world saves. Before editing, copy the entire world folder. It takes seconds, and it turns every other mistake on this page into a minor inconvenience.
Changing a value's type by accident
Each value has a type, and the game expects specific ones. A slot number is a Byte, a game mode an Int, an old-style game rule a String. Tools that treat NBT like JSON can turn a Byte into an Int or a String into a number without telling you. Usually the game then ignores the value and uses a default.
The editor shows the type before every name and keeps it when you edit the value. To change a type on purpose, use NBT type in the row's ☰ menu.
Losing digits in Long values
World seeds, timestamps and some identifiers are Longs: 64-bit numbers up to 19 digits long. Tools that pass them through ordinary JavaScript numbers round them, so a seed such as 6508918960062323141 is saved back as 6508918960062322688. Nothing looks broken until new chunks generate from a different seed. This editor treats Longs as exact text, and a file opened and saved without changes comes out identical.
Saving with the wrong compression
level.dat and player files are gzip-compressed, while servers.dat and Bedrock files are not. A file saved with a different compression than the game expects can't be read. The editor keeps the original compression unless you change it, which you should only do to repair a file that another tool saved wrongly.
Mixing types in a list
All items of an NBT list share one type. If you type a word into a list of numbers, or a decimal into a list of Ints, the list can no longer be saved as it was. The editor flags this before downloading and tells you which list is affected.
Using the item format of another version
Item stacks changed shape in Java 1.20.5: Count (Byte) and tag became count (Int) and components. Armor and the off-hand item moved to equipment in 1.21.5. Copying an item from an old guide into a new file, or the other way round, produces an item the game drops or ignores. Copy an existing item in the same file and change it, instead of typing one from scratch.
Following a guide for the old world layout
Java 26.1 moved player files to players/data, game rules to data/minecraft/game_rules.dat and the seed to world_gen_settings.dat. If a tag or folder from a guide doesn't exist in your files, check the version first; don't recreate it, because the game won't read it. See what moved in 26.1.
Editing the wrong copy of the player
Up to Java 1.21.11, a singleplayer world can contain your player twice: in level.dat › Data › Player and in a file in playerdata. The game uses the one in level.dat, so edits to the other file seem to do nothing. From 26.1 there is only the file in players/data.
Lowering DataVersion to downgrade
DataVersion tells the game which version wrote the data, so it knows how to upgrade it. Setting it to a lower number does not make a world or structure compatible with an older version; the older game still meets data it doesn't understand, and you can lose blocks, items or entire chunks. To play a world in an older version, use a backup made before it was opened in the newer one.