xTools

Favorite Tools

Your saved tools, one tap away.

No favorite tools yet.

Tap the heart on any tool to save it.

All tools
Development

JSON Formatter

Format, validate, and minify JSON.

Formatted
{
  "hello": "world",
  "list": [
    1,
    2,
    3
  ]
}
Minified
{"hello":"world","list":[1,2,3]}

About JSON Formatter

Format, validate, and minify JSON right in your browser. Great for API debugging and cleaning up data before commits.

How to use

  1. 1Paste JSON into the editor.
  2. 2The formatted (pretty) and minified versions appear below.
  3. 3If your JSON is invalid, an error message will point out the problem.

Related tools

More from Development