JSON Formatter
Indent JSON so objects and arrays are easy to read.
Runs on your device. Nothing you add is uploaded.
Formatted JSON
{
"station": "Riverside",
"readings": [
{
"celsius": 16,
"hour": "07:00"
},
{
"celsius": 20,
"hour": "12:00"
}
],
"active": true
}How to use JSON Formatter
- Paste a JSON value.
- Review the tool output or fix the first error shown.
- Copy the result or continue exploring the JSON.
Questions
How does this tool handle the input?
Formatting changes whitespace and keeps the original keys, string escapes, and number spelling.
Where is my input processed?
On your device. The tool does not upload the input or its result.
How this works
Parses strict JSON with a local syntax tree that retains the position and original spelling of each token.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in DeveloperJSON Validator
Check JSON syntax and locate the first problem by line and column.
JSON Viewer (Tree)
Explore JSON objects and arrays in a collapsible tree.
JSON Sorter
Sort JSON object keys recursively and keep arrays in their original order.
HTML Formatter
Indent HTML markup and lay out attributes and elements consistently.