Format and check JSON

Paste JSON to make it readable, find the exact line of a syntax error, sort keys or minify it. API keys and customer data never leave your device.

Your text

JSON formatter

Text never leaves your device · Free, no sign-up · No length limit

How to format JSON

  1. Paste or open your JSON.
  2. Pick the indentation, or Minify.
  3. Copy or download the formatted JSON.

Find errors fast

If the JSON is not valid, the tool says what is wrong and shows the line and column, so a missing comma or an extra bracket is quick to find.

Safe for real data

API responses and config files often contain tokens and personal data. Because formatting happens in your browser, they are never sent to a third-party server.

Questions about JSON formatter

Is my JSON uploaded?

No. It is parsed and formatted in your browser tab, and nothing is sent to a server.

Can it minify JSON?

Yes. Choose Minify to remove all spaces and line breaks.

How large can the JSON be?

Files of tens of megabytes work; the limit is your device's memory.