MegaTools.live

JSON formatter

Indent valid JSON with two spaces. Large numeric literals may round to JavaScript precision.

How to use JSON formatter

Inspect nested objects and arrays with consistent indentation. Paste one complete JSON value. Comments, trailing commas and single-quoted keys are invalid. Keep precision-sensitive identifiers in strings.

Worked example

Input
{"name":"Mira","active":true}
Output
{
  "name": "Mira",
  "active": true
}