Developer tools

JSON formatter/validator

Format, validate and minify JSON, with clear error messages when the JSON is invalid. Runs entirely in your browser.

JSON Formatter

How to use JSON formatter/validator

  1. Paste JSON text into the tool.
  2. Format it to check it is valid and readable.
  3. Copy or download the formatted result, or fix the error the tool points to.

A good use for this

Making a block of JSON from an API or a config file readable, and finding the typo that makes it invalid.

Limits

The tool checks structure, not meaning: valid JSON can still hold wrong data, and the tool will not tell you the data itself is wrong.