JSON Formatter
Format and validate JSON online.
json
JSON Formatter is a free online tool that allows you to format and validate JSON data. It helps you to make your JSON data more readable and easier to work with by adding indentation and line breaks.
How to format JSON
- 1Paste your JSON into the input field.
- 2Choose 2 spaces, 4 spaces, or compact output.
- 3Select Format JSON to validate and format the input.
- 4Copy the result, or correct the reported syntax error and try again.