LINT_DUPLICATE_KEY
Two properties in the same object use the same key. Most parsers keep the later value, which can hide bugs in copied API payloads and config files.
Validate JSON syntax instantly โ get line numbers, column positions, and plain-English error messages.
Two properties in the same object use the same key. Most parsers keep the later value, which can hide bugs in copied API payloads and config files.
Trailing commas are common in JavaScript and JSON5, but strict JSON rejects them. Remove the comma before the closing brace or bracket.
JSON does not support // comments. If you need comments, switch to a JSONC or JSON5-compatible parser instead of strict JSON.
Block comments are not valid JSON. Remove them or convert the file to a format that explicitly supports comments.
Strict JSON requires double-quoted strings and keys. Single-quoted strings usually mean the input is JSON5 or a JavaScript object literal.
Object keys must be quoted in JSON. Unquoted keys are allowed in JavaScript object literals and JSON5, but not in RFC 8259 JSON.
A byte-order mark at the start of the file can confuse downstream tools. Removing it is a safe normalization step.
Unescaped control characters inside strings can break parsing and transport. Escape them explicitly or remove them.
Empty input does not contain JSON to check. Paste a payload, config, or response body before running lint.
This advisory groups comment, quote, and trailing-comma patterns that suggest the input is JSON5-like rather than strict JSON.
It means the parser found a character that doesn't belong at that position in JSON. Common causes: trailing commas, single quotes instead of double quotes, unquoted keys, or comments. The error shows the exact line and column, and the offending line is highlighted in the input editor.
Validate checks if your JSON is syntactically correct according to the JSON specification and reports the first error. Lint goes deeper โ it finds issues like duplicate keys, trailing commas, comments, and other patterns even in otherwise parseable input.
Strict JSON (RFC 8259) requires double-quoted keys and strings, no comments, and no trailing commas. JSON5 is a superset that allows single quotes, comments, trailing commas, and more. This validator checks against strict JSON.
No โ this tool validates JSON syntax, not structure. JSON Schema validation (checking that values match a schema definition) will be available as a separate tool.
The Validator reports the first parse error with full context (line, column, excerpt, hint). For multiple findings like duplicate keys or style issues, switch to the Lint tab.
No. Validation runs entirely in your browser. Your JSON never leaves your device. You can verify this by opening your browser's network tab.