JSON5 Validator

Validate and convert JSON5 with comments, single quotes, unquoted keys, trailing commas, hex and Infinity/NaN.

Everything is processed locally in your browser and never uploaded.
Input
Output

In standard JSON, NaN and Infinity are converted to null.