> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use NBTExplorer


## What is NBTExplorer?

NBTExplorer is a powerful tool designed for exploring and editing NBT files—the data format that powers Minecraft’s intricate world details. In this guide, we’ll break down the essentials of using NBTExplorer, from navigating its user-friendly interface to making safe and precise edits in your game saves.

You can also use NBTExplorer to fix any issues without having to create a new world!

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

### What Files Can NBTExplorer Edit?

NBTExplorer is based on NBT edit but with more features. It can edit a variety of files such as:

NBTExplorer supports reading and writing the following formats:
* Standard NBT files (e.g. level.dat)
* Schematic files
* Uncompressed NBT files (e.g. idcounts.dat)

### What Can NBTExplorer Change?

There are many things that it can change within chunks and regions:

* Biomes
    
* Mob data
    
* Positions
    
* Block data
    
* Cheats
    
* Chunk data
    
* Etc.

You can find the GitHub for NBTExplorer here: [https://github.com/jaquadro/NBTExplorer](https://github.com/jaquadro/NBTExplorer)

## How to Install NBTExplorer

You can find the [NBTExplorer downloads here.](https://github.com/jaquadro/NBTExplorer/releases) Those downloads are for Windows computers but you can still find other versions that are linked [here](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/1262665-nbtexplorer-nbt-editor-for-windows-and-mac). Downloading NBTExplorer is simple and easy. The steps below will guide you through the simple process.

*Note: This tutorial is mainly for Java and most likely won't be applicable to bedrock edition.*

### Download process

1. Navigate to the aforementioned releases link and download the latest version (the .msi file if on Windows or Linux)
    If you're worried about viruses, Virustotal marks it as clear.
    
    ![](https://images.surferseo.art/f04d3c5c-fe43-4491-97e2-a7117e317fb5.png)
2. From there, you want to run the .msi file and install NBTExplorer.
    
    ![Download process](https://images.surferseo.art/4952f8fc-e2f9-4cab-89e6-285b94fc68c2.png)
3. Run it to make sure it downloaded/installed properly

After all the above steps, you should be able to do some edits!

## How to Use NBTExplorer to Modify a Minecraft World

If you're using SparkedHost, you'll first want to grab the `level.dat` dat file from the file manager on your server. If you're not using SparkedHost, then you can skip *those* steps but the rest is still applicable. Below we'll explain how to use NBTExplorer.

*It's a good idea to make a backup of the server's world before changing any NBT data just in case it's difficult to fix/debug things. You can do this in the backups tab on the righthand side.*

1. Log into your server panel at [https://control.sparkedhost.us/](https://control.sparkedhost.us/)
    
2. Shut down your server
    
3. Go to the file browser tab on the lefthand side
    
    ![](https://images.surferseo.art/8ab54385-9ea6-40d2-99dc-ae27db269b0d.png)
4. Open the `World` folder (or `world_the_end` or `world_the_nether`, don't worry if you don't have dimension-specific folders because that's from Bukkit)
    
5. Click the three dots next to the `level.dat` file and press download. Level.dat is a standard nbt file that contains your minecraft's world data.
    
    ![](https://images.surferseo.art/b8686404-b7e8-4e0f-ae63-83fd31322387.png)
6. After saving the file to your system, you can open the file in NBTExplorer by clicking file->open
    
    ![](https://images.surferseo.art/444ac49a-2e4b-489b-aaed-030ae62cbb21.png)
 ![Super interesting tree](https://images.surferseo.art/a7792110-763c-47fd-bbef-28e99cdad5b6.png)
    
    This will contain any of the values and world data that you could access. It uses a directory tree interface that is quite simple to use. You can easily explore multiple worlds with this tool. For a more in-depth guide, go down to the heading about modifying .dat files below.
    
7. Make any changes that you want such as changing the value of raining to 1:
    
    ![](https://images.surferseo.art/c2ef4a05-51fa-4db5-80b1-32d03ee09253.png)
8. Do Control+S to save the file or go to the file tab and press save
    
9. If on SparkedHost and you want to re-upload the file to your server, go to the server files like before and go to the same folder that the `level.dat` dat file was in (the world folder).
    
10. Press the upload button and then upload your level.dat file (on the top right of the server file manager)
    
    ![](https://images.surferseo.art/2173a8a1-9ee5-4633-84d5-b2d18361be36.png)
11. Restart your Minecraft server
    
    ![](https://images.surferseo.art/9919989b-0bbb-4e0d-b73d-e0fa5d797a24.png)

### Modifying Dat Files With NBTExplorer

To begin with, it's important to note that 1 = True and 0 = False in terms of NBT data.

#### Editing a Player's Data

You can change a TON of things with NBTExplorer like the player's position, items, abilities, etc.

1. Make sure that your server is offline or else the files won't show up
    
2. Go to your `/home/container/world/playerdata`
    
    ![](https://images.surferseo.art/bfbf5cbc-545e-4977-8424-ef6add485cf2.png)
3. Download the file like before and put it in NBTExplorer (If you don't know how to do this, this was outlined earlier before)
    
4. You can change a ton of settings from here

![](https://images.surferseo.art/7c91da9b-b0ec-456e-9401-02f23edd30d2.png)

* flying
    
* flySpeed
    
* instabuild
    
* invulnerable
    
* mayBuild
    
* etc.

Are the different kind of things that you can change under `abilities`

##### Changing a Player's Inventory 

You can also change a player's inventory here by going to `Inventory` in the tree.

If you want to add an item, you can:

1. Add a compound tag
    
    ![](https://images.surferseo.art/9e728dd6-9688-4d40-897e-29e52c429942.png)
2. Add the Byte values of Count and Slot under the compound tag (slot is whatever slot the item will be in)
    
    ![](https://images.surferseo.art/5953a8bb-cc2a-471b-83c9-035a2c778722.png)
3. Add the string tag of the item with the name ID
    
    ![](https://images.surferseo.art/f17dbf91-25a6-4419-bfb5-f1ff8a9f1a90.png)
4. Set the value of that item to `minecraft:<itemID>`
    
    ![](https://images.surferseo.art/67b0006d-2e9c-4768-9a0c-1467b0273c1c.png)
    
    (Note: this image says 'minecraft:carrots' but that's an invalid ID. I used `carrot` instead.)
    
5. Save the file and upload it to the server but delete the server's file before uploading your own.
    
6. Restart the server load into your world to verify that the changes work (if you put in an invalid ID like I did then it won't work).

![](https://images.surferseo.art/3c5cb7ee-c162-41fa-b18d-9064ff08cc19.png)

Above is a carrot that I spawned in by editing NBT data.

## Still have some questions?

You can reach out to us at [https://sparkedhost.com/contact](https://sparkedhost.com/contact) for support. You can also join our discord server here at [https://discord.gg/sparked](https://discord.gg/sparked) to receive quick answers and support.