Try the tool
Format and validate JSON
Paste a JSON object, array, number, string, boolean, or null. The formatter parses your input and highlights syntax errors without uploading it. Formatting uses two-space indentation; minifying removes unnecessary whitespace while retaining JSON structure.
Example
{"service":"api","nodes":["node1","node2"],"healthy":true}Common errors
JSON requires double-quoted property names, no trailing commas and valid escaping. JavaScript object syntax is not always valid JSON.
Does this change my data?
Parsing and re-serializing may alter formatting, number precision for very large integers, and duplicate object keys. Keep backups of source data before using the result in a production system.