Validate Minecraft .mcfunction commands, target selectors, NBT brackets, JSON loot tables, and 1.21+ item component compatibility live in your browser with one-click safe auto-fixes.
Free · No Install · Works On Desktop And MobileWhen a Minecraft data pack silently fails to appear after typing /reload, finding a single unclosed SNBT brace, trailing JSON comma, stray leading slash inside a .mcfunction file, or outdated Minecraft 1.20.4 selector key like radius=12 can waste hours of trial-and-error debugging.
Inspired by the open-source SpyglassMC language server, this online Minecraft Datapack And Mcfunction Syntax Linter checks your commands, target selector arguments, balanced braces/quotes, JSON loot tables or pack.mcmeta files, and Minecraft 1.21+ migration issues (such as minecraft:grass -> short_grass, legacy /give NBT braces vs item components, and plural functions/ references) in real time inside your browser.
Two common culprits cause silent function failure: leading forward slashes (/give instead of give) and single syntax errors anywhere in the file (unclosed NBT braces, invalid selector arguments, or removed 1.21 block IDs), which cause Minecraft to abort loading the entire function.
Yes. In MC 1.21+ mode it checks for legacy curly-brace item NBT syntax on /give and /item replace, flags renamed IDs such as minecraft:grass, and catches plural :functions/ references.
This browser validator is inspired by SpyglassMC (MIT License), providing zero-install client-side .mcfunction and datapack JSON linting on 9Minecraft.