Sign in Start free

JSON Formatter & Validator

Pretty-print, minify and validate JSON.

About this tool

Format JSON with 2 or 4 spaces or tabs, minify it, sort keys and see the exact line and column of a syntax error.

How to use

  1. Type or paste your text into the input box – or drop a text file on it.
  2. Adjust the options. The result updates instantly.
  3. Copy or download the result, or send it to another tool with "Use in…".

Your text never leaves this device: the tool runs entirely in your browser and nothing is uploaded or stored.