JSON Validator is a free online tool to validator JSON. Copy and paste, directly type in the editor above and let JSON Validator validate your messy JSON code. The JSON Validator will help you validate json online.
This button will save your JSON in you browser. When you come back again, you will get last saved JSON on editor.
By using this button you can share the JSON with other. This button will create a unique url. Share the newly created URL with other.
We have provided Repair JSON option, Using this option will remove all the comments
Common Errors
'STRING'
- You probably have an extra comma at the end of your collection. Something like { "a": "b", }
'STRING'
, 'NUMBER'
, 'NULL'
, 'TRUE'
, 'FALSE'
, '{'
, '['
- You probably have an extra comma at the end of your list. Something like: ["a", "b", ]
{ "key": "value" }
Different Results
If you use a Windows computer you may end up with different results. This is possibly due to the way Windows handles newlines. Essentially, if you have just newline characters (\n)
in your JSON and paste it into JSONLint from a Windows computer, it may validate it as valid erroneously since Windows may need a carriage return (\r)
as well to detect newlines properly. As a solution, either use direct URL input, or make sure your content's newlines match the architecture your system expects!
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.
JSON is built on two structures: