JSON Formatter & Validator
Beautify, minify, or validate JSON. View as a collapsible tree. Copy or download your output.
How to use
- Paste your JSON into the input box above.
- Click Beautify to format with 2-space indentation for easy reading.
- Click Minify to compress JSON by removing all whitespace.
- Click Validate to check if your JSON is valid — errors show the line number.
- Switch to Tree View to explore the JSON structure with collapsible nodes.
- Use Copy Output or Download .json to save your result.