Strict RFC 8259 Standard

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.

Exact Line:Column Error Locator
100% In-Browser Isolation
1-Click Auto-Indent & Minify
Disclaimer:Charli provides automated text analysis and recommendations based on supported Unicode data, encoding rules, and compatibility checks. Results may not cover every application-specific behavior or edge case and are not guaranteed to be 100% accurate. Please review suggested changes before applying them, especially when working with important or language-sensitive text.
JSON Payload
Valid JSON
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 →