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

  1. Paste JSON text.
  2. Choose Validate and format or Minify.
  3. 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.

Related tools