Rubo's Tools

JSON formatter

T2

Paste 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 + EnterFormat (⌘ + Enter on a Mac)
TabMoves 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, false and null, not True, False or None.

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