Compatibility
Minecraft: Java Edition
1.20–1.20.4
1.19.x
1.12.2
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
NBT Exporter
NBT Exporter is a simple client-side mod that allows players to export NBT data of items from their inventory.
Usage
Hold the item you want to export NBT for, and use the /exportnbt
command.
You can use it like that:
/exportnbt MyUniqueItem
...or like that:
/exportnbt "My Unique Item, but with spaces"
Providing a file name is optional. If not specified, the file will use the current date and time as the name.
To view the tags in an exported .nbt file, you can use a file reader such as NBTExplorer.
You can use this command on any Minecraft server without requiring additional permissions unless prohibited by server rules.
Commands
Since v2.0 NBT Exporter provides these commands:
/exportnbt
exports item NBT only, in compressed binary format/exportstack
exports full information about the item as NBT (incl. id & count & damage), in compressed binary format/exportnbtstr
exports item NBT only, in text (stringified) format/exportstackstr
exports full information about the item as NBT (incl. id & count & damage), in text (stringified) format/exportgive
exports full information about the item as/give
command into .txt