Format and validate JSON data
Click "Format" to process your JSON.
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and machines to parse. It supports objects, arrays, strings, numbers, booleans and null.
Escaped JSON is a JSON object serialised into a string, where inner quotes are prefixed with a backslash (e.g. {\"key\":\"value\"}). This often appears in API logs, HTTP headers, or configuration values.
The result panel renders your JSON as a colour-coded interactive tree. Click any {} or [] node to collapse it and hide its children — useful for exploring large payloads.
Quick reference for JSON value types and syntax rules.
"Hello, World!" "line1\nline2" "with \"quotes\""
Must use double quotes. Use \\ to escape.
42 -3.14 0.5 1.5e10
Integer or float. No quotes. Scientific notation OK.
true false
Lowercase only. No quotes. No other values allowed.
null
Represents an absent or empty value. Lowercase only.
[1, "two", true, null] ["a", "b", "c"] []
Ordered list. Mixed types allowed. Zero-indexed.
{
"name": "Alice",
"age": 30
}Key-value pairs. Keys must be double-quoted strings.
{
"name": "Alice",
"age": 30,
"active": true,
"score": 9.5,
"address": null,
"tags": ["admin", "user"],
"profile": {
"avatar": "https://example.com/avatar.png",
"bio": "Developer"
}
}We use cookies
We use Google Analytics to understand how visitors use this site. No personal data is sold or shared with third parties. Privacy Policy