You don't have javascript enabled. Please enable javascript and refresh this page to continue.

General questions

JSON Formatter Online is a web-based tool to view, edit, format, and validate JSON. It has various modes such as a tree editor, a code editor, and a plain text editor. The editor can be used as a component in your own web application. The library can be loaded as CommonJS module, AMD module, or as a regular javascript file. Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 9+.
NO. When cutting and pasting text in the editor using the system clipboard, no data is sent via the server.
Yes. This site uses cookies from Google Adsense to personalize ads. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Read more
Expecting 'STRING'
You probably have an extra comma at the end of your collection. Something like: { "a": "b", }
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
You probably have an extra comma at the end of your list. Something like: [ "a", "b", ]
You also may have not enclosed your collection keys in quotes. Proper format for a collection is: { "key": "value" }
If you and your friend are on different systems (Win/Unix), this is possible 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 machine, it can validate it as valid erroneously since Windows may need a carriage return (\r) as well to detect newlines properly. The solution: Either use direct URL input, or make sure your content's newlines match the architecture your system expects!