Skip to content

JSON formatter

Format, validate and minify JSON.

Done in your browser. Your text is not saved or sent anywhere.

How to format JSON

  1. Paste your JSON.
  2. Choose Format for readable, indented JSON, or Minify to make it as small as possible.
  3. If something is wrong, Pockit shows the line and column and a hint, such as a missing quote or an extra comma.

Common mistakes

  • Keys and text must use double quotes: "name", not 'name'.
  • No comma after the last item in an object or list.
  • No comments: JSON does not allow them.

Is my text saved or uploaded?

No. Everything happens in your browser. Nothing you type is sent to Pockit or anyone else.