Skip to content

tryashtar/nbt-studio

Repository files navigation

Image NBT Studio

NBT Studio is an NBT editing application, the spiritual successor to NBTExplorer. It has been rewritten completely from scratch to support a vast array of new features, while keeping the familiar layout of controls. New features include Bedrock support, SNBT support, undo/redo functionality, drag and drop, multiselect, and more! It's called Studio to make it sound more important than it really is.

Image Files

NBT Studio supports reading and writing the following NBT formats. Features marked with a star are new NBT Studio features not present in NBTExplorer.

  • Java NBT files, such as level.dat
  • Java region files (.mca and .mcr)
  • ☆ Bedrock NBT files, such as .mcstructure files (little-endian NBT)
  • ☆ SNBT files (stringified NBT, like in commands: {Enchantments:[{id:sharpness,lvl:10s}]})

Image ☆ NBT files can be exported to any of these formats using Save as. You can load an SNBT file, then export it as a little-endian g-zipped binary file if you wish.

Image ☆ NBT Studio also allows the creation of blank NBT files. You can start from scratch and export to any format. Additionally, you can use Ctrl Alt V to create a file from SNBT data on your clipboard.

Image SNBT Support

NBT Studio is designed around the easy transfer and conversion between textual SNBT data and structured NBT data. As mentioned, SNBT can be opened as a file or pasted as a new document.

  • Image You can add a tag as SNBT anywhere in the document. Whatever type is parsed will be the resulting type of the tag. Compounds and lists will be fully parsed with all of their children.
  • Image Existing tags can also be inspected and edited as SNBT. You can modify entire compounds in-place, or simpler tags.
  • Image The cut, copy, and paste actions add the tag to your clipboard as SNBT. You can copy multiple tags as text, or import SNBT data obtained elsewhere.

Image Tag Editing

NBT Studio adds an assortment of convenience features to make navigating and editing NBT data easier.

  • Image The tag creation and edit menus have fields for both tag name and value, so you don't have to do it in two steps
  • Image Hold Shift while adding a tag to skip the menu and select its name automatically
  • Image NBT lists of type byte, short, int, or long can be edited as hex just like arrays
  • Image Tags can be selected, dragged, and dropped to move them to a different parent
  • Image Undo and redo functionality with Ctrl Z and Ctrl Shift Z
  • Image Deleting tags automatically selects the next tag for easy obliteration
  • Image New and improved search window allows searching by regular expression, as well as an option to select all matching tags
  • Image Press Enter to edit the selected tag
  • Image Press Space to expand/contract the selected tag, or Ctrl Space to expand all
  • Image Right-click on a file to see options to save it, or open it in File Explorer
  • Image Right-click on a container tag to see options to add a child tag
  • Image Files display an asterisk (*) to indicate there are unsaved changes

Credits

This application was written from scratch by myself, tryashtar. However, it would never have existed without these amazing projects that came before me:

Design

Technologies

Icons

About

An up-to-date NBT viewer and editor with lots of new features

Topics

Resources

Stars

782 stars

Watchers

11 watching

Forks

Contributors

Languages