PHICHMC Tools
Book and Quill texture
Minecraft Command & JSON ToolsSupported: Both Editions

Minecraft JSON Formatter

Prettify, validate, and debug Minecraft JSON files (manifests, models, pack.mcmeta, behavior configs) with exact line and column error reporting.

Works with all Java and Bedrock JSON configuration files.

Valid JSON syntax (2 spaces indentation ready)
Your files are processed locally in your browser whenever supported. PHICHMC Tools does not require an account to use its tools.

How to Use Minecraft JSON Formatter

  1. 01.Paste your JSON text or upload a .json / .mcmeta file.
  2. 02.Select your preferred indentation (2 spaces, 4 spaces, or tabs) and click Format & Validate.
  3. 03.If a syntax error exists, inspect the highlighted line and column number to fix trailing commas or missing quotes.

How It Works

Parses JSON locally and calculates exact 1-indexed line and column positions from character offset positions when SyntaxError exceptions occur.

Supported Formats & Outputs

  • • .json
  • • .mcmeta
  • • .geo.json

Common Questions about Minecraft JSON Formatter

Does standard Minecraft JSON allow trailing commas or comments?

Strict JSON parsers in Minecraft Java Edition reject trailing commas and // comments. Our validator detects and helps you clean them.