JSON Formatter
Use this tool to make JSON easier to read, verify that it follows strict JSON syntax, or remove unnecessary whitespace before using it in an API request.
Strict JSON only. Maximum input size: 1 MiB.
JSON output
Your result will appear here.A focused browser utility
Use this tool to make JSON easier to read, verify that it follows strict JSON syntax, or remove unnecessary whitespace before using it in an API request.
Local by default
This tool runs entirely in your browser. There is no account, server-side processing, or input history.
Three quick steps
- Paste a JSON document into the input editor or load the included example.
- Choose the indentation you want, then select Format or Minify; either action validates the input.
- Review the result or error details, then copy the output when it is ready.
Input and output
Input
{"service":"orders","healthy":true,"ports":[8080,8081]}Output
{
"service": "orders",
"healthy": true,
"ports": [
8080,
8081
]
}Frequently asked questions
Does this formatter accept JSON5 or JavaScript objects?
No. It validates strict JSON, so comments, trailing commas, unquoted keys, and JavaScript-only values are reported as errors.
Is my JSON uploaded anywhere?
No. Formatting, validation, and minification happen inside this browser tab, and the site does not transmit or save your input.
Can I use Unicode characters?
Yes. Valid JSON strings can contain Unicode text, and formatting preserves those characters.