Format, minify and validate JSON with syntax highlighting
{
"orderId": "A1B2C3",
"amount": 299,
"paid": true,
"channel": "miniapp",
"items": [
{
"sku": "X-001",
"qty": 2
}
]
}JSON formatter, minifier and validator with auto-fix for common mistakes.
Pretty-print compact or messy JSON with indentation for easy reading and debugging.
Strip all whitespace and line breaks to produce single-line JSON for transfer or embedding.
Check whether the JSON is valid and report the error line with a reason.
When enabled, automatically adds missing quotes, removes trailing commas, and corrects common typos such as Chinese quotation marks.
Very large JSON (tens of MB or more) may cause the browser to lag; process it in chunks or tidy it locally first.