Steps
- Paste raw JSON into the input.
- Choose the format mode.
- Check the status message for syntax errors.
- Copy the formatted output.
Development · free tool
Validate JSON syntax and format JSON, XML or SQL snippets for debugging and documentation.
JSON syntax is checked and indented with 2 spaces. XML and SQL formatting is heuristic; it does not validate their syntax or schemas.
Use it well
FAQ
It parses JSON and prints it with indentation so nested data becomes easier to read.
It can show syntax errors, but you still need to correct invalid quotes, commas or brackets.
The tool parses JSON before indenting it. Numbers beyond JavaScript precision can be rounded, and only the last value of a repeated key is kept.
OnSubmit tools run in the browser whenever the task can be processed locally. Avoid pasting production secrets, real banking details or personal data into public tools.