P2 · Development
JSON Formatter
Validate JSON and create a readable indented or compact minified version. Your data is processed in your browser.
How to use
- Paste JSON text.
- Choose Validate and format or Minify.
- Copy the result.
How it works
JSON.parse reads the text only as data and JSON.stringify serializes it with two-space indentation or no added spaces.
Notes and limitations
- JSON is never executed.
- Invalid syntax is reported but not repaired.
Frequently asked questions
Is my JSON sent to a server?
No. Processing happens in your browser.