JSON Formatter and Validator

Beautify, minify and validate JSON online for free. Finds the exact line of an error and can auto-fix common mistakes. Runs in your browser.

Example

{"name":"Ada","tags":["math","code"]}
{
  "name": "Ada",
  "tags": ["math", "code"]
}

Frequently asked questions

Can it fix broken JSON?

Yes. Auto-fix handles comments, single quotes, unquoted keys and trailing commas.

Will large numbers change?

No. Unlike many tools, long numbers like 12345678901234567890 are kept as they are.