AuraticHub

JSON Formatter

Paste JSON to format it, check that it is valid, or shrink it to a single line. Nothing leaves your browser.

Runs in your browser. Your input is never uploaded.

How to use it

  1. Paste your JSON into the first box.
  2. Choose Format to make it readable or Minify to compress it.
  3. If the JSON is invalid, the error message says what the parser found wrong.
  4. Copy the result.
Want to learn more? Read How to fix common JSON errors.

FAQ

Is my JSON uploaded anywhere?
No. Formatting happens in your browser using JavaScript.
Why does it say my JSON is invalid?
Common causes are trailing commas, single quotes and unquoted keys. See our guide to fixing JSON errors.
Can it format JSON with comments?
No. Standard JSON does not allow comments, so remove them first.