- Home
- Free Online Tools
- JSON Formatter
JSON Formatter
Indent, minify, or validate JSON without rewriting large numbers, duplicate keys, or string escapes.
Inputs are processed in your browser without uploads, an account, or credits.
How to use it
- Paste a JSON document.
- Choose Format for two-space indentation, Minify to remove structural whitespace, or Validate to check syntax only. Run the selected operation.
Example
- Input
{"id":9007199254740993,"id":1}- Result
{ "id": 9007199254740993, "id": 1 }
Limits
Only strict JSON is accepted: comments and trailing commas are invalid. Maximum nesting depth: 100; input and output limits: 256 KiB and 2 MiB in UTF-8, respectively.