How do you format JSON?
Paste your JSON then click Indent to make it readable, or Minify to compact it. If the syntax is invalid, the error message tells you where the problem is.
Beautify or minify: what's the difference?
Beautify adds line breaks and indentation for human reading. Minify removes all unnecessary whitespace to reduce file size — useful in production.
Frequently asked questions
Where is the error in my JSON?
The validator shows the JavaScript engine's error message, which usually points to the offending character or position.
Is my JSON sent to a server?
No. Parsing happens locally via JSON.parse in your browser.