All tools

JSON Formatter

Beautify, minify and validate JSON with a collapsible tree and error locating.

Input

Waiting for JSON

Checked as you type. Ctrl + Enter formats.

Tree

The tree appears here once the input is valid JSON. Click a node with children to fold it.

About JSON Formatter

Takes a wall of unreadable JSON and lays it out neatly as a tree you can fold and unfold. If it is broken, it tells you where. It can also squash it back down to the smallest version.

When people use it

  • Reading a response from an API you are working with
  • Finding the missing bracket in a file that will not load
  • Anyone handed a config file that is one enormous line
  • Checking a file is valid before sending it on