Format, validate, view, and minify JSON in your browser. Paste JSON or load a local file, choose tabs or 2 to 4 spaces, and optionally sort object keys recursively. Syntax errors are shown in the output editor so malformed input can be located before the data is used.
Relaxed Input uses JSON5 to accept developer-friendly syntax and converts the result to standards-compliant JSON output.
{name: "Alice"} instead of {"name": "Alice"});{'name': 'Bob'});{"a": 1, "b": 2,});While JSON Relaxed Mode improves developer convenience, it is not universally supported by all JSON parsers. Therefore, standard JSON should be used in production environments or for data exchange to ensure compatibility and consistency.