JSON Linter and Formatter

Checks if the input JSON text is in the correct JSON syntax and formats it.

Indent spaces
👉 Input area
👏 Output area

What is JSON Linter and Formatter?

This is a JSON formatting tool that checks if the input JSON text is in the correct JSON syntax and formats it.
If there is a problem with the JSON syntax, the cause of the error will be displayed along with the point of the problem.
The formatting also allows you to specify the characters used for indenting (spaces and tabs) and the number of indent spaces.

How to use JSON Linter and Formatter

Formatting is performed in real time immediately after a JSON string is input to the input area. If the formatting is successful, it is output to the output area.

Formatting options can also be specified.

About JSON formatting options


In the Indent option, you can specify the character to be used for indenting from space, tab, or none. If you select None, the indent, line breaks, and spaces will be removed.
The default is indentation by spaces.

Indent spaces

If you select a space in Indent, you can specify the number of indent spaces in Indent spaces.
The default is to indent with two spaces.

About JSON (JavaScript Object Notation)

The following is a brief description of some of the JSON syntax.

  • Enclose strings in double quotation marks "" (single quotation marks are not allowed)
  • Enclose the whole thing in {} or .
  • Key:Value makes one data, and Key:Value is separated by a colon :.
  • Separate data with comma , (no need to use commas for trailing data)

For more information, see Working with JSON and JSON.