DevKitNow

Tools / Data

JSON Formatter

Pretty-print one JSON document with an indent from 0 to 8, and report the line when the parser stops. This is not a minifier and it does not accept comments or trailing commas.

Example: Billing record

{
"service": "billing",
"active": true,
"seats": 3,
"owner": {"id": "usr_1842", "email": "[email protected]"}
}

A common error

A trailing comma, such as the one after the last property, is invalid JSON. The formatter names that line and prints nothing.

The editor runs in the browser after this page loads. Nothing you paste is uploaded unless you save a Pro project.