NBT and SNBT formatter
Paste any Minecraft NBT tag to check it, read it as indented JSON, and control exactly how it is written — indentation, quote style, spacing and where short compounds stay on one line. Minify puts it back on the single line a command needs.
About NBT
›What is SNBT?
SNBT is the text form of Minecraft NBT — the data written in braces after an item, block or entity in a command. It looks like JSON but adds type suffixes such as 1b for a byte and 3.5f for a float, and its keys often go unquoted.
›Why does my NBT not work in a command?
Commands have to be on a single line, so a pretty-printed tag has to be minified before it is pasted in. A stray newline, a missing brace, or an int where the game wants a byte will each make the whole command fail.
›Is SNBT the same as JSON?
No. Every valid JSON object is close to valid SNBT, but SNBT adds typed numbers, byte, int and long arrays, and unquoted keys. Converting JSON to SNBT is safe; converting SNBT to JSON loses the type information.
›Does formatting change what the NBT means?
No. Indentation, spacing and quote style are cosmetic. The one thing that does matter is the type suffix — 1 is an int, 1b is a byte, and the game is strict about which it expects.
Building a whole command instead? Try the /summon or /give generators, which embed this same editor.