JSON Formatter & Validator
Paste JSON to format, validate, and repair it instantly — free, no sign-up, processed entirely in your browser. Convert to CSV, YAML, or TypeScript too.
- 100% free
- No sign-up
- Runs on your device
Upload a .json file
{
"id": "usr_8f21a3",
"name": "Alex Rivera",
"email": "alex.rivera@example.com",
"active": true,
"avatarUrl": "https://images.example.com/avatars/alex-rivera.png",
"profile": {
"plan": "pro",
"referredBy": null,
"address": {
"city": "Austin",
"country": "US"
}
},
"tags": [
"beta-tester",
"design-partner"
],
"orders": [
{
"id": 1001,
"item": "Wireless Mouse",
"quantity": 2,
"price": 24.99
},
{
"id": 1002,
"item": "Mechanical Keyboard",
"quantity": 1,
"price": 89.5
},
{
"id": 1003,
"item": "USB-C Hub",
"quantity": 3,
"price": 19
}
]
}Convert to another format
JSON → CSV needs an array of objects at the root, like [{"a":1},{"a":2}].
Compare two JSON documents
Paste a second JSON document to see every addition, removal, and changed value between the two.
Enter valid JSON in both documents to see the differences.
Validate against a JSON Schema
Paste a JSON Schema to check your document against it, with the exact path and reason for every violation.
Checked against the document above, entirely in your browser.
Escape or unescape a JSON string
Escape any text into a JSON string literal, or decode one back to plain text.
Every JSON document you paste, upload, or convert is processed entirely in your browser — this tool doesn't even have a server to send it to.