JSON Formatter

Format, check and minify JSON. Paste it in and get it back neatly indented, or find out exactly where it is broken.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the JSON Formatter

  1. Paste your JSON.
  2. Pick an indent, or Minify to strip the spaces.
  3. Copy the result, or read where it is broken.

Frequently asked questions

What makes JSON invalid?

The usual causes are a comma after the last item, single quotes instead of double quotes, keys without quotes, and comments, which JSON does not allow.

Is my JSON sent anywhere?

No. It is formatted in your browser and never leaves your device.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.