Developer tools
JSON Formatter & Validator
Beautify, minify, and validate JSON.
How it works
- 1Paste JSON.
- 2Pick Beautify or Minify and indent size.
- 3Get formatted output or a clear error.
Use cases
- Inspect API responses
- Compress JSON for embedding
- Validate before commit
Frequently asked questions
Is my JSON sent to a server?
No. Parsing and formatting happen entirely in your browser.
Does it support JSON5 or comments?
No — only standard JSON. Comments and trailing commas are rejected.
Read the guide
How to beautify and validate JSON
A JSON formatter is the cheapest debugging tool you own. Here is what it should — and should not — try to do for you.