Pretty-print, minify, and validate JSON. Runs entirely in your browser.
Formatted JSON will appear here…
The JSON Formatter turns compact, hard-to-read JSON into an indented structure you can inspect, copy and validate. It is useful when you receive an API response, webhook payload, configuration file or browser storage export and need to understand it quickly.
The formatter also minifies valid JSON when you need a smaller payload for an example, test fixture or request body. Syntax errors are reported immediately, so you can find missing commas, unquoted keys, extra braces and other common mistakes before pasting JSON into code or sending it to an API.
{"name":"UtilityTools","features":["format","minify","validate"],"private":true}
{
"name": "UtilityTools",
"features": [
"format",
"minify",
"validate"
],
"private": true
}
The output is the same data with predictable indentation and valid JSON syntax.
Formatting and validation happen with JavaScript in your browser. The JSON you paste is not uploaded to UtilityTools.eu, and there is no account or database storing your content.
Only strict JSON is accepted. Put quotes around object keys and remove comments or trailing commas first.
No. Valid JSON is parsed and serialized again, so object order is normally preserved but whitespace changes.
Common causes are HTML error pages pasted by accident, a missing comma, an extra closing brace, or single quotes instead of double quotes.