The JSON formatter is a formatting tool specifically for JSON files or pieces of code. The tool takes input text (either pasted or typed) and ensures the text is formatted correctly in relation to JSON syntax. The output will indicate any errors present, with colour-coding showing where these errors begin. If no errors are present, the text will be output in a regular JSON tree structure. You may then choose to output in single line format and remove any spaces. This tool is useful when converting JSON layout styles (i.e. single line or tree structure), as well as syntax checking.