oddkit
~/oddkit/tools/
// comma detective

JSON Formatter & Validator

Format, minify, and validate JSON locally in your browser. Prettify indentation, compact JSON to one line, or catch syntax errors with line and column details.

0 charsWaiting for input

Format · 0 chars · no server upload

Browser-based JSON formatter

Clean up messy API responses, config files, and logs by formatting JSON with consistent indentation, or compact it into a single line for storage and transport. Parsing runs locally using your browser's native JSON engine.

JSON you paste is processed locally in your browser. It is never uploaded to oddkit's servers.

Common use cases

  • Pretty-print API responses for debugging
  • Minify JSON config before shipping it
  • Find the exact line causing a JSON syntax error

FAQ

Is my JSON uploaded anywhere?

No. Parsing, formatting, and minifying all happen locally in your browser using JSON.parse and JSON.stringify.

What happens if my JSON is invalid?

oddkit shows a validation error with the approximate line and column where parsing failed, without crashing.

Can I copy the result?

Yes. Use the Copy output button to copy the formatted or minified JSON to your clipboard.