About this tool
Paste JSON to make it readable, compress it for production or find out why it fails to parse.
How to use JSON Formatter & Validator
- Paste your JSON into the input box.
- Click Format, Minify or Validate.
- Copy the result or fix the reported error.
Frequently asked questions
Is my JSON sent anywhere?
No. Parsing happens locally in your browser.
Why does my JSON fail validation?
Common causes are trailing commas, single quotes around strings and unquoted keys. JSON requires double quotes.