Toolibra

JSON Formatter & Validator

Paste JSON to make it readable, check that it is valid, or shrink it to one line. If something is wrong, you see the exact line and column of the error.

🔒 Your files are processed on your device and are never uploaded.

How to use

  1. 1Paste your JSON or open a .json file.
  2. 2Choose 2 spaces, 4 spaces, tabs or Minify.
  3. 3Copy or download the result.

Frequently asked questions

What does “invalid JSON” usually mean?

Common causes are a missing comma, a trailing comma after the last item, single quotes instead of double quotes, or keys without quotes. The error box shows the line and column.

What does “Sort keys” do?

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

Is my data sent anywhere?

No. Everything runs in your browser, so your data stays on your device.

More free tools