JSON Formatter & Validator

Paste JSON to format, minify, or validate it. Clear error messages show exactly what is wrong. Runs entirely in your browser.

Format / Validate JSON

Output

JSON Format Reference

  • Keys must be quoted strings: "key": "value"
  • Strings use double quotes, not single quotes
  • Numbers, booleans (true/false), and null do not use quotes
  • Trailing commas are not allowed in arrays or objects
  • Comments are not valid JSON