The JSON Formatter beautifies minified JSON into a human-readable format with configurable indentation (2 or 4 spaces), and minifies formatted JSON for production use. The validator instantly flags syntax errors with the line and column position, making it easier to debug malformed JSON from APIs or configuration files.
Validate, format, and minify JSON in one tool. For converting data between formats, try the CSV to JSON converter or the YAML to JSON converter.
Beautify
Input
{"name":"Alice","scores":[95,87,92]}Output
{
"name": "Alice",
"scores": [
95,
87,
92
]
}Convert CSV data into a JSON array of objects.
Convert YAML configuration to JSON format.
Flatten a JSON array of objects into a CSV spreadsheet.
Convert XML documents to a JSON representation.
Escape special characters for JSON strings, or unescape JSON string values.
Convert Markdown to HTML instantly.