JSON Formatter & Validator

Pretty-print, minify and validate JSON. Shows the exact line and column of any error.

Runs in your browserFree · no sign-up

About JSON Formatter & Validator

Paste JSON to make it readable with 2 or 4 spaces or tabs, minify it, sort the keys, or check whether it is valid. If there is a mistake, the tool points to the line and column. Everything happens in your browser.

This tool runs in your browser, so your files never leave your device.

How to use JSON Formatter & Validator

  1. Paste your JSON.
  2. Format it with 2 or 4 spaces or tabs, minify it, or sort the keys.
  3. Copy the result.

Questions

How do I find an error in my JSON?

Paste it here: if it is invalid, the tool shows the exact line and column of the mistake.

Is my JSON sent to a server?

No. Everything happens in your browser.

Related tools