Handy Tool Online.Free online tools

JSON Formatter

Paste JSON to check that it is valid and make it readable, or minify it for sending. Errors are shown so you can fix them.

Your JSON is processed in your browser and never uploaded.

How to use

  1. Paste your JSON.
  2. Choose indentation or Minified, and optionally sort keys.
  3. Copy the result.

FAQ

Why is my JSON invalid?

Common causes are trailing commas, single quotes instead of double quotes, and unquoted keys. The error message points to the problem.

Is my data sent anywhere?

No. It is processed in your browser.

What does Sort keys do?

It orders object keys alphabetically at every level, which makes two JSON files easier to compare.

More tools