← All tools

JSON Formatter & Validator

Dev

Pretty-print, minify and validate JSON — with the exact parse error and line when it's malformed.

valid
Output
{
  "service": "nginx",
  "ok": true,
  "ports": [
    80,
    443
  ],
  "tags": {
    "env": "prod"
  }
}

Parsed with the browser's native JSON engine — strict, fast, and local. “Minify” strips all whitespace for the smallest payload.