Tools
Runs locally

JSON Formatter

Pretty-print JSON with a chosen indent.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Parses JSON and reprints it. Invalid input shows a parse error and does not pretend to succeed.

About this tool

Turn a one-line API response into readable, indented JSON. Paste the document, choose the indentation and copy the formatted result; errors point to what went wrong instead of being silently fixed.

How to use it

  1. 01

    Paste the JSON.

  2. 02

    Choose 2 or 4 spaces of indentation.

  3. 03

    Copy the formatted JSON.

FAQ

Frequently asked questions

Is my JSON sent to a server?

No. Parsing and formatting happen in your browser, so API keys and personal data stay on your device.

What happens with invalid JSON?

The parser reports the error and nothing is reformatted, so you know the document needs fixing.