Json5 Validator

Process JSON locally in your browser.

About Json5 Validator

This validator strips // and /* */ comments and trailing commas, then parses the result as JSON and pretty-prints it. That covers the JSON5 features most often found in config files, but unquoted keys, single-quoted strings and hex numbers will still be reported as errors.