How to use the JSON Formatter & Validator
- Paste your JSON into the top box.
- Press Format to beautify it or Minify to make it one line. Tick Sort keys to order keys A to Z.
- If the JSON is broken, the tool shows the line and column of the problem.
- Copy or download the result.
Common JSON mistakes
A comma after the last item, single quotes instead of double quotes, and keys without quotes are the usual causes of invalid JSON. Schema markup (JSON-LD) for SEO must also be valid JSON, so check it here before adding it to your site.
Frequently Asked Questions
Is my JSON sent anywhere?
No. It is processed in your browser.
Can it check JSON-LD schema?
It checks that the JSON is valid. Use Google’s Rich Results Test to check the schema rules.
Is there a size limit?
Large files of several MB work on most computers.