JSON formatter
Paste JSON, choose an indentation, and format or minify it. Copy the result or download a JSON file. Cmd/Ctrl + Enter runs the formatter.
Get started
- Paste a JSON document.
- Choose two or four spaces, then format; use Minify for a compact result.
- Copy the result or download the JSON file.
Example
Input
{"name":"ToolPony","ready":true}Expected result
{
"name": "ToolPony",
"ready": true
}Good to know
Keys and strings need double quotes. Comments and trailing commas are not JSON. Numbers outside safe precision are rejected to avoid silently changing their values.
Limits
Up to 1 MB. Invalid JSON and unsafe numeric precision are rejected. Formatting does not validate against an application schema.