ScamPause
A RUZIBA product in development to help people pause before responding to suspicious messages.
Clean up text and format JSON. Everything runs in your browser.
No text leaves your browser.
JSON tasks validate syntax. Text cleanup removes extra spaces around lines and excess blank lines. JavaScript and CSS syntax are not formatted here.
A RUZIBA product in development to help people pause before responding to suspicious messages.
It checks whether the text follows JSON syntax and reports an error when parsing fails.
Yes. Enter valid JSON and use the formatting action to make its structure easier to read.
Use “Choose a task” to pick Format JSON or Minify JSON, which check the syntax and rewrite the whitespace, or one of the plain-text options (clean spacing, UPPERCASE, lowercase, Title Case, escape or unescape HTML). Paste the text into Input and press the button; the result and a status line appear below. For Format JSON, JSON indentation sets 2 spaces, 4 spaces or tabs. The checker is strict: keys and strings need double quotes, and trailing commas, comments and single quotes are errors. An error names a character position counted from 0, and no result is produced.
Formatting an object whose members are name (“RUZIBA”), tags (the array “a”, “b”), n (1.50) and big (12345678901234567890) with 2 spaces puts each member and array item on its own line. The values 1.50 and 12345678901234567890 come out exactly as typed, because numbers are copied as text rather than converted. Minify turns { "a": [1, 2], "b": {} } into {"a":[1,2],"b":{}}. The text {"a":1,} gives “Invalid JSON: Expected a string key at position 7”. Duplicate keys are kept and the first duplicate is named in the status line.
Only the syntax is validated, not the meaning of the data against a schema, and keys are not sorted. Clean text spacing trims each line, collapses runs of spaces or tabs to one space and reduces long runs of blank lines to a single blank line. Title Case lowercases everything first, so “NASA report” becomes “Nasa Report”. Everything runs in your browser, and the page notes that no text leaves it.