← All tools

JSON formatter and validator

Paste your JSON, get it nicely formatted or minified and see any errors. Your data never leaves this computer.

Action

How to use it

  1. Paste your JSON into the box on the left.
  2. Choose Format (indent) or Minify (single line), and set the indent and key sorting.
  3. Take the result with the Copy button. If the JSON is invalid you will see an error message.

Frequently asked questions

What happens if the JSON is invalid?

An error message is shown, with the line and column of the problem when available. The result box stays empty.

Can large numbers break?

JavaScript cannot store integers longer than 16 digits exactly. If we see such a number we add a warning next to the result.

Is my data sent anywhere?

No. Everything happens in your browser and your JSON is never uploaded.

Related tools