JSON Validator & Formatter
Validate JSON against strict RFC 8259 standards. Pinpoint syntax errors by exact line and column, identify common serialization pitfalls, and format cleanly in your browser.
JSON Payload
Validation Status & Diagnostics
Standard JSON Strictness Rules
RFC 8259 specifies that valid JSON is significantly stricter than JavaScript object literals:1. Double Quotes Only: All string literals and property keys must use double quotes ("key"). Single quotes ('key') are invalid.
2. No Trailing Commas: Commas after the last element in an array [1, 2,] or object {"a": 1,} are illegal.
3. Valid Literals Only: Valid values are strings, numbers, booleans (true, false), null, arrays, and objects. Primitives like undefined, NaN, or functions cannot exist in JSON.
Strict RFC 8259 Requirements
Trailing commas, single-quoted strings, unquoted object keys, JavaScript comments, and raw ASCII control characters (such as unescaped tabs and newlines inside string values) violate RFC 8259. Charli tests string literals in your local JavaScript environment without network transmission. Compatibility FAQ →
