What “Valid JSON” tells you
The input contains one syntactically complete JSON value. That may be an object, array, string, number, boolean, or null. Validation does not confirm that an email exists, an amount is correct, or an API accepts the fields. Those checks require your application rules or a JSON Schema validator.
Invalid JSON, corrections, and expected results
{"name":"Nikunj",} fails. Remove the final comma: {"name":"Nikunj"} → Valid JSON.{age:28} fails. Use double quotes: {"age":28} → Valid JSON. Single quotes are not a substitute.{"skills":["HTML","CSS"] fails at the end. Add }: {"skills":["HTML","CSS"]} → Valid JSON.{"role":"reader","role":"editor"} passes syntax checking with a duplicate-property notice. Keep just the intended property before sending it to an API.false is valid JSON. False, undefined, and NaN are not.How to Use This Tool
- Paste the document or load the sample. Open file accepts a UTF-8 JSON or text file.
- Click Validate JSON, or leave Auto-update enabled to check after typing.
- If invalid, read the line and column, select Go to error, and correct the first reported issue.
- If valid, inspect Tree or Code and review any duplicate-property notice before copying or downloading.
Common Use Cases
How to work through an error
Use Go to error to select the detected location. Check the character immediately before it too: a missing comma or quote can become visible only at the next token. Correct the first error, run the check again, and continue until the status is valid. The validator reports the first failure rather than guessing at repairs that could change your data.
Duplicate names and large numbers
Duplicate object names are reported separately from syntax errors, because software can handle them differently. Both entries are preserved here. Number text is also preserved exactly, including large integers and exponents; a receiving application can still impose its own number limits.
Editor limits and privacy
Parsing and file reading happen in your browser; this tool does not send JSON to ToolSprouts. Each document may contain up to 1,048,576 UTF-8 bytes (1 MiB), 50,000 values, and 100 nesting levels. For more than 2,000 values, open branches individually; children appear in groups of 100. An editor-limit message describes a size limit, not invalid JSON.