Format, validate, and minify JSON — privately
Paste any JSON and click Format to pretty-print it with your chosen indentation, or Minify to strip whitespace for the smallest payload. If the JSON is invalid, the validator tells you the exact line and column of the problem so you can fix it fast. Everything runs locally in your browser — your data is never sent to a server.
FAQ
- Is my data private?
- Yes — all processing happens in your browser; nothing is uploaded.
- What is minifying?
- Removing all unnecessary whitespace so the JSON is as small as possible — useful for APIs and storage.
- Why did it say invalid?
- JSON requires double-quoted keys, no trailing commas, and no comments. The error message points to where parsing failed.