← All tools

JSON formatter

Paste JSON from an API, SEO export, or MCP payload. Spot syntax errors and copy a readable or minified result.

No uploads. Input is processed only in your browser.Maximum input: 1,000,000 characters
JSON formatter

How it works

Use the example first, then replace it with your own input. Check the result before you copy or download it.

  1. 01

    Paste a complete JSON value into the input pane.

  2. 02

    Choose Format JSON for a two-space layout or Minify for a compact representation.

  3. 03

    Read any syntax error, check the output, and copy the result.

What the tool changes

  • JSON objects, arrays, strings, numbers, booleans, and null
  • Readable two-space formatting
  • Whitespace removal through parsing and serialization
  • API payloads, SEO export fragments, and JSON-RPC envelopes

What to check yourself

  • It checks JSON syntax, not a product-specific schema or business rule.
  • Formatting cannot restore comments because JSON does not include comments.
  • The page accepts up to 1,000,000 characters and does not upload the input.

Technical reference

These are the specifications used for the tool's rules and terminology.