Processing your request...
Validate, beautify and minify JSON, see exactly where errors are, and convert to YAML, CSV or XML.
{
"name": "AppyGrid",
"tools": 42,
"free": true,
"rating": 4.8,
"tags": [
"json",
"formatter",
"validator"
],
"owner": {
"country": "UK",
"since": 2024
},
"sponsor": null
}Most invalid JSON comes down to one of these.
| Problem | Invalid | Valid |
|---|---|---|
| Trailing comma | {"a": 1,} | {"a": 1} |
| Single quotes | {'a': 'x'} | {"a": "x"} |
| Unquoted key | {a: 1} | {"a": 1} |
| Missing comma | {"a": 1 "b": 2} | {"a": 1, "b": 2} |
| Not a JSON value | {"a": undefined} | {"a": null} |
| Comments | {"a": 1} // note | {"a": 1} |
JSON allows exactly six kinds of value.
Or open a .json file. It is checked straight away.
If it's invalid, the line and column of the problem are shown.
Pick beautify, minify, YAML, CSV or XML, then copy or download.
Errors show the line, column and the likely cause.
2 spaces, 4 spaces or tabs, with optional A–Z key sorting.
Turn JSON into YAML, CSV or XML and download the file.
Runs in your browser. Your JSON is never uploaded.
Your rating helps us decide what to improve.
Sponsored links. AppyGrid may earn a commission at no extra cost to you.