About the JSON Formatter
The JSON Formatter parses the complete document before presenting a consistently indented version. Parsing first ensures that a visually tidy result is also valid JSON.
How to use the JSON Formatter
- Paste a JSON object or array.
- Choose two spaces, four spaces or tabs.
- Format and correct any error location reported by the parser.
Practical tips
- JSON property names and string values require double quotes.
- Download the formatted result with a .json extension when it is ready.