JSON Formatter & Validator help

Clean up JSON and catch mistakes. Errors point at the line and column. Your indent choice is remembered.

Steps

  1. Paste JSON on the left.
  2. Pick an indent (2, 4, or tab) and optionally sort object keys.
  3. The formatted result appears on the right; Minify collapses it to one line.
  4. Copy or download the output.

Errors

Invalid JSON shows the parser's message with a best-effort line and column so you can jump to the problem. Different browsers word the message differently.

Notes

Everything runs in your browser. Nothing you enter or drop is uploaded.

Back to JSON Formatter & Validator