JSON formatter and validator
Runs in your browser – nothing is uploaded.
Paste JSON to format it and check that it is valid. Valid JSON comes back pretty-printed with two-space indentation, ready to read or copy. Invalid JSON shows the error message from your browser’s JSON parser.
To turn JSON into another format, use the JSON ↔ YAML, JSON ↔ CSV or JSON to TypeScript converters.
Example
Input
{"name":"Ada","skills":["maths","code"]}Output
Valid JSON
{
"name": "Ada",
"skills": [
"maths",
"code"
]
}Frequently asked questions
Does it accept comments or trailing commas?
No. It follows the strict JSON standard, so comments, trailing commas and single-quoted strings are reported as errors.
Can it minify JSON?
Not yet. It formats with two-space indentation.
Is my JSON uploaded?
No. Formatting and validation happen in your browser.