JSON Formatter and Validator - free online tool
Format, minify and validate JSON with clear error messages.
Log in to save this tool to your dashboard.
Privacy: this tool runs in your browser. Your input is not sent to our server.
How to use JSON Formatter and Validator
Paste JSON and choose Format, Minify or Validate.
Example
{"a":1} formats to a two-space indented version.
Frequently asked questions
Why is my JSON invalid?
Common causes are single quotes, trailing commas and unquoted keys. The error message shows what the parser found.
Is my JSON uploaded?
No. Parsing happens in your browser.