Format and validate JSON online
Paste compact or unformatted JSON to produce readable indentation. Use Minify when you need a compact representation with unnecessary whitespace removed.
How to format or minify JSON
Paste your data and select Format JSON or Minify. A valid result can be copied or downloaded as formatted.json. Invalid syntax shows a parser error instead of an output file.
JSON compatibility and numbers
Standard JSON requires double-quoted keys and strings and does not support comments or trailing commas. The tool uses JavaScript parsing; store integers beyond the safe numeric range as strings.