How to use JSON Formatter

  1. Paste or type your JSON in the input area.
  2. Click "Format" or press Ctrl+Enter to beautify with consistent indentation.
  3. Copy the formatted output or download it as a file.

Example

Input

{"name":"DevToolKit","tools":["JSON","Encoding"],"active":true}

Output

{
  "name": "DevToolKit",
  "tools": ["JSON", "Encoding"],
  "active": true
}

Frequently asked questions

What is JSON formatting?
JSON formatting adds indentation and line breaks to make JSON readable. It does not change the data.
Does formatting validate JSON?
This tool will report invalid JSON if the input has syntax errors. Fix errors before formatting.
Can I format minified JSON?
Yes. Paste minified (one-line) JSON and click Format to get readable output.