Skip to content
ToolStaxx Tools that stack up

ToolStaxx guide

JSON formatting mistakes explained

Most JSON errors come from quotes, commas and invalid values.

Quick answer

Most JSON errors come from quotes, commas and invalid values.

How to do it

  1. JSON strings and keys need double quotes.
  2. Trailing commas are not valid JSON.
  3. Comments are not valid JSON.
  4. Use the formatter to check errors before pasting JSON into apps or config files.

Worked example

Paste {"name":"ToolStaxx","live":true} and format it into readable indented JSON.

Common mistakes

  • Trailing commas.
  • Single quotes instead of double quotes.
  • Comments in JSON files that do not support comments.

When this is not suitable

Do not paste secrets, passwords or private keys into web tools. Check live configurations before applying changes.

Related next tools

Next useful tech and file tools for this task.

Keep the result together

Use the calculator first, then add the result to a Project Sheet if you need a clean printable summary.

Open Project Sheet Builder