JSON Formatter

Format and beautify JSON instantly.

Output

What this tool does

This tool formats raw JSON into a readable, properly indented structure. It is useful for debugging APIs, inspecting payloads, and cleaning up minified JSON.

How to use

Paste JSON into the input area and click Format JSON. If the JSON is invalid, the tool will show a clear error message indicating what went wrong.

Example

Input

{"name":"John","age":30}

Output

{
  "name": "John",
  "age": 30
}