JSON Formatter/Validator

JSON utility

Format, minify and convert JSON without leaving the browser

Paste raw JSON to pretty-print, minify or convert it to TOON. Everything runs locally in your browser.

Workspace

Use the left panel for source JSON and the right panel for the transformed result.

Input JSON

0 characters0 linesSize 0 B0 tokens

Output

Formatted JSON will appear here automatically
0 characters0 linesSize 0 B0 tokens

Quick notes

  • Objects, arrays, strings, numbers, booleans and `null` are supported.
  • Formatting happens automatically while you type or paste.
  • Formatting uses 2-space indentation for readability.
  • Minify removes whitespace without changing the JSON structure.
  • TOON is a compact, token-efficient format designed for LLM prompts.

This was useful for you? Do you have a suggestion? Please, consider submit a PR on this project on GitHub

TOON output will appear here automatically
0 characters0 linesSize 0 B0 tokens