IT-tools

JSON formatter

Format and indent JSON with a chosen indentation width. Invalid input is reported clearly, and all processing stays in your browser.

Formatted JSON
—

// About this tool

Make compact or minified JSON readable before debugging or reviewing an API response. Paste JSON, choose the indentation, and copy the result.

// How to use it

  1. Paste the JSON to format.
  2. Choose the indentation width.
  3. Copy the formatted JSON.

// Frequently asked questions

Does it change the data?

No. Only whitespace is changed; key order and values are preserved.

Can it fix invalid JSON?

No. Invalid input is reported with an error instead of being guessed.