JSON formatter
Format, validate, and minify JSON data
- Paste your JSON data into the input field
- Click "Format" to add indentation and make it readable
- Click "Minify" to remove all whitespace and reduce file size
- Click "Validate" to check if your JSON is valid without changing it
- If there are errors, they will be displayed below the input field
- Copy the output or download it as a .json file
Input (minified):
{"name":"Alice","age":28,"city":"Portland"}Output (formatted):
{
"name": "Alice",
"age": 28,
"city": "Portland"
}