JSON Formatter & Validator
Paste JSON to beautify, minify and validate it — in your browser.
{
"name": "Athar",
"tools": [
"json",
"qr"
],
"free": true
}How it works
- Paste your JSON.
- Choose indentation or minify.
- Copy the result.
FAQ
What does a JSON formatter do?
It parses JSON and re-prints it with consistent indentation so it is easy to read, or minifies it to save space.
How do I validate JSON?
Paste it in. If it is invalid, the tool shows the parser error so you can find the problem, such as a trailing comma or unquoted key.
Is my JSON sent to a server?
No. Formatting runs entirely in your browser.
Why is my JSON invalid?
Common causes: single quotes instead of double quotes, trailing commas, comments, or unquoted property names.