All tools โ€บ ๐Ÿง‘โ€๐Ÿ’ป Developer

JSON formatter & validator

Pretty-print, minify and validate JSON, with the error location.

How it works

Paste JSON and choose Format to indent it, or Minify to remove all whitespace. Invalid JSON shows the error with its line and column.

Sort keys orders object keys alphabetically, which makes two JSON documents easier to compare.

Everything runs in your browser, so it's safe for private data.