JSON formatter
T2Paste JSON to pretty-print it, minify it or check that it is valid. Rubo's Tools doesn’t upload it; it’s processed in your browser.
Output
Formatted JSON appears here.
Keyboard
| Ctrl + Enter | Format (⌘ + Enter on a Mac) |
| Tab | Moves to the next button; the input does not capture it |
Common errors
- Trailing comma:
[1, 2,]is not allowed. Remove the last comma. - Single quotes: strings and property names need double quotes,
"like this". - Comments: JSON has no comments. Remove
//and/* */. - Python values: use
true,falseandnull, notTrue,FalseorNone.
Exactly as you wrote it
Numbers are kept digit for digit, so very large IDs do not get rounded, and duplicate keys are kept in order. Rubo's Tools doesn’t upload your JSON; it’s processed in your browser.
Next stop: Base64 T3