{ } JSON Formatter
Format, minify and validate JSON — with clear errors when it is invalid.
Paste JSON to format it into readable, indented text, minify it into a single line, or validate it. When the JSON is invalid, you get a clear error message showing what went wrong — and the line and column where the problem is, when the browser reports a position.
How it works
Paste your JSON into the box and press Format, Minify, or Validate. Valid JSON shows a green confirmation; invalid JSON shows the error message so you can find and fix the problem.
🔐 Your text never leaves your browser.